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 ComponentUI |
createUI(JComponent c) |
|
Dimension |
getMinimumSize(JComponent c) |
|
Dimension |
getPreferredSize(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(Graphics graphics,
Rectangle toFill) |
Paints the button background.
|
protected void |
paintText(Graphics g) |
|
protected void |
uninstallListeners() |
Uninstalls listeners from the associated command button.
|
void |
update(Graphics g,
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
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize
protected PopupPanelManager.PopupListener popupListener
public static ComponentUI createUI(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(Graphics g, JComponent c)
update
in class BasicCommandButtonUI
protected void paintText(Graphics g)
protected void paintButtonBackground(Graphics graphics, Rectangle toFill)
paintButtonBackground
in class BasicCommandButtonUI
graphics
- Graphics context.toFill
- Rectangle to fill.public Dimension getPreferredSize(JComponent c)
getPreferredSize
in class BasicCommandButtonUI
public Dimension getMinimumSize(JComponent c)
getMinimumSize
in class ComponentUI