|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.javaseis.properties.AxisLabel
public class AxisLabel
This class encapsulates an axis label. The primary reason that an axis label is a class, instead of just a String, is to couple a name with a description. A secondary reason is to encourage (but not require) naming convention.
Field Summary | |
---|---|
static AxisLabel |
CHANNEL
The axis label for receiver channel. |
static AxisLabel |
CMP
The axis label for common midpoint. |
static AxisLabel |
CROSSLINE
The axis label for crossline number. |
static AxisLabel |
DEPTH
The axis label for vertical depth. |
static AxisLabel |
INLINE
The axis label for inline number. |
static AxisLabel |
OFFSET
The axis label for source-receiver offset. |
static AxisLabel |
OFFSET_BIN
The axis label for offset bin. |
static AxisLabel |
RECEIVER
The axis label for receiver. |
static AxisLabel |
RECEIVER_LINE
The axis label for receiver line number. |
static AxisLabel |
SAIL_LINE
The axis label for sail line. |
static AxisLabel |
SOURCE
The axis label for source. |
static AxisLabel |
TIME
The axis label for vertical time. |
static AxisLabel |
UNDEFINED
The axis label for the undefined case. |
static AxisLabel |
VOLUME
The axis label for volume number. |
Constructor Summary | |
---|---|
AxisLabel(java.lang.String name,
java.lang.String description)
Creates a new AxisLabel. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is equal to this object. |
static AxisLabel |
get(java.lang.String name)
Returns an exising AxisLabel by name, or null if none exists with the specified name. |
static AxisLabel[] |
getDefault(int ndim)
|
java.lang.String |
getDescription()
Returns the description of the axis label. |
java.lang.String |
getName()
Returns the name of the axis label. |
int |
hashCode()
Overrides Object.hashCode() because this class overrides Object.equals(). |
java.lang.String |
toString()
Returns a String representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final AxisLabel CHANNEL
public static final AxisLabel CMP
public static final AxisLabel CROSSLINE
public static final AxisLabel DEPTH
public static final AxisLabel INLINE
public static final AxisLabel OFFSET
public static final AxisLabel OFFSET_BIN
public static final AxisLabel RECEIVER
public static final AxisLabel RECEIVER_LINE
public static final AxisLabel SAIL_LINE
public static final AxisLabel SOURCE
public static final AxisLabel TIME
public static final AxisLabel UNDEFINED
public static final AxisLabel VOLUME
Constructor Detail |
---|
public AxisLabel(java.lang.String name, java.lang.String description)
the
- name of the axis label. Names are always promoted to upper case.the
- description of the axis label.Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- an object.
true
if the input object equals this
object, otherwise false
.public static AxisLabel get(java.lang.String name)
name
- the name of an AxisLabel;
public static AxisLabel[] getDefault(int ndim)
public java.lang.String getDescription()
public java.lang.String getName()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
String
representation of the object.
toString
in class java.lang.Object
String
representation of the object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |