org.xnap.commons.settings
Class TableSettingDirector
java.lang.Object
org.xnap.commons.settings.TableSettingDirector
- All Implemented Interfaces:
- TableLayoutListener
public class TableSettingDirector
- extends Object
- implements TableLayoutListener
- Author:
- Steffen Pingel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableSettingDirector
public TableSettingDirector(SettingResource backend,
String key,
TableLayout tableLayout)
TableSettingDirector
public TableSettingDirector(SettingResource backend,
String key)
setDefaults
public TableSettingDirector setDefaults(String[] visibleColumns)
setTableLayout
public void setTableLayout(TableLayout tableLayout)
restore
public void restore(TableLayout tableLayout)
restore
public void restore()
save
public void save(TableLayout tableLayout)
save
public void save()
columnLayoutChanged
public void columnLayoutChanged()
- Description copied from interface:
TableLayoutListener
- Invoked when the width of one or more columns was changed.
- Specified by:
columnLayoutChanged
in interface TableLayoutListener
sortedColumnChanged
public void sortedColumnChanged()
- Description copied from interface:
TableLayoutListener
- Invoked when the sorted column was changed.
- Specified by:
sortedColumnChanged
in interface TableLayoutListener
columnOrderChanged
public void columnOrderChanged()
- Specified by:
columnOrderChanged
in interface TableLayoutListener
columnNameChanged
public void columnNameChanged(int index,
String newName)
- Specified by:
columnNameChanged
in interface TableLayoutListener
columnVisibilityChanged
public void columnVisibilityChanged(int index,
boolean visible)
- Specified by:
columnVisibilityChanged
in interface TableLayoutListener
maintainSortOrderChanged
public void maintainSortOrderChanged(boolean newValue)
- Specified by:
maintainSortOrderChanged
in interface TableLayoutListener
Copyright © 2004-2007 XNap Commons Team. All Rights Reserved.