Package adams.gui.core
Enum JComponentList.CheckBoxListItem.Actions
- java.lang.Object
-
- java.lang.Enum<JComponentList.CheckBoxListItem.Actions>
-
- adams.gui.core.JComponentList.CheckBoxListItem.Actions
-
- All Implemented Interfaces:
Serializable
,Comparable<JComponentList.CheckBoxListItem.Actions>
- Enclosing class:
- JComponentList.CheckBoxListItem
public static enum JComponentList.CheckBoxListItem.Actions extends Enum<JComponentList.CheckBoxListItem.Actions>
Available actions.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description REMOVE
the remove action.REMOVE_ALL
the remove all action.TOGGLE
the remove action.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplay()
Returns the display string.static JComponentList.CheckBoxListItem.Actions
valueOf(String name)
Returns the enum constant of this type with the specified name.static JComponentList.CheckBoxListItem.Actions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOGGLE
public static final JComponentList.CheckBoxListItem.Actions TOGGLE
the remove action.
-
REMOVE
public static final JComponentList.CheckBoxListItem.Actions REMOVE
the remove action.
-
REMOVE_ALL
public static final JComponentList.CheckBoxListItem.Actions REMOVE_ALL
the remove all action.
-
-
Field Detail
-
m_Display
protected String m_Display
the display string.
-
-
Method Detail
-
values
public static JComponentList.CheckBoxListItem.Actions[] 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 (JComponentList.CheckBoxListItem.Actions c : JComponentList.CheckBoxListItem.Actions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JComponentList.CheckBoxListItem.Actions valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getDisplay
public String getDisplay()
Returns the display string.- Returns:
- the display string
-
-