Package adams.gui.core
Enum JComponentList.LabelListItem.Actions
- java.lang.Object
-
- java.lang.Enum<JComponentList.LabelListItem.Actions>
-
- adams.gui.core.JComponentList.LabelListItem.Actions
-
- All Implemented Interfaces:
Serializable
,Comparable<JComponentList.LabelListItem.Actions>
- Enclosing class:
- JComponentList.LabelListItem
public static enum JComponentList.LabelListItem.Actions extends Enum<JComponentList.LabelListItem.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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplay()
Returns the display string.static JComponentList.LabelListItem.Actions
valueOf(String name)
Returns the enum constant of this type with the specified name.static JComponentList.LabelListItem.Actions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REMOVE
public static final JComponentList.LabelListItem.Actions REMOVE
the remove action.
-
REMOVE_ALL
public static final JComponentList.LabelListItem.Actions REMOVE_ALL
the remove all action.
-
-
Field Detail
-
m_Display
protected String m_Display
the display string.
-
-
Method Detail
-
values
public static JComponentList.LabelListItem.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.LabelListItem.Actions c : JComponentList.LabelListItem.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.LabelListItem.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
-
-