|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.archiviststoolkit.mydomain.DomainTableModelColumn
public class DomainTableModelColumn
A Table Column Model for JTable implementations.
Constructor Summary | |
---|---|
DomainTableModelColumn(java.lang.String name,
java.lang.String fieldName,
java.lang.Class modelClass,
java.lang.Class clazz)
Default Constructor. |
|
DomainTableModelColumn(java.lang.String name,
java.lang.String fieldName,
java.lang.Class modelClass,
java.lang.Class clazz,
java.lang.Boolean editable)
Default Constructor. |
Method Summary | |
---|---|
java.lang.Class |
getColumnClass()
Get the class of the column values. |
java.lang.String |
getColumnName()
Get the name of the column. |
java.lang.Boolean |
getEditable()
|
java.lang.String |
getFieldName()
|
java.lang.reflect.Method |
getReadColumnMethod()
Get the readMethod used to gather the value for display. |
java.lang.reflect.Method |
getWriteColumnMethod()
Get the writeMethod used to gather the value for display. |
void |
setEditable(java.lang.Boolean editable)
|
void |
setFieldName(java.lang.String fieldName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DomainTableModelColumn(java.lang.String name, java.lang.String fieldName, java.lang.Class modelClass, java.lang.Class clazz)
name
- the name of the columnfieldName
- the field name associated with recall the valuemodelClass
- the class of the field name associated with recall the valueclazz
- the class of the values within the columnpublic DomainTableModelColumn(java.lang.String name, java.lang.String fieldName, java.lang.Class modelClass, java.lang.Class clazz, java.lang.Boolean editable)
name
- the name of the columnfieldName
- the field name associated with recall the valuemodelClass
- the class of the field name associated with recall the valueclazz
- the class of the values within the columnMethod Detail |
---|
public final java.lang.String getColumnName()
public final java.lang.reflect.Method getReadColumnMethod()
public final java.lang.reflect.Method getWriteColumnMethod()
public final java.lang.Class getColumnClass()
public java.lang.String getFieldName()
public void setFieldName(java.lang.String fieldName)
public java.lang.Boolean getEditable()
public void setEditable(java.lang.Boolean editable)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |