public class BasicRibbonTaskToggleButtonUI extends BasicCommandToggleButtonUI
JRibbonTaskToggleButton.| Modifier and Type | Field | Description |
|---|---|---|
protected PopupPanelManager.PopupListener |
popupListener |
basicPopupButtonListener, buttonRendererPane, commandButton, disposePopupsActionListener, DONT_DISPOSE_POPUPS, EMULATE_SQUARE_BUTTON, isUnderMouse, layoutInfo, layoutManager, popupActionIcon, popupActionListener, propertyChangeListener, rendererButton, rendererSeparator| Constructor | Description |
|---|---|
BasicRibbonTaskToggleButtonUI() |
| Modifier and Type | Method | Description |
|---|---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c) |
|
java.awt.Dimension |
getMinimumSize(javax.swing.JComponent c) |
|
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c) |
|
protected void |
installDefaults() |
Installs defaults on the associated command button.
|
protected void |
installListeners() |
Installs listeners on the associated command button.
|
protected void |
paintButtonBackground(java.awt.Graphics graphics,
java.awt.Rectangle toFill) |
Paints the button background.
|
protected void |
paintText(java.awt.Graphics g) |
|
protected void |
uninstallListeners() |
Uninstalls listeners from the associated command button.
|
void |
update(java.awt.Graphics g,
javax.swing.JComponent c) |
configureRenderer, createButtonListener, createPopupActionIcon, createPopupActionListener, getForegroundColor, getIconToPaint, getKeyTipAnchorCenterPoint, getLayoutGap, getLayoutInfo, installComponents, installKeyboardActions, installUI, isPaintingBackground, paint, paintButtonBackground, paintButtonHorizontalSeparator, paintButtonIcon, paintButtonVerticalSeparator, paintPopupActionIcon, processPopupAction, syncDisabledIcon, syncIconDimension, toUseDisabledIcon, unconfigureRenderer, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallUI, updateBorder, updateCustomDimensioncreateRendererButton, isPaintingSeparators, updatePopupActionIconprotected PopupPanelManager.PopupListener popupListener
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
protected void installDefaults()
BasicCommandButtonUIinstallDefaults in class BasicCommandButtonUIprotected void installListeners()
BasicCommandButtonUIinstallListeners in class BasicCommandButtonUIprotected void uninstallListeners()
BasicCommandButtonUIuninstallListeners in class BasicCommandButtonUIpublic void update(java.awt.Graphics g,
javax.swing.JComponent c)
update in class BasicCommandButtonUIprotected void paintText(java.awt.Graphics g)
protected void paintButtonBackground(java.awt.Graphics graphics,
java.awt.Rectangle toFill)
paintButtonBackground in class BasicCommandButtonUIgraphics - Graphics context.toFill - Rectangle to fill.public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getPreferredSize in class BasicCommandButtonUIpublic java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
getMinimumSize in class javax.swing.plaf.ComponentUI