Package com.jidesoft.swing
Class Sticky
java.lang.Object
com.jidesoft.swing.Sticky
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
Constructors -
Method Summary
-
Constructor Details
-
Sticky
-
Sticky
-
Sticky
-
-
Method Details
-
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 calleduninstall()
to remove the listener. -
uninstall
public void uninstall()Uninstalls the listener.
-