| java.lang.Object javax.swing.table.AbstractTableModel com.tc.admin.common.XObjectTableModel
All known Subclasses: com.tc.ConfigProblemTableModel, com.tc.admin.dso.GCStatsTableModel, com.tc.admin.ClusterMemberTableModel, com.tc.RuleModel, com.tc.servers.ServerEnvTableModel, com.tc.admin.dso.ClientTableModel,
XObjectTableModel | public class XObjectTableModel extends AbstractTableModel (Code) | | ObjectTableModel - abstract view onto a collection of Objects of the same
type.
You tell it the type, the display field names, and the object set. The
ordering of the list elements will be determined by the type of object
collection used to create the instance.
The "field" names are used to determine a getter method. Foo -> getFoo.
When used in combintaion with a Table, this facility is meant to provide
a high-level data display/editing view with very low cognitive overhead
and high usability.
|
Inner Class :class FieldDescription | |
Constructor Summary | |
public | XObjectTableModel() | public | XObjectTableModel(Class type, String[] fields, String[] headings) | public | XObjectTableModel(Class type, String[] fields, String[] headings, Object[] data) | public | XObjectTableModel(Class type, String[] fields, String[] headings, Enumeration enumeration) | public | XObjectTableModel(Class type, String[] fields, String[] headings, Iterator iter) | public | XObjectTableModel(Class type, String[] fields, String[] headings, Collection c) |
DOWN | final public static int DOWN(Code) | | |
UP | final public static int UP(Code) | | |
m_primitiveMap | final protected static HashMap m_primitiveMap(Code) | | |
XObjectTableModel | public XObjectTableModel()(Code) | | |
clear | public void clear()(Code) | | |
findDescription | protected FieldDescription findDescription(String fieldName)(Code) | | |
getColumnClass | public Class getColumnClass(int col)(Code) | | |
getColumnCount | public int getColumnCount()(Code) | | |
getFieldDescription | public FieldDescription getFieldDescription(int index)(Code) | | |
getFieldDescription | public FieldDescription getFieldDescription(String fieldName)(Code) | | |
getFieldOperation | public Method getFieldOperation(int col)(Code) | | |
getObjectIndex | public int getObjectIndex(Object object)(Code) | | |
getRowCount | public int getRowCount()(Code) | | |
getShowingFieldCount | public int getShowingFieldCount()(Code) | | |
getShowingFieldDescription | public FieldDescription getShowingFieldDescription(int index)(Code) | | |
getShowingFieldDescription | public FieldDescription getShowingFieldDescription(String fieldName)(Code) | | |
getShowingFieldGetter | public Method getShowingFieldGetter(int col)(Code) | | |
getShowingFieldIndex | public int getShowingFieldIndex(String fieldName)(Code) | | |
getShowingFieldOperation | public Method getShowingFieldOperation(int col)(Code) | | |
getShowingFieldSetter | public Method getShowingFieldSetter(int col)(Code) | | |
isCellEditable | public boolean isCellEditable(int row, int col)(Code) | | |
isColumnShowing | public boolean isColumnShowing(String fieldName)(Code) | | |
isColumnSortable | public boolean isColumnSortable(int col)(Code) | | |
remove | public void remove(int index)(Code) | | |
setValueAt | public void setValueAt(Object value, int row, int col)(Code) | | |
showColumnsExclusive | public void showColumnsExclusive(String[] fieldNames)(Code) | | |
sortColumn | public void sortColumn(int col, int direction)(Code) | | |
xgetValueAt | protected Object xgetValueAt(int row, int col)(Code) | | |
|
|