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 RolloverButtonListener
The rollover button listener.private PropertyChangeListener
Property change listener.private StateTransitionTracker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
installListeners
(AbstractButton b, boolean toInstallRolloverListener) Installs tracking listeners on the specified button.void
Uninstalls 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
-