public class DimensionTableModel extends AbstractTableModel
listenerList| Constructor and Description |
|---|
DimensionTableModel(org.exolab.castor.xml.schema.ElementDecl model,
boolean readOnly) |
| Modifier and Type | Method and Description |
|---|---|
void |
addColumn(String heading,
org.exolab.castor.xml.schema.Annotated decl,
int typeCode,
Boolean readOnly) |
void |
addInstance(Element myElement,
int index) |
void |
enumerateElements(org.exolab.castor.xml.schema.ContentModelGroup group) |
Class<?> |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int columnIndex) |
String |
getHelp(int i) |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
Element |
initNew(Document parent,
int index) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
Element |
removeRow(int rowIndex) |
Object |
setupDefaultElement(org.exolab.castor.xml.schema.ElementDecl thisDecl,
Element parent,
Class<?> type) |
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex) |
String |
validateStructure() |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListenerpublic DimensionTableModel(org.exolab.castor.xml.schema.ElementDecl model,
boolean readOnly)
throws StructuralException
StructuralExceptionpublic void addColumn(String heading, org.exolab.castor.xml.schema.Annotated decl, int typeCode, Boolean readOnly)
public void enumerateElements(org.exolab.castor.xml.schema.ContentModelGroup group)
throws StructuralException
StructuralExceptionpublic void addInstance(Element myElement, int index) throws OutcomeException
OutcomeExceptionpublic Class<?> getColumnClass(int columnIndex)
getColumnClass in interface TableModelgetColumnClass in class AbstractTableModelpublic String getColumnName(int columnIndex)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic int getRowCount()
public int getColumnCount()
public boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic void setValueAt(Object aValue, int rowIndex, int columnIndex)
setValueAt in interface TableModelsetValueAt in class AbstractTableModelpublic Element removeRow(int rowIndex)
public Object setupDefaultElement(org.exolab.castor.xml.schema.ElementDecl thisDecl, Element parent, Class<?> type)
public Object getValueAt(int rowIndex, int columnIndex)
public String validateStructure()
public String getHelp(int i)
Copyright © 1997–2019 CRISTAL-iSE. All rights reserved.