JIDE 3.5.15

com.jidesoft.grid
Class TableRowResizer

java.lang.Object
  extended by 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.

Field Summary
protected  boolean _onTableHeader
           
static Cursor _resizeCursor
           
protected  JTable _table
           
static int OFFSET
           
 
Constructor Summary
TableRowResizer(JTable table)
           
 
Method Summary
 MouseInputListener createMouseInputListener()
           
 void install()
           
 boolean isResizing()
           
 void propertyChange(PropertyChangeEvent evt)
           
 void uninstall()
          Removes the MouseListener registered by install() method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_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
Constructor Detail

TableRowResizer

public TableRowResizer(JTable table)
Method Detail

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

JIDE 3.5.15