public class ArrayTableModel extends AbstractTableModel implements BulkDataProvider, PropertyTableModel
listenerList| Constructor and Description |
|---|
ArrayTableModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int idx,
Object item) |
void |
add(Object o) |
void |
clear() |
Object |
get(int index) |
Object[] |
getBulkData() |
int |
getBulkDataSize() |
Class |
getClassForCell(int row,
int column) |
Class |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int column) |
Object[] |
getData() |
PropertyEditor |
getEditorForCell(int row,
int column) |
Class |
getPropertyEditorType() |
int |
getRowCount() |
int |
getSize() |
Class |
getType() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
boolean |
isEditable() |
void |
remove(int index) |
void |
setBulkData(Object[] data) |
<T> void |
setData(T[] data,
Class<T> componentType) |
void |
setEditable(boolean editable) |
void |
setPropertyEditorType(Class propertyEditorType) |
void |
setType(Class type) |
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex) |
Object[] |
toArray() |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTableModelListener, removeTableModelListenerpublic boolean isEditable()
public void setEditable(boolean editable)
public Object[] getData()
public <T> void setData(T[] data,
Class<T> componentType)
public int getRowCount()
getRowCount in interface TableModelpublic int getColumnCount()
getColumnCount in interface TableModelpublic Object getValueAt(int rowIndex, int columnIndex)
getValueAt in interface TableModelpublic void setValueAt(Object aValue, int rowIndex, int columnIndex)
setValueAt in interface TableModelsetValueAt in class AbstractTableModelpublic boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic Class getColumnClass(int columnIndex)
getColumnClass in interface TableModelgetColumnClass in class AbstractTableModelpublic String getColumnName(int column)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic void add(Object o)
public void add(int idx,
Object item)
public Object get(int index)
public void remove(int index)
public void clear()
public Object[] toArray()
public int getSize()
public int getBulkDataSize()
getBulkDataSize in interface BulkDataProviderpublic Object[] getBulkData()
getBulkData in interface BulkDataProviderpublic void setBulkData(Object[] data)
setBulkData in interface BulkDataProviderpublic Class getClassForCell(int row, int column)
getClassForCell in interface PropertyTableModelpublic Class getType()
public void setType(Class type)
public Class getPropertyEditorType()
public void setPropertyEditorType(Class propertyEditorType)
public PropertyEditor getEditorForCell(int row, int column)
getEditorForCell in interface PropertyTableModelCopyright © 2018 Hitachi Vantara. All rights reserved.