Documentation of 'org.jdesktop.swingx.rollover.RolloverController' Java class
RolloverController
org.jdesktop.swingx.rollover

Class RolloverController<T extends javax.swing.JComponent>

  • All Implemented Interfaces:
    java.beans.PropertyChangeListener, java.util.EventListener
    Direct Known Subclasses:
    ListRolloverController, TableRolloverController, TreeRolloverController


    public abstract class RolloverController<T extends javax.swing.JComponent>
    extends java.lang.Object
    implements java.beans.PropertyChangeListener
    Controller for "live" behaviour of XXRenderers. Once installed on a component, it updates renderer's rollover state based on the component's rollover properties. Rollover client properties are Points with cell coordinates in the view coordinate system as appropriate for the concrete component (Point.x == column, Point.y == row). Repaints effected component regions. Updates link cursor. Installs a click-action bound to space-released in the target's actionMap/inputMap.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String EXECUTE_BUTTON_ACTIONCOMMAND
      the key of the rollover click action which is installed in the component's actionMap.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void install(T table)
      Install this as controller for the given component.
      void propertyChange(java.beans.PropertyChangeEvent evt) 
      void release()
      Uninstall this as controller from the component, if any.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • EXECUTE_BUTTON_ACTIONCOMMAND

        public static final java.lang.String EXECUTE_BUTTON_ACTIONCOMMAND
        the key of the rollover click action which is installed in the component's actionMap.
        See Also:
        Constant Field Values
    • Constructor Detail

      • RolloverController

        public RolloverController()
    • Method Detail

      • propertyChange

        public void propertyChange(java.beans.PropertyChangeEvent evt)
        Specified by:
        propertyChange in interface java.beans.PropertyChangeListener
      • install

        public void install(T table)
        Install this as controller for the given component.
        Parameters:
        table - the component which has renderers to control.
      • release

        public void release()
        Uninstall this as controller from the component, if any.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.