|
Chart FX 7 for Java Desktop | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<HitType>
com.softwarefx.chartfx.desktop.HitType
public enum HitType
Specifies what element of the chart was clicked during a HitTest.
Enum Constant Summary | |
---|---|
AXIS
Click was simulated on an Axis. |
|
AXIS_SECTION
Click was simulated on an AxisSection. |
|
BACKGROUND
Click was simulated on the Background. |
|
BETWEEN
Click was simulated between chart objects. |
|
CROSSHAIR
Click was simulated on a CrossHair. |
|
CUSTOM_GRID_LINE
Click was simulated on a CustromGridLine. |
|
DATA_GRID
Click was simulated on a DataGrid. |
|
DRAG
Click was simulated where a user was dragging an element. |
|
INSIDE_AREA
Click was simulated on the inside chart area. |
|
LEGEND_BOX
Click was simulated on a Legend. |
|
NONE
No click was simulated. |
|
OTHER
Click was simulated an element not listed. |
|
POINT
Click was simulated on a Point. |
|
SCROLL
Click was simulated on a scroll bar. |
|
TITLE
Click was simulated on a Title. |
|
ZOOM
Click was simulated on zoom. |
Method Summary | |
---|---|
static EnumSet<HitType> |
getEnumSetValue(int value)
Returns a EnumSet that represents the given numeric value. |
static HitType |
getEnumValue(int value)
Returns a Enum Item that represents the given numeric value. |
static int |
getUnderlyingValue(EnumSet<HitType> value)
Returns a numeric value that represents the given EnumSet or Enum item. |
static int |
getUnderlyingValue(HitType value)
Returns a numeric value that represents the given EnumSet or Enum item. |
static HitType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static HitType[] |
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 |
---|
public static final HitType NONE
public static final HitType BACKGROUND
public static final HitType INSIDE_AREA
public static final HitType BETWEEN
public static final HitType POINT
public static final HitType AXIS
public static final HitType TITLE
public static final HitType CUSTOM_GRID_LINE
public static final HitType DRAG
public static final HitType CROSSHAIR
public static final HitType ZOOM
public static final HitType SCROLL
public static final HitType LEGEND_BOX
public static final HitType DATA_GRID
public static final HitType OTHER
public static final HitType AXIS_SECTION
Method Detail |
---|
public static HitType[] values()
for (HitType c : HitType.values()) System.out.println(c);
public static HitType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static EnumSet<HitType> getEnumSetValue(int value)
Returns a EnumSet that represents the given numeric value.
value
- numeric representation of the Enumset.public static HitType getEnumValue(int value)
Returns a Enum Item that represents the given numeric value.
value
- numeric representation of the Enum item.public static int getUnderlyingValue(HitType value)
Returns a numeric value that represents the given EnumSet or Enum item.
value
- A Enum Item or EnumSet.public static int getUnderlyingValue(EnumSet<HitType> value)
Returns a numeric value that represents the given EnumSet or Enum item.
value
- A Enum Item or EnumSet.
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |