Class BasicCommandPopupMenuUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.PanelUI
-
- org.pushingpixels.flamingo.internal.ui.common.popup.PopupPanelUI
-
- org.pushingpixels.flamingo.internal.ui.common.popup.BasicPopupPanelUI
-
- org.pushingpixels.flamingo.internal.ui.common.popup.BasicCommandPopupMenuUI
-
public class BasicCommandPopupMenuUI extends BasicPopupPanelUI
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classBasicCommandPopupMenuUI.MenuPanelprotected classBasicCommandPopupMenuUI.PopupMenuLayoutManagerprotected static classBasicCommandPopupMenuUI.ScrollableCommandButtonPanelPopup panel that hosts groups of icons.-
Nested classes/interfaces inherited from class org.pushingpixels.flamingo.internal.ui.common.popup.BasicPopupPanelUI
BasicPopupPanelUI.PopupPanelEscapeDismisser, BasicPopupPanelUI.WindowTracker
-
-
Field Summary
Fields Modifier and Type Field Description protected BasicCommandPopupMenuUI.ScrollableCommandButtonPanelcommandButtonPanelstatic StringFORCE_ICONprotected JScrollablePanel<JPanel>menuItemsPanelprotected static CommandButtonDisplayStatePOPUP_MENUprotected PopupPanelManager.PopupListenerpopupListenerprotected JCommandPopupMenupopupMenuThe associated popup menuprotected ChangeListenerpopupMenuChangeListener-
Fields inherited from class org.pushingpixels.flamingo.internal.ui.common.popup.BasicPopupPanelUI
popupPanel
-
-
Constructor Summary
Constructors Constructor Description BasicCommandPopupMenuUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LayoutManagercreateLayoutManager()protected JPanelcreateMenuPanel()protected BasicCommandPopupMenuUI.ScrollableCommandButtonPanelcreateScrollableButtonPanel()static ComponentUIcreateUI(JComponent c)protected voidinstallComponents()Installs components on the associated command popup menu.protected voidinstallListeners()Installs listeners on the associated command popup menu.voidinstallUI(JComponent c)protected voidsyncComponents()protected voiduninstallComponents()Uninstalls subcomponents from the associated command popup menu.protected voiduninstallListeners()Uninstalls listeners from the associated command popup menu.-
Methods inherited from class org.pushingpixels.flamingo.internal.ui.common.popup.BasicPopupPanelUI
initiliazeGlobalListeners, installDefaults, uninstallDefaults, uninstallUI
-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
-
-
-
-
Field Detail
-
popupMenu
protected JCommandPopupMenu popupMenu
The associated popup menu
-
popupMenuChangeListener
protected ChangeListener popupMenuChangeListener
-
popupListener
protected PopupPanelManager.PopupListener popupListener
-
commandButtonPanel
protected BasicCommandPopupMenuUI.ScrollableCommandButtonPanel commandButtonPanel
-
menuItemsPanel
protected JScrollablePanel<JPanel> menuItemsPanel
-
FORCE_ICON
public static final String FORCE_ICON
- See Also:
- Constant Field Values
-
POPUP_MENU
protected static final CommandButtonDisplayState POPUP_MENU
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent c)
-
installUI
public void installUI(JComponent c)
- Overrides:
installUIin classBasicPopupPanelUI
-
installComponents
protected void installComponents()
Description copied from class:BasicPopupPanelUIInstalls components on the associated command popup menu.- Overrides:
installComponentsin classBasicPopupPanelUI
-
syncComponents
protected void syncComponents()
-
createScrollableButtonPanel
protected BasicCommandPopupMenuUI.ScrollableCommandButtonPanel createScrollableButtonPanel()
-
uninstallComponents
protected void uninstallComponents()
Description copied from class:BasicPopupPanelUIUninstalls subcomponents from the associated command popup menu.- Overrides:
uninstallComponentsin classBasicPopupPanelUI
-
installListeners
protected void installListeners()
Description copied from class:BasicPopupPanelUIInstalls listeners on the associated command popup menu.- Overrides:
installListenersin classBasicPopupPanelUI
-
uninstallListeners
protected void uninstallListeners()
Description copied from class:BasicPopupPanelUIUninstalls listeners from the associated command popup menu.- Overrides:
uninstallListenersin classBasicPopupPanelUI
-
createMenuPanel
protected JPanel createMenuPanel()
-
createLayoutManager
protected LayoutManager createLayoutManager()
-
-