protected class JavaPropertiesPanel.JavaArgumentsTableModel extends SortableTableModel implements Comparator<org.opends.guitools.controlpanel.ui.JavaPropertiesPanel.JavaArgumentsDescriptor>
listenerList| Modifier | Constructor and Description |
|---|---|
protected |
JavaPropertiesPanel.JavaArgumentsTableModel() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(org.opends.guitools.controlpanel.ui.JavaPropertiesPanel.JavaArgumentsDescriptor desc1,
org.opends.guitools.controlpanel.ui.JavaPropertiesPanel.JavaArgumentsDescriptor desc2)
Compares two java argument descriptors.
|
void |
forceResort()
Updates the table model contents and sorts its contents depending on the
sort options set by the user.
|
int |
getColumnCount() |
String |
getColumnName(int col) |
org.opends.guitools.controlpanel.ui.JavaPropertiesPanel.JavaArgumentsDescriptor |
getJavaArguments(int row)
Returns the java argument descriptor in the provided row.
|
protected String[] |
getLine(org.opends.guitools.controlpanel.ui.JavaPropertiesPanel.JavaArgumentsDescriptor desc)
Returns an array of String with the String representation of the cells
in the table.
|
int |
getRowCount() |
int |
getSortColumn()
Returns the column index used to sort.
|
Object |
getValueAt(int row,
int col) |
boolean |
isCellEditable(int row,
int col) |
boolean |
isSortAscending()
Returns whether the sort is ascending or descending.
|
void |
setData(Set<org.opends.guitools.controlpanel.ui.JavaPropertiesPanel.JavaArgumentsDescriptor> newData)
Sets the data for this table model.
|
void |
setSortAscending(boolean sortAscending)
Sets whether to sort ascending of descending.
|
void |
setSortColumn(int sortColumn)
Sets the column index used to sort.
|
void |
setValueAt(Object value,
int row,
int col) |
getHeader, getHeaderaddTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalsprotected JavaPropertiesPanel.JavaArgumentsTableModel()
public void setData(Set<org.opends.guitools.controlpanel.ui.JavaPropertiesPanel.JavaArgumentsDescriptor> newData)
newData - the data for this table model.public int compare(org.opends.guitools.controlpanel.ui.JavaPropertiesPanel.JavaArgumentsDescriptor desc1, org.opends.guitools.controlpanel.ui.JavaPropertiesPanel.JavaArgumentsDescriptor desc2)
compare in interface Comparator<org.opends.guitools.controlpanel.ui.JavaPropertiesPanel.JavaArgumentsDescriptor>desc1 - the first java argument descriptor.desc2 - the second java argument descriptor.public void forceResort()
forceResort in class SortableTableModelpublic int getColumnCount()
getColumnCount in interface TableModelpublic int getRowCount()
getRowCount in interface TableModelpublic Object getValueAt(int row, int col)
getValueAt in interface TableModelpublic String getColumnName(int col)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic org.opends.guitools.controlpanel.ui.JavaPropertiesPanel.JavaArgumentsDescriptor getJavaArguments(int row)
row - the row number.public boolean isSortAscending()
isSortAscending in class SortableTableModeltrue if the sort is ascending and false
otherwise.public void setSortAscending(boolean sortAscending)
setSortAscending in class SortableTableModelsortAscending - whether to sort ascending or descending.public int getSortColumn()
getSortColumn in class SortableTableModelpublic void setSortColumn(int sortColumn)
setSortColumn in class SortableTableModelsortColumn - column index used to sort..public boolean isCellEditable(int row, int col)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic void setValueAt(Object value, int row, int col)
setValueAt in interface TableModelsetValueAt in class AbstractTableModelprotected String[] getLine(org.opends.guitools.controlpanel.ui.JavaPropertiesPanel.JavaArgumentsDescriptor desc)
desc - the java argument descriptor for which we want to get the
cells.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.