org.jfree.ui.about
public class SystemPropertiesTableModel extends SortableTableModel
| 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.
|
| 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. |
| 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).
|
| 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.
|
Returns: the column count (always 2 in this case).
Parameters: column the column index.
Returns: the column name.
Returns: the row count.
Parameters: row the row index. column the column index.
Returns: the value.
Parameters: column the column index.
Returns: true for column 0, and false for all other columns.
Parameters: column the column index. ascending a flag that controls the sort order.