Chart FX 7 for Java Server

com.softwarefx.chartfx.server.annotation
Enum HitFlag

java.lang.Object
  extended by java.lang.Enum<HitFlag>
      extended by com.softwarefx.chartfx.server.annotation.HitFlag
All Implemented Interfaces:
Serializable, Comparable<HitFlag>

public enum HitFlag
extends Enum<HitFlag>

HitFlag enumerations.


Enum Constant Summary
ACTIVATE
          Activate.
CAPTURE
          Capture.
CURSOR
          Cursor.
MODIFY
          Modify.
MOVE
          Move.
MULTI
          Multi.
NO_HIT
          No hit.
SELECT
          Select.
SIZE
          Size.
SIZE_DOWN
          SizeDown.
SIZE_LEFT
          SizeLeft.
SIZE_RIGHT
          SizeRight.
SIZE_UP
          SizeUp.
 
Method Summary
static EnumSet<HitFlag> getEnumSetValue(int value)
          Returns a EnumSet that represents the given numeric value.
static HitFlag getEnumValue(int value)
          Returns a Enum Item that represents the given numeric value.
static int getUnderlyingValue(EnumSet<HitFlag> value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static int getUnderlyingValue(HitFlag value)
          Returns a numeric value that represents the given EnumSet or Enum item.
static HitFlag valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HitFlag[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NO_HIT

public static final HitFlag NO_HIT
No hit.


MOVE

public static final HitFlag MOVE
Move.


SELECT

public static final HitFlag SELECT
Select.


SIZE

public static final HitFlag SIZE
Size.


SIZE_UP

public static final HitFlag SIZE_UP
SizeUp.


SIZE_DOWN

public static final HitFlag SIZE_DOWN
SizeDown.


SIZE_LEFT

public static final HitFlag SIZE_LEFT
SizeLeft.


SIZE_RIGHT

public static final HitFlag SIZE_RIGHT
SizeRight.


MULTI

public static final HitFlag MULTI
Multi.


ACTIVATE

public static final HitFlag ACTIVATE
Activate.


MODIFY

public static final HitFlag MODIFY
Modify.


CAPTURE

public static final HitFlag CAPTURE
Capture.


CURSOR

public static final HitFlag CURSOR
Cursor.

Method Detail

values

public static HitFlag[] 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 (HitFlag c : HitFlag.values())
    System.out.println(c);

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

valueOf

public static HitFlag valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getEnumSetValue

public static EnumSet<HitFlag> getEnumSetValue(int value)

Returns a EnumSet that represents the given numeric value.

Parameters:
value - numeric representation of the Enumset.

getEnumValue

public static HitFlag getEnumValue(int value)

Returns a Enum Item that represents the given numeric value.

Parameters:
value - numeric representation of the Enum item.

getUnderlyingValue

public static int getUnderlyingValue(HitFlag value)

Returns a numeric value that represents the given EnumSet or Enum item.

Parameters:
value - A Enum Item or EnumSet.

getUnderlyingValue

public static int getUnderlyingValue(EnumSet<HitFlag> value)

Returns a numeric value that represents the given EnumSet or Enum item.

Parameters:
value - A Enum Item or EnumSet.

http://www.softwarefx.com

2008 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
All other names are trademarks or registered trademarks of their respective owners.