public static enum OperationTableModel.OperationTableHeader extends java.lang.Enum<OperationTableModel.OperationTableHeader>
enums provide the name and index of
the columns in the Operations panel of the
MainWindow.MainWindow| Modifier and Type | Field and Description |
|---|---|
int |
COLUMN_NR
The column index of the
OperationTableHeader. |
java.lang.String |
GUI_TEXT
The GUI text of the
OperationTableHeader. |
| Modifier and Type | Method and Description |
|---|---|
static OperationTableModel.OperationTableHeader |
get(int theColumnIndex)
Returns the
OperationTableHeader corresponding
to the column index supplied as parameter. |
static java.lang.String |
getColumnName(int theColumnIndex)
Returns a
GUI_TEXT, corresponding to the column index
supplied as parameter. |
static OperationTableModel.OperationTableHeader |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OperationTableModel.OperationTableHeader[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationTableModel.OperationTableHeader OPERATION
public static final OperationTableModel.OperationTableHeader COLUMN
public static final OperationTableModel.OperationTableHeader DELAY
public final int COLUMN_NR
OperationTableHeader.public final java.lang.String GUI_TEXT
OperationTableHeader.public static OperationTableModel.OperationTableHeader[] values()
for (OperationTableModel.OperationTableHeader c : OperationTableModel.OperationTableHeader.values()) System.out.println(c);
public static OperationTableModel.OperationTableHeader valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic static java.lang.String getColumnName(int theColumnIndex)
GUI_TEXT, corresponding to the column index
supplied as parameter.
If no OperationTableHeader can be found with the
supplied index, the return String will be
"?" (without quotes).
theColumnIndex - The column index for which to get the
column name.String containing the column name.public static OperationTableModel.OperationTableHeader get(int theColumnIndex)
OperationTableHeader corresponding
to the column index supplied as parameter.theColumnIndex - The column index for which to get the
OperationTableHeader.OperationTableHeader if the column
index is valid, null otherwise.