Enum Class SafeAction
- All Implemented Interfaces:
Serializable,Comparable<SafeAction>,Constable,ActionBarItem
A client-only
ActionBarItem with no endpoint.
This slice ships COLLAPSE (collapse the child row). Unlike an ActionRef, a safe action is
enabled immediately — including during an in-flight expand GET and after a failed GET — so the
user can dismiss a loading or error panel.
- Since:
- 10.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionlabel()Returns the built-in button label, painted withtextContent.static SafeActionReturns the enum constant of this class with the specified name.static SafeAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.wire()Returns the wire token stamped ontodata-juneau-safe.
-
Enum Constant Details
-
COLLAPSE
Collapse the expanded child row.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
wire
Returns the wire token stamped ontodata-juneau-safe.- Returns:
- The wire token (e.g.
"collapse").
-
label
Returns the built-in button label, painted withtextContent.- Returns:
- The label.
-