Class ButtonVisualStateTracker
java.lang.Object
org.pushingpixels.radiance.theming.internal.utils.ButtonVisualStateTracker
Utility class to track transitions in visual state of buttons.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate RolloverButtonListenerThe rollover button listener.private PropertyChangeListenerProperty change listener.private StateTransitionTracker -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinstallListeners(AbstractButton b, boolean toInstallRolloverListener) Installs tracking listeners on the specified button.voidUninstalls the tracking listeners from the specified button.
-
Field Details
-
radianceButtonListener
The rollover button listener. -
radiancePropertyListener
Property change listener. -
stateTransitionTracker
-
-
Constructor Details
-
ButtonVisualStateTracker
public ButtonVisualStateTracker()
-
-
Method Details
-
installListeners
Installs tracking listeners on the specified button.- Parameters:
b- Button.toInstallRolloverListener- Iftrue, the button will have the rollover listener installed on it.
-
uninstallListeners
Uninstalls the tracking listeners from the specified button.- Parameters:
b- Button.
-
getStateTransitionTracker
-