public class ButtonVisualStateTracker
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
protected StateTransitionTracker |
stateTransitionTracker |
|
protected java.beans.PropertyChangeListener |
substancePropertyListener |
Property change listener.
|
| Constructor | Description |
|---|---|
ButtonVisualStateTracker() |
| Modifier and Type | Method | Description |
|---|---|---|
StateTransitionTracker |
getStateTransitionTracker() |
|
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 StateTransitionTracker stateTransitionTracker
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.public StateTransitionTracker getStateTransitionTracker()