ca.odell.glazedlists.swing
Class TreeTableUtilities
java.lang.Object
ca.odell.glazedlists.swing.TreeTableUtilities
public class TreeTableUtilities
- extends Object
A collection of static utility methods to ease the burdens of implementing
correct TreeTable behaviour in Swing.
- Author:
- James Lemieux
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeTableUtilities
public TreeTableUtilities()
prepareRenderer
public static TreeTableCellPanel prepareRenderer(MouseEvent mouseEvent)
- Given a
mouseEvent
which occurred over a JTable
,
and further assuming that the column is a hierarchical column that
- Parameters:
mouseEvent
- a MouseEvent whose source is a JTable
- Returns:
- the TreeTableCellPanel returned by the renderer, or
null
if the click was outside the table or the
renderer does not return a TreeTableCellPanel
Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by James Lemieux at 2009-01-25 18:40