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, updateCustomDimension
createRendererButton, isPaintingSeparators, updatePopupActionIcon
protected PopupPanelManager.PopupListener popupListener
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
protected void installDefaults()
BasicCommandButtonUI
installDefaults
in class BasicCommandButtonUI
protected void installListeners()
BasicCommandButtonUI
installListeners
in class BasicCommandButtonUI
protected void uninstallListeners()
BasicCommandButtonUI
uninstallListeners
in class BasicCommandButtonUI
public void update(java.awt.Graphics g, javax.swing.JComponent c)
update
in class BasicCommandButtonUI
protected void paintText(java.awt.Graphics g)
protected void paintButtonBackground(java.awt.Graphics graphics, java.awt.Rectangle toFill)
paintButtonBackground
in class BasicCommandButtonUI
graphics
- Graphics context.toFill
- Rectangle to fill.public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getPreferredSize
in class BasicCommandButtonUI
public java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
getMinimumSize
in class javax.swing.plaf.ComponentUI