org.jcreme.swing.table.state
Interface TableColumnModelMemento

All Superinterfaces:
Memento

public interface TableColumnModelMemento
extends Memento

Version:
$Revision: 1.2 $
Author:
$Author: dbregeon $

Method Summary
 javax.swing.table.TableColumnModel getTableColumnModel(javax.swing.table.TableColumnModel model)
          This method enables to recover a TableColumnModel that matches the data stored in this Memento.
 void setTableColumnModel(javax.swing.table.TableColumnModel model)
          This method enables to set the TableColumnModel for which this Memento will record the state.
 
Methods inherited from interface org.jcreme.state.Memento
load, store, updateMemento, updateObject
 

Method Detail

setTableColumnModel

public void setTableColumnModel(javax.swing.table.TableColumnModel model)
                         throws java.lang.IllegalArgumentException
This method enables to set the TableColumnModel for which this Memento will record the state.

Parameters:
model - the TableColumnModel to remember.
Throws:
java.lang.IllegalArgumentException - if the provided model is not supported by this instance.

getTableColumnModel

public javax.swing.table.TableColumnModel getTableColumnModel(javax.swing.table.TableColumnModel model)
This method enables to recover a TableColumnModel that matches the data stored in this Memento.

Parameters:
model - the current TableColumnModel. It is used to remove columns that do not exist anymore or to add new columns.
Returns:
The TableColumnModel remembered by the Memento.


Copyright 2006 null. All Rights Reserved.