com.jidesoft.grid
Class TableRowResizer
java.lang.Object
com.jidesoft.grid.TableRowResizer
- All Implemented Interfaces:
- PropertyChangeListener, EventListener
public class TableRowResizer
- extends Object
Allows table rows to be resized. To use it, you simply call
new TableRowResizer(table);
If you use any of the tables provided by JIDE Grids, you can simply call JideTable.setRowResizable(boolean)
to make rows resizable.
- Author:
- Santhosh Kumar T, JIDE Software, Inc.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_resizeCursor
public static Cursor _resizeCursor
OFFSET
public static final int OFFSET
- See Also:
- Constant Field Values
_table
protected JTable _table
_onTableHeader
protected final boolean _onTableHeader
TableRowResizer
public TableRowResizer(JTable table)
createMouseInputListener
public MouseInputListener createMouseInputListener()
isResizing
public boolean isResizing()
install
public void install()
uninstall
public void uninstall()
- Removes the MouseListener registered by
install()
method.
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChange
in interface PropertyChangeListener