|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.substance.utils.ButtonVisualStateTracker
public class ButtonVisualStateTracker
Utility class to track transitions in visual state of buttons.
Field Summary | |
---|---|
protected org.jvnet.lafwidget.animation.FadeStateListener |
substanceFadeStateListener
Listener for fade animations. |
protected java.beans.PropertyChangeListener |
substancePropertyListener
Property change listener. |
Constructor Summary | |
---|---|
ButtonVisualStateTracker()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.beans.PropertyChangeListener substancePropertyListener
SubstanceLookAndFeel.BUTTON_SHAPER_PROPERTY
property and
AbstractButton.MODEL_CHANGED_PROPERTY
property.
protected org.jvnet.lafwidget.animation.FadeStateListener substanceFadeStateListener
Constructor Detail |
---|
public ButtonVisualStateTracker()
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |