public class Action extends EnumeratedType
Component.RENDER
,
Component.ENABLE
,
Serialized FormModifier and Type | Field and Description |
---|---|
static String |
ENABLE
ENABLE action name (for consistent name and use in annotations).
|
static String |
RENDER
RENDER action name (for consistent name and use in annotations).
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
getValues, readResolve
afterFirst, afterLast, beforeFirst, beforeLast, equals, hashCode, isEmpty, isNull, repeat, repeat, replaceAll, to, toBoolean, toBoolean, toBooleanObject, toChar, toChar, toCharacter, toDouble, toDouble, toDoubleObject, toDuration, toDuration, toEnum, toEnum, toEnum, toInt, toInt, toInteger, toLong, toLong, toLongObject, toOptional, toOptionalBoolean, toOptionalCharacter, toOptionalDouble, toOptionalDuration, toOptionalEnum, toOptionalInteger, toOptionalLong, toOptionalString, toOptionalTime, toString, toString, toTime, toTime, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf, valueOf
public static final String RENDER
DO NOT use for equals on Action, like
action.equals(Action.RENDER)as you'll compare an action with a string. Rather, do:
action.equals(Component.RENDER)
public static final String ENABLE
DO NOT use for equals on Action, like
action.equals(Action.ENABLE)as you'll compare an action with a string. Rather, do:
action.equals(Component.ENABLE)
public Action(String name)
name
- The name of this action for debug purposespublic String getName()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.