public static enum NIVision.Tool extends Enum<NIVision.Tool>
Enum Constant and Description |
---|
ANNULUS_TOOL |
CLOSED_FREEHAND_TOOL |
FREEHAND_TOOL |
LINE_TOOL |
NO_TOOL |
OVAL_TOOL |
PAN_TOOL |
POINT_TOOL |
POLYGON_TOOL |
POLYLINE_TOOL |
RECTANGLE_TOOL |
ROTATED_RECT_TOOL |
SELECTION_TOOL |
ZOOM_OUT_TOOL |
ZOOM_TOOL |
Modifier and Type | Method and Description |
---|---|
static NIVision.Tool |
fromValue(int val) |
int |
getValue() |
static NIVision.Tool |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NIVision.Tool[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NIVision.Tool NO_TOOL
public static final NIVision.Tool SELECTION_TOOL
public static final NIVision.Tool POINT_TOOL
public static final NIVision.Tool LINE_TOOL
public static final NIVision.Tool RECTANGLE_TOOL
public static final NIVision.Tool OVAL_TOOL
public static final NIVision.Tool POLYGON_TOOL
public static final NIVision.Tool CLOSED_FREEHAND_TOOL
public static final NIVision.Tool ANNULUS_TOOL
public static final NIVision.Tool ZOOM_TOOL
public static final NIVision.Tool PAN_TOOL
public static final NIVision.Tool POLYLINE_TOOL
public static final NIVision.Tool FREEHAND_TOOL
public static final NIVision.Tool ROTATED_RECT_TOOL
public static final NIVision.Tool ZOOM_OUT_TOOL
public static NIVision.Tool[] values()
for (NIVision.Tool c : NIVision.Tool.values()) System.out.println(c);
public static NIVision.Tool valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static NIVision.Tool fromValue(int val)
public int getValue()
Copyright © 2015. All rights reserved.