gov.nasa.worldwindx.examples.shapebuilder
Class RigidShapeBuilder.AbstractShapeBuilderModel
java.lang.Object
javax.swing.table.AbstractTableModel
gov.nasa.worldwindx.examples.shapebuilder.RigidShapeBuilder.AbstractShapeBuilderModel
- All Implemented Interfaces:
- Serializable, TableModel
- Enclosing class:
- RigidShapeBuilder
protected static class RigidShapeBuilder.AbstractShapeBuilderModel
- extends AbstractTableModel
- See Also:
- Serialized Form
| Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
columnAttribute
protected static String[] columnAttribute
columnClass
protected static Class[] columnClass
columnName
protected static String[] columnName
entryList
protected ArrayList<RigidShapeBuilder.AbstractShapeEntry> entryList
RigidShapeBuilder.AbstractShapeBuilderModel
public RigidShapeBuilder.AbstractShapeBuilderModel()
addEntry
public void addEntry(RigidShapeBuilder.AbstractShapeEntry entry)
getColumnClass
public Class<?> getColumnClass(int columnIndex)
- Specified by:
getColumnClass in interface TableModel- Overrides:
getColumnClass in class AbstractTableModel
getColumnCount
public int getColumnCount()
getColumnName
public String getColumnName(int columnIndex)
- Specified by:
getColumnName in interface TableModel- Overrides:
getColumnName in class AbstractTableModel
getEntries
public List<RigidShapeBuilder.AbstractShapeEntry> getEntries()
getEntry
public RigidShapeBuilder.AbstractShapeEntry getEntry(int index)
getIndexForEntry
public int getIndexForEntry(RigidShapeBuilder.AbstractShapeEntry entry)
getRowCount
public int getRowCount()
getValueAt
public Object getValueAt(int rowIndex,
int columnIndex)
isCellEditable
public boolean isCellEditable(int rowIndex,
int columnIndex)
- Specified by:
isCellEditable in interface TableModel- Overrides:
isCellEditable in class AbstractTableModel
removeAllEntries
public void removeAllEntries()
removeEntry
public void removeEntry(RigidShapeBuilder.AbstractShapeEntry entry)
setEntries
public void setEntries(Iterable<? extends RigidShapeBuilder.AbstractShapeEntry> entries)
setEntry
public RigidShapeBuilder.AbstractShapeEntry setEntry(int index,
RigidShapeBuilder.AbstractShapeEntry entry)
setValueAt
public void setValueAt(Object aObject,
int rowIndex,
int columnIndex)
- Specified by:
setValueAt in interface TableModel- Overrides:
setValueAt in class AbstractTableModel