org.jdesktop.swingx.table
Class TableRowHeightController
- java.lang.Object
-
- org.jdesktop.swingx.table.TableRowHeightController
-
public class TableRowHeightController extends java.lang.ObjectA controller to adjust JTable rowHeight based on sizing requirements of its renderers.
-
-
Constructor Summary
Constructors Constructor and Description TableRowHeightController()Instantiates an unbound TableRowHeightController.TableRowHeightController(javax.swing.JTable table)Instantiates a TableRowHeightController and installs itself to the given table.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidinstall(javax.swing.JTable table)Installs this controller on the given table.voidrelease()Release this controller from its table.
-
-
-
Constructor Detail
-
TableRowHeightController
public TableRowHeightController()
Instantiates an unbound TableRowHeightController.
-
TableRowHeightController
public TableRowHeightController(javax.swing.JTable table)
Instantiates a TableRowHeightController and installs itself to the given table. The row heights of all visible rows are automatically adjusted on model changes.- Parameters:
table- the table to control.
-
-
Method Detail
-
install
public void install(javax.swing.JTable table)
Installs this controller on the given table. Releases control from previously installed table, if any.- Parameters:
table- the table to install upon.
-
release
public void release()
Release this controller from its table. Does nothing if no table installed.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG