org.jcreme.swing.table.columnmodel.state
Class SortableTableColumnMemento
java.lang.Object
org.jcreme.state.BaseMemento
org.jcreme.swing.state.BaseUIMemento
org.jcreme.swing.table.columnmodel.state.BaseTableColumnMemento
org.jcreme.swing.table.columnmodel.state.SortableTableColumnMemento
- All Implemented Interfaces:
- Memento
- public class SortableTableColumnMemento
- extends BaseTableColumnMemento
This Memento enables to persist the state of a SortableTableColumn.
- Version:
- $Revision: 1.2 $
- Author:
- $Author: dbregeon $
|
Method Summary |
void |
load(java.util.prefs.Preferences preferences)
This method enables to restore a Memento from Preferences. |
void |
store(java.util.prefs.Preferences preferences)
This method enables to store the Memento into Preferences. |
void |
updateMemento(java.lang.Object o)
Updates the contents of the Memento from values in o. |
void |
updateObject(java.lang.Object o)
Updates the Object o with values stored in this Memento. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SORT_ORDER_PREFERENCE
public static final java.lang.String SORT_ORDER_PREFERENCE
- See Also:
- Constant Field Values
ORDER_IN_SORT_PREFERENCE
public static final java.lang.String ORDER_IN_SORT_PREFERENCE
- See Also:
- Constant Field Values
COMPARATOR_PREFERENCE
public static final java.lang.String COMPARATOR_PREFERENCE
- See Also:
- Constant Field Values
COLUMN_CLASS_PREFERENCE
public static final java.lang.String COLUMN_CLASS_PREFERENCE
- See Also:
- Constant Field Values
SortableTableColumnMemento
public SortableTableColumnMemento()
load
public void load(java.util.prefs.Preferences preferences)
throws MementoException
- Description copied from interface:
Memento
- This method enables to restore a Memento from Preferences.
- Specified by:
load in interface Memento- Overrides:
load in class BaseTableColumnMemento
- Throws:
MementoException- See Also:
org.jcreme.swing.table.state.TableColumnMemento#load(java.util.prefs.Preferences)
store
public void store(java.util.prefs.Preferences preferences)
throws MementoException
- Description copied from interface:
Memento
- This method enables to store the Memento into Preferences.
- Specified by:
store in interface Memento- Overrides:
store in class BaseTableColumnMemento
- Throws:
MementoException- See Also:
org.jcreme.swing.table.state.TableColumnMemento#store(java.util.prefs.Preferences)
updateMemento
public void updateMemento(java.lang.Object o)
throws java.lang.IllegalArgumentException,
MementoException
- Description copied from interface:
Memento
- Updates the contents of the Memento from values in o.
- Specified by:
updateMemento in interface Memento- Overrides:
updateMemento in class BaseTableColumnMemento
- Throws:
java.lang.IllegalArgumentException
MementoException- See Also:
org.jcreme.swing.table.columnmodel.state.BaseTableColumnMemento#updateMemento()
updateObject
public void updateObject(java.lang.Object o)
throws java.lang.IllegalArgumentException,
MementoException
- Description copied from interface:
Memento
- Updates the Object o with values stored in this Memento.
- Specified by:
updateObject in interface Memento- Overrides:
updateObject in class BaseTableColumnMemento
- Throws:
java.lang.IllegalArgumentException
MementoException- See Also:
org.jcreme.swing.table.columnmodel.state.BaseTableColumnMemento#updateObject()
Copyright 2006 null. All Rights Reserved.