Class ArrayTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.pentaho.reporting.libraries.designtime.swing.table.ArrayTableModel
- All Implemented Interfaces:
Serializable,TableModel,BulkDataProvider,PropertyTableModel
public class ArrayTableModel
extends AbstractTableModel
implements BulkDataProvider, PropertyTableModel
- See Also:
-
Field Summary
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidclear()get(int index) Object[]intgetClassForCell(int row, int column) getColumnClass(int columnIndex) intgetColumnName(int column) Object[]getData()getEditorForCell(int row, int column) intintgetSize()getType()getValueAt(int rowIndex, int columnIndex) booleanisCellEditable(int rowIndex, int columnIndex) booleanvoidremove(int index) voidsetBulkData(Object[] data) <T> voidvoidsetEditable(boolean editable) voidsetPropertyEditorType(Class propertyEditorType) voidvoidsetValueAt(Object aValue, int rowIndex, int columnIndex) Object[]toArray()Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.table.TableModel
addTableModelListener, removeTableModelListener
-
Constructor Details
-
ArrayTableModel
public ArrayTableModel()
-
-
Method Details
-
isEditable
public boolean isEditable() -
setEditable
public void setEditable(boolean editable) -
getData
-
setData
-
getRowCount
public int getRowCount()- Specified by:
getRowCountin interfaceTableModel
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCountin interfaceTableModel
-
getValueAt
- Specified by:
getValueAtin interfaceTableModel
-
setValueAt
- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex) - Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-
getColumnClass
- Specified by:
getColumnClassin interfaceTableModel- Overrides:
getColumnClassin classAbstractTableModel
-
getColumnName
- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
add
-
add
-
get
-
remove
public void remove(int index) -
clear
public void clear() -
toArray
-
getSize
public int getSize() -
getBulkDataSize
public int getBulkDataSize()- Specified by:
getBulkDataSizein interfaceBulkDataProvider
-
getBulkData
- Specified by:
getBulkDatain interfaceBulkDataProvider
-
setBulkData
- Specified by:
setBulkDatain interfaceBulkDataProvider
-
getClassForCell
- Specified by:
getClassForCellin interfacePropertyTableModel
-
getType
-
setType
-
getPropertyEditorType
-
setPropertyEditorType
-
getEditorForCell
- Specified by:
getEditorForCellin interfacePropertyTableModel
-