|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.table.AbstractTableModel
org.jfree.ui.SortableTableModel
org.jfree.ui.about.SystemPropertiesTableModel
public class SystemPropertiesTableModel
A sortable table model containing the system properties.
| Nested Class Summary | |
|---|---|
protected static class |
SystemPropertiesTableModel.SystemProperty
Useful class for holding the name and value of a system property. |
protected static class |
SystemPropertiesTableModel.SystemPropertyComparator
A class for comparing SystemProperty objects. |
| Field Summary |
|---|
| Fields inherited from class javax.swing.table.AbstractTableModel |
|---|
listenerList |
| Constructor Summary | |
|---|---|
SystemPropertiesTableModel()
Creates a new table model using the properties of the current Java Virtual Machine. |
|
| Method Summary | |
|---|---|
int |
getColumnCount()
Returns the number of columns in the table model. |
java.lang.String |
getColumnName(int column)
Returns the name of the specified column. |
int |
getRowCount()
Returns the number of rows in the table model (that is, the number of system properties). |
java.lang.Object |
getValueAt(int row,
int column)
Returns the value at the specified row and column. |
boolean |
isSortable(int column)
Returns true for the first column, and false otherwise - sorting is only allowed on the first column. |
void |
sortByColumn(int column,
boolean ascending)
Sorts on the specified column. |
| Methods inherited from class org.jfree.ui.SortableTableModel |
|---|
getSortingColumn, isAscending, setAscending |
| Methods inherited from class javax.swing.table.AbstractTableModel |
|---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SystemPropertiesTableModel()
| Method Detail |
|---|
public boolean isSortable(int column)
isSortable in class SortableTableModelcolumn - the column index.
public int getRowCount()
public int getColumnCount()
public java.lang.String getColumnName(int column)
getColumnName in interface javax.swing.table.TableModelgetColumnName in class javax.swing.table.AbstractTableModelcolumn - the column index.
public java.lang.Object getValueAt(int row,
int column)
row - the row index.column - the column index.
public void sortByColumn(int column,
boolean ascending)
sortByColumn in class SortableTableModelcolumn - the column index.ascending - a flag that controls the sort order.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||