com.jidesoft.grid
Class TableColumnResizer
java.lang.Object
com.jidesoft.grid.TableColumnResizer
- All Implemented Interfaces:
- PropertyChangeListener, EventListener
public class TableColumnResizer
- extends Object
Allows table columns to be resized not only on table header but also on any places along the vertical grid line. To
use it, you simply call
new TableColumnResizer(table);
If you use any of the tables provided by JIDE Grids, you can simply call JideTable.setColumnResizable(boolean)
to make columns 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
TableColumnResizer
public TableColumnResizer(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