org.pushingpixels.flamingo.internal.ui.ribbon.appmenu
public class BasicRibbonApplicationMenuButtonUI extends BasicCommandButtonUI
JRibbonApplicationMenuButton
.Modifier and Type | Field and Description |
---|---|
protected JRibbonApplicationMenuButton |
applicationMenuButton
The associated application menu button.
|
basicPopupButtonListener, buttonRendererPane, commandButton, disposePopupsActionListener, DONT_DISPOSE_POPUPS, EMULATE_SQUARE_BUTTON, isUnderMouse, layoutInfo, layoutManager, popupActionIcon, popupActionListener, propertyChangeListener, rendererButton, rendererSeparator
Constructor and Description |
---|
BasicRibbonApplicationMenuButtonUI() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureRenderer() |
static ComponentUI |
createUI(JComponent c) |
protected void |
installComponents()
Installs subcomponents on the associated command button.
|
protected void |
installDefaults()
Installs defaults on the associated command button.
|
void |
installUI(JComponent c) |
void |
paint(Graphics g,
JComponent c) |
protected void |
paintButtonBackground(Graphics graphics,
Rectangle toFill)
Paints the button background.
|
protected void |
unconfigureRenderer() |
createButtonListener, createPopupActionIcon, createPopupActionListener, createRendererButton, getForegroundColor, getIconToPaint, getKeyTipAnchorCenterPoint, getLayoutGap, getLayoutInfo, getPreferredSize, installKeyboardActions, installListeners, isPaintingBackground, isPaintingSeparators, paintButtonBackground, paintButtonHorizontalSeparator, paintButtonIcon, paintButtonVerticalSeparator, paintPopupActionIcon, processPopupAction, syncDisabledIcon, syncIconDimension, toUseDisabledIcon, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update, updateBorder, updateCustomDimension, updatePopupActionIcon
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize
protected JRibbonApplicationMenuButton applicationMenuButton
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
installUI
in class BasicCommandButtonUI
protected void installDefaults()
BasicCommandButtonUI
installDefaults
in class BasicCommandButtonUI
protected void configureRenderer()
configureRenderer
in class BasicCommandButtonUI
protected void unconfigureRenderer()
unconfigureRenderer
in class BasicCommandButtonUI
protected void installComponents()
BasicCommandButtonUI
installComponents
in class BasicCommandButtonUI
public void paint(Graphics g, JComponent c)
paint
in class BasicCommandButtonUI
protected void paintButtonBackground(Graphics graphics, Rectangle toFill)
paintButtonBackground
in class BasicCommandButtonUI
graphics
- Graphics context.toFill
- Rectangle to fill.button
- The button itself.