public class DefaultPropertyHolderTableModel<T extends TestPropertyHolder> extends AbstractTableModel implements PropertyHolderTableModel, EnvironmentListener, PropertyChangeListener
Modifier and Type | Class and Description |
---|---|
protected class |
DefaultPropertyHolderTableModel.InternalTestPropertyListener |
Modifier and Type | Field and Description |
---|---|
protected boolean |
isLastChangeParameterLevelChange |
protected StringList |
paramNameIndex |
protected T |
params |
protected DefaultPropertyHolderTableModel.InternalTestPropertyListener |
testPropertyListener |
listenerList
Modifier | Constructor and Description |
---|---|
protected |
DefaultPropertyHolderTableModel() |
|
DefaultPropertyHolderTableModel(T holder) |
Modifier and Type | Method and Description |
---|---|
protected void |
buildParamNameIndex() |
Class<?> |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int columnIndex) |
TestProperty |
getPropertyAtRow(int rowIndex) |
protected String[] |
getPropertyNames() |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
moveProperty(String name,
int oldIndex,
int newIndex) |
void |
propertyChange(PropertyChangeEvent evt) |
protected boolean |
propertyExists(Object aValue,
TestProperty property) |
void |
propertyMoved() |
void |
propertyValueChanged(Property property) |
void |
release() |
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex) |
void |
sort() |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted
addTableModelListener, removeTableModelListener
protected DefaultPropertyHolderTableModel.InternalTestPropertyListener testPropertyListener
protected StringList paramNameIndex
protected T extends TestPropertyHolder params
protected boolean isLastChangeParameterLevelChange
protected DefaultPropertyHolderTableModel()
public DefaultPropertyHolderTableModel(T holder)
protected void buildParamNameIndex()
protected String[] getPropertyNames()
public void release()
public int getRowCount()
getRowCount
in interface TableModel
public int getColumnCount()
getColumnCount
in interface TableModel
public String getColumnName(int columnIndex)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
public Class<?> getColumnClass(int columnIndex)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
public void setValueAt(Object aValue, int rowIndex, int columnIndex)
setValueAt
in interface TableModel
setValueAt
in class AbstractTableModel
protected boolean propertyExists(Object aValue, TestProperty property)
public TestProperty getPropertyAtRow(int rowIndex)
getPropertyAtRow
in interface PropertyHolderTableModel
public Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface TableModel
public void propertyValueChanged(Property property)
propertyValueChanged
in interface EnvironmentListener
public void propertyMoved()
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
public void moveProperty(String name, int oldIndex, int newIndex)
moveProperty
in interface PropertyHolderTableModel
public void sort()
Copyright © 2019. All Rights Reserved.