com.xinapse.multisliceimage.roi
Enum HistoryType

java.lang.Object
  extended by java.lang.Enum<HistoryType>
      extended by com.xinapse.multisliceimage.roi.HistoryType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HistoryType>

public enum HistoryType
extends java.lang.Enum<HistoryType>

An enumeration of the types of HistoryItem that are associated with ROIs.


Enum Constant Summary
CREATE
          HistoryType for ROI creation.
DELETE
          HistoryType for ROI deletion.
MODIFY
          HistoryType for ROI modification.
 
Method Summary
 java.lang.String toString()
          Returns a string describing this type of ROI History.
static HistoryType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HistoryType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CREATE

public static final HistoryType CREATE
HistoryType for ROI creation.


MODIFY

public static final HistoryType MODIFY
HistoryType for ROI modification.


DELETE

public static final HistoryType DELETE
HistoryType for ROI deletion.

Method Detail

values

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

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

valueOf

public static HistoryType 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
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()
Returns a string describing this type of ROI History.

Overrides:
toString in class java.lang.Enum<HistoryType>
Returns:
a string describing the type of ROI History.


Copyright 2006-2008 Xinapse Systems Limited. All Rights Reserved.