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 JRibbonApplicationMenuPopupPanel
applicationMenuPopupPanel
The associated application menu button.protected JPanel
footerPanel
protected JPanel
mainPanel
protected static CommandButtonDisplayState
MENU_TILE_LEVEL_1
protected JPanel
panelLevel1
protected JPanel
panelLevel2
-
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 JPanel
createMainPanel()
static ComponentUI
createUI(JComponent c)
JPanel
getPanelLevel1()
JPanel
getPanelLevel2()
protected void
installComponents()
Installs components on the associated command popup menu.protected void
installDefaults()
Installs default settings for the associated command popup menu.protected void
installListeners()
Installs listeners on the associated command popup menu.void
installUI(JComponent c)
void
paint(Graphics g, JComponent c)
protected void
uninstallComponents()
Uninstalls subcomponents from the associated command popup menu.protected void
uninstallDefaults()
Uninstalls default settings from the associated command popup menu.protected void
uninstallListeners()
Uninstalls listeners from the associated command popup menu.void
uninstallUI(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:
installUI
in classBasicPopupPanelUI
-
uninstallUI
public void uninstallUI(JComponent c)
- Overrides:
uninstallUI
in classBasicPopupPanelUI
-
installDefaults
protected void installDefaults()
Description copied from class:BasicPopupPanelUI
Installs default settings for the associated command popup menu.- Overrides:
installDefaults
in classBasicPopupPanelUI
-
installComponents
protected void installComponents()
Description copied from class:BasicPopupPanelUI
Installs components on the associated command popup menu.- Overrides:
installComponents
in classBasicPopupPanelUI
-
createMainPanel
protected JPanel createMainPanel()
-
installListeners
protected void installListeners()
Description copied from class:BasicPopupPanelUI
Installs listeners on the associated command popup menu.- Overrides:
installListeners
in classBasicPopupPanelUI
-
uninstallDefaults
protected void uninstallDefaults()
Description copied from class:BasicPopupPanelUI
Uninstalls default settings from the associated command popup menu.- Overrides:
uninstallDefaults
in classBasicPopupPanelUI
-
uninstallComponents
protected void uninstallComponents()
Description copied from class:BasicPopupPanelUI
Uninstalls subcomponents from the associated command popup menu.- Overrides:
uninstallComponents
in classBasicPopupPanelUI
-
uninstallListeners
protected void uninstallListeners()
Description copied from class:BasicPopupPanelUI
Uninstalls listeners from the associated command popup menu.- Overrides:
uninstallListeners
in classBasicPopupPanelUI
-
paint
public void paint(Graphics g, JComponent c)
- Overrides:
paint
in classComponentUI
-
getPanelLevel1
public JPanel getPanelLevel1()
-
getPanelLevel2
public JPanel getPanelLevel2()
-
-