public static enum NIVision.LineGaugeMethod extends Enum<NIVision.LineGaugeMethod>
Enum Constant and Description |
---|
EDGE_TO_EDGE |
EDGE_TO_POINT |
POINT_TO_EDGE |
POINT_TO_POINT |
Modifier and Type | Method and Description |
---|---|
static NIVision.LineGaugeMethod |
fromValue(int val) |
int |
getValue() |
static NIVision.LineGaugeMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NIVision.LineGaugeMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NIVision.LineGaugeMethod EDGE_TO_EDGE
public static final NIVision.LineGaugeMethod EDGE_TO_POINT
public static final NIVision.LineGaugeMethod POINT_TO_EDGE
public static final NIVision.LineGaugeMethod POINT_TO_POINT
public static NIVision.LineGaugeMethod[] values()
for (NIVision.LineGaugeMethod c : NIVision.LineGaugeMethod.values()) System.out.println(c);
public static NIVision.LineGaugeMethod 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.LineGaugeMethod fromValue(int val)
public int getValue()
Copyright © 2015. All rights reserved.