org.pushingpixels.substance.internal.animation.TransitionAwareUIpublic class SubstanceRibbonTaskToggleButtonUI extends BasicRibbonTaskToggleButtonUI implements org.pushingpixels.substance.internal.animation.TransitionAwareUI
JRibbonTaskToggleButton components in Substance look
and feel.| Modifier and Type | Field | Description |
|---|---|---|
protected CommandButtonVisualStateTracker |
substanceVisualStateTracker |
Tracker for visual state transitions.
|
basicPopupButtonListener, commandButton, disposePopupsActionListener, DONT_DISPOSE_POPUPS, EMULATE_SQUARE_BUTTON, layoutInfo, layoutManager, popupActionIcon, popupActionListener, propertyChangeListenerpopupListener| Constructor | Description |
|---|---|
SubstanceRibbonTaskToggleButtonUI() |
Simple constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent comp) |
|
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c) |
|
org.pushingpixels.substance.internal.animation.StateTransitionTracker |
getTransitionTracker() |
|
protected void |
installDefaults() |
Installs defaults on the associated command button.
|
protected void |
installListeners() |
Installs listeners on the associated command button.
|
boolean |
isInside(java.awt.event.MouseEvent me) |
|
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c) |
|
protected void |
uninstallComponents() |
Uninstalls subcomponents from the associated command button.
|
protected void |
uninstallListeners() |
Uninstalls listeners from the associated command button.
|
void |
update(java.awt.Graphics g,
javax.swing.JComponent c) |
createButtonListener, createPopupActionIcon, createPopupActionListener, getIconToPaint, getKeyTipAnchorCenterPoint, getLayoutGap, getLayoutInfo, installComponents, installKeyboardActions, installUI, isPaintingBackground, processPopupAction, syncDisabledIcon, syncIconDimension, toUseDisabledIcon, uninstallDefaults, uninstallKeyboardActions, uninstallUI, updateBorder, updateCustomDimensionisPaintingSeparators, updatePopupActionIcongetMinimumSizeprotected CommandButtonVisualStateTracker substanceVisualStateTracker
public SubstanceRibbonTaskToggleButtonUI()
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent comp)
protected void installDefaults()
BasicCommandButtonUIinstallDefaults in class BasicRibbonTaskToggleButtonUIprotected void uninstallComponents()
BasicCommandButtonUIuninstallComponents in class BasicCommandButtonUIprotected void installListeners()
BasicCommandButtonUIinstallListeners in class BasicRibbonTaskToggleButtonUIprotected void uninstallListeners()
BasicCommandButtonUIuninstallListeners in class BasicRibbonTaskToggleButtonUIpublic void paint(java.awt.Graphics g,
javax.swing.JComponent c)
paint in class javax.swing.plaf.ComponentUIpublic void update(java.awt.Graphics g,
javax.swing.JComponent c)
update in class BasicCommandButtonUIpublic java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getPreferredSize in class BasicCommandButtonUIpublic org.pushingpixels.substance.internal.animation.StateTransitionTracker getTransitionTracker()
getTransitionTracker in interface org.pushingpixels.substance.internal.animation.TransitionAwareUIpublic boolean isInside(java.awt.event.MouseEvent me)
isInside in interface org.pushingpixels.substance.internal.animation.TransitionAwareUI