DESY ACOP Beans Home
com.cosylab.gui.components
Enum Slider.Button
java.lang.Object
java.lang.Enum<Slider.Button>
com.cosylab.gui.components.Slider.Button
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Slider.Button>
- Enclosing class:
- Slider
public static enum Slider.Button
- extends java.lang.Enum<Slider.Button>
Button identifiers for any of the buttons used in the Slider.
- Version:
- $Id: Slider.java,v 1.84 2009-01-12 12:46:02 jbobnar Exp $
- Author:
- Jaka Bobnar
- See Also:
Slider.setButtonTooltip(com.cosylab.gui.components.Slider.Button, String)
Method Summary |
static Slider.Button |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Slider.Button[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
FAST_INCREMENT
public static final Slider.Button FAST_INCREMENT
FAST_DECREMENT
public static final Slider.Button FAST_DECREMENT
BIT_INCREMENT
public static final Slider.Button BIT_INCREMENT
BIT_DECREMENT
public static final Slider.Button BIT_DECREMENT
SLOW_INCREMENT
public static final Slider.Button SLOW_INCREMENT
SLOW_DECREMENT
public static final Slider.Button SLOW_DECREMENT
values
public static Slider.Button[] 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 (Slider.Button c : Slider.Button.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Slider.Button 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
Copyright © 2010. All Rights Reserved.