Class ButtonVisualStateTracker


  • public class ButtonVisualStateTracker
    extends Object
    Utility class to track transitions in visual state of buttons.
    • Constructor Detail

      • ButtonVisualStateTracker

        public ButtonVisualStateTracker()
    • Method Detail

      • installListeners

        public void installListeners​(AbstractButton b,
                                     boolean toInstallRolloverListener)
        Installs tracking listeners on the specified button.
        Parameters:
        b - Button.
        toInstallRolloverListener - If true, the button will have the rollover listener installed on it.
      • uninstallListeners

        public void uninstallListeners​(AbstractButton b)
        Uninstalls the tracking listeners from the specified button.
        Parameters:
        b - Button.