public class RestParamsTableModel extends DirectAccessPropertyHolderTableModel<RestParamsPropertyHolder>
Modifier and Type | Class and Description |
---|---|
static class |
RestParamsTableModel.Mode |
DirectAccessPropertyHolderTableModel.InternalTestPropertyListener
Modifier and Type | Field and Description |
---|---|
static int |
LOCATION_COLUMN_INDEX |
static int |
NAME_COLUMN_INDEX |
static int |
STYLE_COLUMN_INDEX |
static int |
VALUE_COLUMN_INDEX |
testPropertyListener
isLastChangeParameterLevelChange, paramNameIndex, params
listenerList
Constructor and Description |
---|
RestParamsTableModel(RestParamsPropertyHolder params) |
RestParamsTableModel(RestParamsPropertyHolder params,
RestParamsTableModel.Mode mode) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int columnIndex) |
RestParamProperty |
getParameterAt(int selectedRow) |
NewRestResourceActionBase.ParamLocation[] |
getParameterLevels() |
NewRestResourceActionBase.ParamLocation |
getParamLocationAt(int rowIndex) |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
boolean |
isInMinimalMode() |
void |
removeProperty(String propertyName) |
void |
setParams(RestParamsPropertyHolder params) |
void |
setValueAt(Object value,
int rowIndex,
int columnIndex) |
getPropertyAtRow, getRowCount, moveProperty, sort
buildParamNameIndex, getPropertyNames, propertyChange, propertyExists, propertyMoved, propertyValueChanged, release
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
propertyValueChanged
propertyChange
public static final int NAME_COLUMN_INDEX
public static final int VALUE_COLUMN_INDEX
public static final int STYLE_COLUMN_INDEX
public static final int LOCATION_COLUMN_INDEX
public RestParamsTableModel(RestParamsPropertyHolder params, RestParamsTableModel.Mode mode)
public RestParamsTableModel(RestParamsPropertyHolder params)
public boolean isInMinimalMode()
public int getColumnCount()
getColumnCount
in interface TableModel
getColumnCount
in class DefaultPropertyHolderTableModel<RestParamsPropertyHolder>
public String getColumnName(int columnIndex)
getColumnName
in interface TableModel
getColumnName
in class DefaultPropertyHolderTableModel<RestParamsPropertyHolder>
public Class<?> getColumnClass(int columnIndex)
getColumnClass
in interface TableModel
getColumnClass
in class DefaultPropertyHolderTableModel<RestParamsPropertyHolder>
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface TableModel
isCellEditable
in class DefaultPropertyHolderTableModel<RestParamsPropertyHolder>
public NewRestResourceActionBase.ParamLocation getParamLocationAt(int rowIndex)
public Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface TableModel
getValueAt
in class DefaultPropertyHolderTableModel<RestParamsPropertyHolder>
public void setValueAt(Object value, int rowIndex, int columnIndex)
setValueAt
in interface TableModel
setValueAt
in class DefaultPropertyHolderTableModel<RestParamsPropertyHolder>
public RestParamProperty getParameterAt(int selectedRow)
public NewRestResourceActionBase.ParamLocation[] getParameterLevels()
public void setParams(RestParamsPropertyHolder params)
public void removeProperty(String propertyName)
Copyright © 2019. All Rights Reserved.