public class ButtonVisualStateTracker
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected org.jvnet.lafwidget.animation.FadeStateListener |
substanceFadeStateListener
Listener for fade animations.
|
protected java.beans.PropertyChangeListener |
substancePropertyListener
Property change listener.
|
| Constructor and Description |
|---|
ButtonVisualStateTracker() |
| Modifier and Type | Method and Description |
|---|---|
void |
installListeners(javax.swing.AbstractButton b,
boolean toInstallRolloverListener)
Installs tracking listeners on the specified button.
|
void |
uninstallListeners(javax.swing.AbstractButton b)
Uninstalls the tracking listeners from the specified button.
|
protected java.beans.PropertyChangeListener substancePropertyListener
SubstanceLookAndFeel.BUTTON_SHAPER_PROPERTY property and
AbstractButton.MODEL_CHANGED_PROPERTY property.protected org.jvnet.lafwidget.animation.FadeStateListener substanceFadeStateListener
public void installListeners(javax.swing.AbstractButton b,
boolean toInstallRolloverListener)
b - Button.toInstallRolloverListener - If true, the button will have the rollover
listener installed on it.public void uninstallListeners(javax.swing.AbstractButton b)
b - Button.