edu.mines.jtk.mosaic
Enum PointsView.Mark

java.lang.Object
  extended by java.lang.Enum<PointsView.Mark>
      extended by edu.mines.jtk.mosaic.PointsView.Mark
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PointsView.Mark>
Enclosing class:
PointsView

public static enum PointsView.Mark
extends java.lang.Enum<PointsView.Mark>

The style of mark plotted at points (x1,x2). The default mark style is none.


Enum Constant Summary
ASTERISK
           
CROSS
           
FILLED_CIRCLE
           
FILLED_SQUARE
           
HOLLOW_CIRCLE
           
HOLLOW_SQUARE
           
NONE
           
PLUS
           
POINT
           
 
Method Summary
static PointsView.Mark valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PointsView.Mark[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
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

NONE

public static final PointsView.Mark NONE

POINT

public static final PointsView.Mark POINT

PLUS

public static final PointsView.Mark PLUS

CROSS

public static final PointsView.Mark CROSS

ASTERISK

public static final PointsView.Mark ASTERISK

HOLLOW_CIRCLE

public static final PointsView.Mark HOLLOW_CIRCLE

HOLLOW_SQUARE

public static final PointsView.Mark HOLLOW_SQUARE

FILLED_CIRCLE

public static final PointsView.Mark FILLED_CIRCLE

FILLED_SQUARE

public static final PointsView.Mark FILLED_SQUARE
Method Detail

values

public static final PointsView.Mark[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(PointsView.Mark c : PointsView.Mark.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static PointsView.Mark valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name