public static enum SsrDrainTableModel.Column extends java.lang.Enum<SsrDrainTableModel.Column>
Enum Constant and Description |
---|
DURATION
The duration column.
|
END_DATE
The end date column.
|
LABEL
The label column.
|
MEGABITS
The megabits column.
|
RATE
The transfer rate column.
|
START_DATE
The start date column.
|
Modifier and Type | Method and Description |
---|---|
static int |
getColumnIndex(SsrDrainTableModel.Column column)
Gets the index of the column in this enumeration.
|
java.lang.String |
getName()
Gets the column's name.
|
static java.util.Map<java.lang.String,SsrDrainTableModel.Column> |
getNameMap()
Gets a map of column name to column enumeration member.
|
java.lang.Class |
getType()
Gets the column's type.
|
static SsrDrainTableModel.Column |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SsrDrainTableModel.Column[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SsrDrainTableModel.Column LABEL
getLabel()
method.
The getName()
value is "Label." The getType()
value is
String
.
public static final SsrDrainTableModel.Column START_DATE
getStartDate()
method.
The getName()
value is "Start Date." The getType()
value
is Date
.
public static final SsrDrainTableModel.Column END_DATE
getEndDate()
method.
The getName()
value is "End Date." The getType()
value is
Date
.
public static final SsrDrainTableModel.Column MEGABITS
public static final SsrDrainTableModel.Column DURATION
getDuration()
method.
The getName()
value is "Duration (s)." The getType()
value
is Double
.
public static final SsrDrainTableModel.Column RATE
public static SsrDrainTableModel.Column[] values()
for (SsrDrainTableModel.Column c : SsrDrainTableModel.Column.values()) System.out.println(c);
public static SsrDrainTableModel.Column 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 java.lang.String getName()
public java.lang.Class getType()
public static java.util.Map<java.lang.String,SsrDrainTableModel.Column> getNameMap()
public static int getColumnIndex(SsrDrainTableModel.Column column)
column
- the column.Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona