Class BasicTriStateCheckBoxUI

    • Field Detail

      • componentPropertyChangeListener

        private java.beans.PropertyChangeListener componentPropertyChangeListener
      • projectionPropertyChangeListener

        private java.beans.PropertyChangeListener projectionPropertyChangeListener
      • viewRect

        protected java.awt.Rectangle viewRect
      • iconRect

        protected java.awt.Rectangle iconRect
      • textRect

        protected java.awt.Rectangle textRect
      • iconTextGap

        protected int iconTextGap
      • radianceIcon

        protected javax.swing.Icon radianceIcon
    • Constructor Detail

      • BasicTriStateCheckBoxUI

        public BasicTriStateCheckBoxUI​(JTriStateCheckBox triStateCheckBox)
    • Method Detail

      • installUI

        public void installUI​(javax.swing.JComponent c)
        Overrides:
        installUI in class javax.swing.plaf.ComponentUI
      • uninstallUI

        public void uninstallUI​(javax.swing.JComponent c)
        Overrides:
        uninstallUI in class javax.swing.plaf.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 java.awt.Dimension getPreferredSize​(javax.swing.JComponent c)
        Overrides:
        getPreferredSize in class javax.swing.plaf.ComponentUI
      • isInside

        public boolean isInside​(java.awt.event.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.
      • update

        public void update​(java.awt.Graphics g,
                           javax.swing.JComponent c)
        Overrides:
        update in class javax.swing.plaf.ComponentUI