at.lcm.x2c.parameterEditor.widget
Enum SpinnerDoubleProperties.StepModeEntry
java.lang.Object
java.lang.Enum<SpinnerDoubleProperties.StepModeEntry>
at.lcm.x2c.parameterEditor.widget.SpinnerDoubleProperties.StepModeEntry
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SpinnerDoubleProperties.StepModeEntry>
- Enclosing class:
- SpinnerDoubleProperties
public static enum SpinnerDoubleProperties.StepModeEntry
- extends java.lang.Enum<SpinnerDoubleProperties.StepModeEntry>
The type of the entries of the StepMode CombiBox
Field Summary |
protected java.lang.String |
text
|
protected java.lang.String |
type
|
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 |
add
public static final SpinnerDoubleProperties.StepModeEntry add
mult
public static final SpinnerDoubleProperties.StepModeEntry mult
text
protected java.lang.String text
type
protected java.lang.String type
values
public static SpinnerDoubleProperties.StepModeEntry[] 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 (SpinnerDoubleProperties.StepModeEntry c : SpinnerDoubleProperties.StepModeEntry.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SpinnerDoubleProperties.StepModeEntry 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
getText
public java.lang.String getText()
getType
public java.lang.String getType()
toString
public java.lang.String toString()
- This test is shown in the control
- Overrides:
toString
in class java.lang.Enum<SpinnerDoubleProperties.StepModeEntry>
Copyright 2019 LCM. All rights reserved.