DESY ACOP Beans Home
com.cosylab.gui.components
Enum SliderSetMode
java.lang.Object
java.lang.Enum<SliderSetMode>
com.cosylab.gui.components.SliderSetMode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SliderSetMode>
public enum SliderSetMode
- extends java.lang.Enum<SliderSetMode>
SliderSetMode
describes different modes of setting value on the
slider.
- Version:
- $Id: SliderSetMode.java,v 1.4 2008-04-22 12:28:40 jbobnar Exp $
- Author:
- Jaka Bobnar
- See Also:
Slider
,
Slider.setSetMode(SliderSetMode)
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 |
SET_MANUAL
public static final SliderSetMode SET_MANUAL
SET_ON_RELEASE
public static final SliderSetMode SET_ON_RELEASE
SET_ON_CHANGE
public static final SliderSetMode SET_ON_CHANGE
values
public static SliderSetMode[] 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 (SliderSetMode c : SliderSetMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SliderSetMode 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
valueOf
public static SliderSetMode valueOf(int mode)
Copyright © 2010. All Rights Reserved.