|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TablePreferencesProvider
Defines the requirements for classes that provide preferences support for tables. The preferences are used to manage column ordering, column sizes and the maintain sortorder setting.
Method Summary | |
---|---|
void |
addTableListener(java.lang.String table,
java.beans.PropertyChangeListener l)
|
java.lang.String[] |
getTableColumns(java.lang.String table)
Returns an array of visible columns as an array of column keys. |
int[] |
getTableColumnWidths(java.lang.String table)
|
boolean |
getTableMaintainSortOrder(java.lang.String table)
|
int |
getTableSortedColumn(java.lang.String table)
Returns 0, if no column is sorted, otherwise the model index of the column + 1. |
void |
setTableColumns(java.lang.String table,
java.lang.String[] columns)
Sets an array of visible columns as an array of column keys. |
void |
setTableColumnWidths(java.lang.String table,
int[] widths)
|
void |
setTableMaintainSortOrder(java.lang.String table,
boolean enable)
|
void |
setTableSortedColumn(java.lang.String table,
int column)
|
Methods inherited from interface org.xnap.util.PreferencesProvider |
---|
addPropertyChangeListener, addPropertyChangeListener, get, getBoolean, getKeyStroke, removePropertyChangeListener, removePropertyChangeListener, set, set, set |
Method Detail |
---|
void addTableListener(java.lang.String table, java.beans.PropertyChangeListener l)
boolean getTableMaintainSortOrder(java.lang.String table)
java.lang.String[] getTableColumns(java.lang.String table)
void setTableColumns(java.lang.String table, java.lang.String[] columns)
int[] getTableColumnWidths(java.lang.String table)
void setTableColumnWidths(java.lang.String table, int[] widths)
void setTableMaintainSortOrder(java.lang.String table, boolean enable)
int getTableSortedColumn(java.lang.String table)
void setTableSortedColumn(java.lang.String table, int column)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |