JIDE 3.5.15

com.jidesoft.swing
Class Sticky

java.lang.Object
  extended by com.jidesoft.swing.Sticky

public class Sticky
extends Object

Sticky is a helper class to make JList or JTree or JTable changing selection when mouse moves. To use it, you simply call


 JList list = new JList();
 new Sticky(list);
 
or

 JTree tree = new JTree();
 new Sticky(tree);
 


Constructor Summary
Sticky(JList list)
           
Sticky(JTable table)
           
Sticky(JTree tree)
           
 
Method Summary
 void install()
          Installs the listener to make the list or tree sticky.
 void uninstall()
          Uninstalls the listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sticky

public Sticky(JList list)

Sticky

public Sticky(JTree tree)

Sticky

public Sticky(JTable table)
Method Detail

install

public void install()
Installs the listener to make the list or tree sticky. This method is called by constructor, so you don't need to call it unless you called uninstall() to remove the listener.


uninstall

public void uninstall()
Uninstalls the listener.


JIDE 3.5.15