|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SequenceColumn> mavis.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
|
|
DIFFERENCE_DECLINATION
|
|
DIFFERENCE_INCLINATION
|
|
DIFFERENCE_MAGNETIZATION
|
|
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 java.lang.String |
columnName
|
private static StyledWrapper |
defaultWrapper
|
private static StyledWrapper |
doneRecentlyWrapper
|
private static javax.swing.border.Border |
editableCellBorder
|
private static javax.swing.border.Border |
editableCellFocusBorder
|
private static StyledWrapper |
headerWrapper
|
private static StyledWrapper |
measuringWrapper
|
protected java.text.NumberFormat |
numberFormat
|
protected java.lang.String |
toolTipText
|
protected MeasurementValue |
value
|
private static StyledWrapper |
warningWrapper
|
Method Summary | |
---|---|
static SequenceColumn[] |
getAllColumns()
Returns all the columns supported by the program. |
java.lang.Class<?> |
getColumnClass()
Returns the class of this column regardless of the row. |
java.lang.String |
getColumnName(Project project)
Returns the name of this column. |
java.text.NumberFormat |
getNumberFormat()
Returns the number format used for rendering the numbers in this column. |
java.lang.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(java.text.NumberFormat numberFormat)
Sets the number format used for rendering the numbers in this column. |
void |
setValue(java.lang.Object data,
int rowIndex,
Project project)
Sets the value for this column's specified row. |
static SequenceColumn |
valueOf(java.lang.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(java.lang.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
public static final SequenceColumn DIFFERENCE_MAGNETIZATION
public static final SequenceColumn DIFFERENCE_DECLINATION
public static final SequenceColumn DIFFERENCE_INCLINATION
Field Detail |
---|
private static final StyledWrapper defaultWrapper
private static final StyledWrapper measuringWrapper
private static final StyledWrapper doneRecentlyWrapper
private static final StyledWrapper warningWrapper
private static final StyledWrapper headerWrapper
private static final javax.swing.border.Border editableCellBorder
private static final javax.swing.border.Border editableCellFocusBorder
protected java.lang.String columnName
protected java.lang.String toolTipText
protected MeasurementValue value
protected java.text.NumberFormat numberFormat
Method Detail |
---|
public static final SequenceColumn[] values()
for(SequenceColumn c : SequenceColumn.values()) System.out.println(c);
public static SequenceColumn 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 namepublic static SequenceColumn[] getAllColumns()
public StyledWrapper wrap(java.lang.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(java.lang.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 java.lang.String getColumnName(Project project)
project
- the open project or null if no project is active.public java.lang.String getToolTipText(Project project)
project
- the open project or null if no project is active.
public java.lang.Class<?> getColumnClass()
public java.text.NumberFormat getNumberFormat()
public void setNumberFormat(java.text.NumberFormat numberFormat)
java.lang.NullPointerException
- if numberFormat is null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |