|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectColumnWidthsPreference
public class ColumnWidthsPreference
Preference storage for the column widths of a table. Stores under keys "column.c.width", where c is the column index.
| Constructor Summary | |
|---|---|
ColumnWidthsPreference(TableColumnModel columnModel,
Preferences preferences,
RunBuffer runBuffer)
Creates a ColumnWidthsPreference. |
|
| Method Summary | |
|---|---|
Preferences |
preferences()
Returns the preference node used for storage. |
void |
restore()
Restores the preferred widths, and begins automatically storing changes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnWidthsPreference(TableColumnModel columnModel,
Preferences preferences,
RunBuffer runBuffer)
There is currently no way to remove it from the columnModel. Create one only per columnModel, or they will accumulate.
columnModel - whose column widths to store and restorepreferences - per preferences()runBuffer - (a slow one is fine)| Method Detail |
|---|
public Preferences preferences()
public void restore()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||