Class BasicTriStateCheckBoxUI

java.lang.Object
javax.swing.plaf.ComponentUI
org.pushingpixels.radiance.component.internal.ui.common.TriStateCheckBoxUI
org.pushingpixels.radiance.component.internal.ui.common.BasicTriStateCheckBoxUI
All Implemented Interfaces:
TransitionAwareUI
Direct Known Subclasses:
RadianceTriStateCheckBoxUI

public abstract class BasicTriStateCheckBoxUI extends TriStateCheckBoxUI implements TransitionAwareUI
  • Field Details

  • Constructor Details

    • BasicTriStateCheckBoxUI

      public BasicTriStateCheckBoxUI(JTriStateCheckBox triStateCheckBox)
  • Method Details

    • installUI

      public void installUI(JComponent c)
      Overrides:
      installUI in class ComponentUI
    • uninstallUI

      public void uninstallUI(JComponent c)
      Overrides:
      uninstallUI in class ComponentUI
    • installDefaults

      protected void installDefaults()
      Installs default settings for the associated tri-state checkbox.
    • installListeners

      protected void installListeners()
      Installs listeners on the associated tri-state checkbox.
    • installKeyboardActions

      protected void installKeyboardActions()
    • installComponents

      protected void installComponents()
      Installs components on the associated tri-state checkbox.
    • uninstallDefaults

      protected void uninstallDefaults()
      Uninstalls default settings from the associated tri-state checkbox.
    • uninstallKeyboardActions

      protected void uninstallKeyboardActions()
    • uninstallListeners

      protected void uninstallListeners()
      Uninstalls listeners from the associated tri-state checkbox.
    • uninstallComponents

      protected void uninstallComponents()
      Uninstalls subcomponents from the associated tri-state checkbox.
    • updateIcon

      protected abstract void updateIcon()
    • getPreferredSize

      public Dimension getPreferredSize(JComponent c)
      Overrides:
      getPreferredSize in class ComponentUI
    • isInside

      public boolean isInside(MouseEvent me)
      Description copied from interface: TransitionAwareUI
      Checks whether the mouse position of the specified event lies inside the area of the component designated for transition effects.
      Specified by:
      isInside in interface TransitionAwareUI
      Parameters:
      me - Mouse event.
      Returns:
      true if the mouse position of the specified event lies inside the area of the component designated for transition effects, false otherwise.
    • getTransitionTracker

      public StateTransitionTracker getTransitionTracker()
      Description copied from interface: TransitionAwareUI
      Returns the model for tracking the transitions.
      Specified by:
      getTransitionTracker in interface TransitionAwareUI
      Returns:
      Model for tracking the transitions.
    • update

      public void update(Graphics g, JComponent c)
      Overrides:
      update in class ComponentUI