|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdesktop.swingx.table.TableRowHeightController
public class TableRowHeightController
A controller to adjust JTable rowHeight based on sizing requirements of its renderers.
| Constructor Summary | |
|---|---|
TableRowHeightController()
Instantiates an unbound TableRowHeightController. |
|
TableRowHeightController(JTable table)
Instantiates a TableRowHeightController and installs itself to the given table. |
|
| Method Summary | |
|---|---|
protected TableModelListener |
createTableModelListener()
|
protected PropertyChangeListener |
createTablePropertyListener()
|
protected PropertyChangeListener |
getPropertyChangeListener()
|
protected TableModelListener |
getTableModelListener()
|
void |
install(JTable table)
Installs this controller on the given table. |
void |
release()
Release this controller from its table. |
protected void |
updateModel(TableModel oldValue)
|
protected void |
updatePreferredRowHeights()
Sets the row heights of all rows. |
protected void |
updatePreferredRowHeights(int firstRow,
int lastRow)
Sets the row heights of the rows in the range of first- to lastRow, inclusive. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableRowHeightController()
public TableRowHeightController(JTable table)
table - the table to control.| Method Detail |
|---|
public void install(JTable table)
table - the table to install upon.public void release()
protected void updatePreferredRowHeights(int firstRow,
int lastRow)
firstRow - the first row in model coordinateslastRow - the last row in model coordinatesprotected void updatePreferredRowHeights()
protected void updateModel(TableModel oldValue)
oldValue - protected PropertyChangeListener createTablePropertyListener()
protected TableModelListener createTableModelListener()
protected TableModelListener getTableModelListener()
protected PropertyChangeListener getPropertyChangeListener()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||