|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SequenceColumn>
ikayaki.gui.SequenceColumn
public enum SequenceColumn
Represents a column in the measurement sequence table. Calculates the values of that column.
Enum Constant Summary | |
---|---|
COUNT
Showing ordinal number of the measurement step, starting from number 1. |
|
DECLINATION
|
|
GEOGRAPHIC_X
|
|
GEOGRAPHIC_X_NORMALIZED
|
|
GEOGRAPHIC_Y
|
|
GEOGRAPHIC_Y_NORMALIZED
|
|
GEOGRAPHIC_Z
|
|
GEOGRAPHIC_Z_NORMALIZED
|
|
INCLINATION
|
|
MAGNETIZATION
|
|
MASS
Showing and editing the mass of the measurement step. |
|
MOMENT
|
|
RELATIVE_MAGNETIZATION
|
|
SAMPLE_X
|
|
SAMPLE_X_NORMALIZED
|
|
SAMPLE_Y
|
|
SAMPLE_Y_NORMALIZED
|
|
SAMPLE_Z
|
|
SAMPLE_Z_NORMALIZED
|
|
STEP
Showing and editing the stepValue of the measurement step. |
|
SUSCEPTIBILITY
Showing and editing the susceptibility of the measurement step. |
|
THETA63
|
|
VOLUME
Showing and editing the volume of the measurement step. |
Field Summary | |
---|---|
protected String |
columnName
|
private static StyledWrapper |
defaultWrapper
|
private static StyledWrapper |
doneRecentlyWrapper
|
private static Border |
editableCellBorder
|
private static Border |
editableCellFocusBorder
|
private static StyledWrapper |
headerWrapper
|
private static StyledWrapper |
measuringWrapper
|
protected NumberFormat |
numberFormat
|
protected String |
toolTipText
|
protected MeasurementValue |
value
|
Method Summary | |
---|---|
static SequenceColumn[] |
getAllColumns()
Returns all the columns supported by the program. |
Class<?> |
getColumnClass()
Returns the class of this column regardless of the row. |
String |
getColumnName(Project project)
Returns the name of this column. |
NumberFormat |
getNumberFormat()
Returns the number format used for rendering the numbers in this column. |
String |
getToolTipText(Project project)
Returns the tooltip text for this column. |
StyledWrapper |
getValue(int rowIndex,
Project project)
Returns the value for this column's specified row. |
boolean |
isCellEditable(int rowIndex,
Project project)
Tells whether the specified row in this column is editable. |
void |
setNumberFormat(NumberFormat numberFormat)
Sets the number format used for rendering the numbers in this column. |
void |
setValue(Object data,
int rowIndex,
Project project)
Sets the value for this column's specified row. |
static SequenceColumn |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SequenceColumn[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
StyledWrapper |
wrap(Object value,
int rowIndex,
Project project)
Wraps the specified object to a styled renderer's wrapper according to the state of the measurement step. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SequenceColumn COUNT
public static final SequenceColumn STEP
public static final SequenceColumn MASS
public static final SequenceColumn VOLUME
public static final SequenceColumn SUSCEPTIBILITY
public static final SequenceColumn GEOGRAPHIC_X
public static final SequenceColumn GEOGRAPHIC_Y
public static final SequenceColumn GEOGRAPHIC_Z
public static final SequenceColumn SAMPLE_X
public static final SequenceColumn SAMPLE_Y
public static final SequenceColumn SAMPLE_Z
public static final SequenceColumn GEOGRAPHIC_X_NORMALIZED
public static final SequenceColumn GEOGRAPHIC_Y_NORMALIZED
public static final SequenceColumn GEOGRAPHIC_Z_NORMALIZED
public static final SequenceColumn SAMPLE_X_NORMALIZED
public static final SequenceColumn SAMPLE_Y_NORMALIZED
public static final SequenceColumn SAMPLE_Z_NORMALIZED
public static final SequenceColumn DECLINATION
public static final SequenceColumn INCLINATION
public static final SequenceColumn MOMENT
public static final SequenceColumn MAGNETIZATION
public static final SequenceColumn RELATIVE_MAGNETIZATION
public static final SequenceColumn THETA63
Field Detail |
---|
private static final StyledWrapper defaultWrapper
private static final StyledWrapper measuringWrapper
private static final StyledWrapper doneRecentlyWrapper
private static final StyledWrapper headerWrapper
private static final Border editableCellBorder
private static final Border editableCellFocusBorder
protected String columnName
protected String toolTipText
protected MeasurementValue value
protected NumberFormat numberFormat
Method Detail |
---|
public static final SequenceColumn[] values()
for(SequenceColumn c : SequenceColumn.values()) System.out.println(c);
public static SequenceColumn valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic static SequenceColumn[] getAllColumns()
public StyledWrapper wrap(Object value, int rowIndex, Project project)
value
- the object to be wrapped.rowIndex
- the index of the row. Can be greater than the number of measurement steps.project
- the project whose value to get. Can be null.
public StyledWrapper getValue(int rowIndex, Project project)
rowIndex
- the index of the row. Can be greater than the number of measurement steps.project
- the project whose value to get. Can be null.
public void setValue(Object data, int rowIndex, Project project)
data
- new value for the cell.rowIndex
- the index of the row. Can be greater than the number of measurement steps.project
- the project whose value to set. Can be null.public boolean isCellEditable(int rowIndex, Project project)
rowIndex
- the index of the row. Can be greater than the number of measurement steps.project
- the project whose value to get. Can be null.
public String getColumnName(Project project)
project
- the open project or null if no project is active.public String getToolTipText(Project project)
project
- the open project or null if no project is active.
public Class<?> getColumnClass()
public NumberFormat getNumberFormat()
public void setNumberFormat(NumberFormat numberFormat)
NullPointerException
- if numberFormat is null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |