Package com.tagtraum.beatunes.action
Enum BaseAction.SelectionCount
- java.lang.Object
-
- java.lang.Enum<BaseAction.SelectionCount>
-
- com.tagtraum.beatunes.action.BaseAction.SelectionCount
-
- All Implemented Interfaces:
Serializable
,Comparable<BaseAction.SelectionCount>
,Predicate<JTable>
- Enclosing class:
- BaseAction
public static enum BaseAction.SelectionCount extends Enum<BaseAction.SelectionCount> implements Predicate<JTable>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
MORE_THAN_ONE
ONE
ONE_OR_MORE
ZERO
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BaseAction.SelectionCount
valueOf(String name)
Returns the enum constant of this type with the specified name.static BaseAction.SelectionCount[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ZERO
public static final BaseAction.SelectionCount ZERO
-
ONE
public static final BaseAction.SelectionCount ONE
-
ONE_OR_MORE
public static final BaseAction.SelectionCount ONE_OR_MORE
-
MORE_THAN_ONE
public static final BaseAction.SelectionCount MORE_THAN_ONE
-
ANY
public static final BaseAction.SelectionCount ANY
-
-
Method Detail
-
values
public static BaseAction.SelectionCount[] 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 (BaseAction.SelectionCount c : BaseAction.SelectionCount.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BaseAction.SelectionCount 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
-
-