| java.lang.Object org.netbeans.swing.tabcontrol.ButtonPopupSwitcher
ButtonPopupSwitcher | final class ButtonPopupSwitcher implements MouseInputListener,AWTEventListener(Code) | | Represents Popup for "Document switching" which is shown after an user clicks
the down-arrow button in tabcontrol displayer.
author: mkrauskopf |
eventDispatched | public void eventDispatched(AWTEvent event)(Code) | | Popup should be closed under some circumstances. Namely when mouse is
pressed or released outside of popup or when key is pressed during the
time popup is visible.
|
isShown | public static boolean isShown()(Code) | | Returns true if popup is displayed.
True if a popup was closed. |
selectItem | public static void selectItem(JComponent owner, SwitcherTableItem[] items, int x, int y)(Code) | | Creates and shows the popup with given items . When user
choose an item SwitcherTableItem.Activatable.activate() is
called. So what exactly happens depends on the concrete
SwitcherTableItem.Activatable implementation. A popup appears
on x , y coordinates.
|
|
|