|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jcreme.enumerations.Enumeration
org.jcreme.swing.table.columnmodel.TableColumnType
This class enables to link a TableColumn subclass to its editor and to its memento.
| Field Summary | |
protected static java.util.Hashtable |
fromName
The TableColumnType instances by their name. |
static TableColumnType |
SORTABLE_TABLE_COLUMN
|
static TableColumnType |
TABLE_COLUMN
|
| Fields inherited from class org.jcreme.enumerations.Enumeration |
|
| Constructor Summary | |
protected |
TableColumnType(java.lang.String name)
Creates a new instance of TableColorModel |
| Method Summary | |
static TableColumnType |
get(java.lang.String name)
This method retrieves a TableColumnType from its name. |
static TableColumnType |
getFromImplementation(java.lang.Class clazz)
Enables to find the TableColumnType associated to a TableColumn implementation. |
protected java.util.Hashtable |
getFromName()
This method is for internal use only. |
java.lang.Class |
getTableColumnClass()
Gives access to the implementation class of the TableColumn. |
java.lang.Class |
getTableColumnEditorClass()
Gives access to the TableColumnEditor class to use with this TableColumnType. |
java.lang.Class |
getTableColumnMementoClass()
Gives access to the TableColumnMemento class to use with this TableColorModelType. |
static TableColumnType[] |
getTableColumns()
This methods gives the instances of this class. |
static Enumeration[] |
getValues()
This method enables to retrieve all the possible values of an Enumeration class. |
void |
setTableColumnClass(java.lang.Class clazz)
Enables to set the actual Class that implements the TableColumn. |
void |
setTableColumnEditorClass(java.lang.Class clazz)
Enables to set the TableColumnEditor to use for this type of TableColumn. |
void |
setTableColumnMementoClass(java.lang.Class clazz)
Enables to set the TableColorModelMemento to use for this type of TableColorModel. |
| Methods inherited from class org.jcreme.enumerations.Enumeration |
compareTo, getName, readResolve, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected static final java.util.Hashtable fromName
public static final TableColumnType TABLE_COLUMN
public static final TableColumnType SORTABLE_TABLE_COLUMN
| Constructor Detail |
protected TableColumnType(java.lang.String name)
name - | Method Detail |
protected java.util.Hashtable getFromName()
Enumeration
getFromName in class EnumerationEnumeration.getFromName()public static TableColumnType get(java.lang.String name)
name - the name of the TableColumnType.
public java.lang.Class getTableColumnClass()
public void setTableColumnClass(java.lang.Class clazz)
clazz - the implementation of the TableColumn.public java.lang.Class getTableColumnEditorClass()
public void setTableColumnEditorClass(java.lang.Class clazz)
clazz - the TableColumnEditor subclass to use.public java.lang.Class getTableColumnMementoClass()
public void setTableColumnMementoClass(java.lang.Class clazz)
clazz - the TableColorModelMemento subclass to use.public static TableColumnType[] getTableColumns()
public static Enumeration[] getValues()
public static TableColumnType getFromImplementation(java.lang.Class clazz)
clazz - the implementation class.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||