Class BasicRibbonApplicationMenuPopupPanelUI
- 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.ribbon.appmenu.BasicRibbonApplicationMenuPopupPanelUI
-
public class BasicRibbonApplicationMenuPopupPanelUI extends BasicPopupPanelUI
Basic UI for ribbon application menu buttonJRibbonApplicationMenuButton.
-
-
Nested Class Summary
-
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 JRibbonApplicationMenuPopupPanelapplicationMenuPopupPanelThe associated application menu button.protected JPanelfooterPanelprotected JPanelmainPanelprotected static CommandButtonDisplayStateMENU_TILE_LEVEL_1protected JPanelpanelLevel1protected JPanelpanelLevel2-
Fields inherited from class org.pushingpixels.flamingo.internal.ui.common.popup.BasicPopupPanelUI
popupPanel
-
-
Constructor Summary
Constructors Constructor Description BasicRibbonApplicationMenuPopupPanelUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected JPanelcreateMainPanel()static ComponentUIcreateUI(JComponent c)JPanelgetPanelLevel1()JPanelgetPanelLevel2()protected voidinstallComponents()Installs components on the associated command popup menu.protected voidinstallDefaults()Installs default settings for the associated command popup menu.protected voidinstallListeners()Installs listeners on the associated command popup menu.voidinstallUI(JComponent c)voidpaint(Graphics g, JComponent c)protected voiduninstallComponents()Uninstalls subcomponents from the associated command popup menu.protected voiduninstallDefaults()Uninstalls default settings from the associated command popup menu.protected voiduninstallListeners()Uninstalls listeners from the associated command popup menu.voiduninstallUI(JComponent c)-
Methods inherited from class org.pushingpixels.flamingo.internal.ui.common.popup.BasicPopupPanelUI
initiliazeGlobalListeners
-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update
-
-
-
-
Field Detail
-
panelLevel1
protected JPanel panelLevel1
-
panelLevel2
protected JPanel panelLevel2
-
footerPanel
protected JPanel footerPanel
-
MENU_TILE_LEVEL_1
protected static final CommandButtonDisplayState MENU_TILE_LEVEL_1
-
applicationMenuPopupPanel
protected JRibbonApplicationMenuPopupPanel applicationMenuPopupPanel
The associated application menu button.
-
mainPanel
protected JPanel mainPanel
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent c)
-
installUI
public void installUI(JComponent c)
- Overrides:
installUIin classBasicPopupPanelUI
-
uninstallUI
public void uninstallUI(JComponent c)
- Overrides:
uninstallUIin classBasicPopupPanelUI
-
installDefaults
protected void installDefaults()
Description copied from class:BasicPopupPanelUIInstalls default settings for the associated command popup menu.- Overrides:
installDefaultsin classBasicPopupPanelUI
-
installComponents
protected void installComponents()
Description copied from class:BasicPopupPanelUIInstalls components on the associated command popup menu.- Overrides:
installComponentsin classBasicPopupPanelUI
-
createMainPanel
protected JPanel createMainPanel()
-
installListeners
protected void installListeners()
Description copied from class:BasicPopupPanelUIInstalls listeners on the associated command popup menu.- Overrides:
installListenersin classBasicPopupPanelUI
-
uninstallDefaults
protected void uninstallDefaults()
Description copied from class:BasicPopupPanelUIUninstalls default settings from the associated command popup menu.- Overrides:
uninstallDefaultsin classBasicPopupPanelUI
-
uninstallComponents
protected void uninstallComponents()
Description copied from class:BasicPopupPanelUIUninstalls subcomponents from the associated command popup menu.- Overrides:
uninstallComponentsin classBasicPopupPanelUI
-
uninstallListeners
protected void uninstallListeners()
Description copied from class:BasicPopupPanelUIUninstalls listeners from the associated command popup menu.- Overrides:
uninstallListenersin classBasicPopupPanelUI
-
paint
public void paint(Graphics g, JComponent c)
- Overrides:
paintin classComponentUI
-
getPanelLevel1
public JPanel getPanelLevel1()
-
getPanelLevel2
public JPanel getPanelLevel2()
-
-