Module org.controlsfx.controls
Package org.controlsfx.control.action
Enum ActionUtils.ActionTextBehavior
- java.lang.Object
-
- java.lang.Enum<ActionUtils.ActionTextBehavior>
-
- org.controlsfx.control.action.ActionUtils.ActionTextBehavior
-
- All Implemented Interfaces:
Serializable
,Comparable<ActionUtils.ActionTextBehavior>
- Enclosing class:
- ActionUtils
public static enum ActionUtils.ActionTextBehavior extends Enum<ActionUtils.ActionTextBehavior>
Action text behavior. Defines uniform action's text behavior for multi-action controls such as toolbars and menus
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ActionUtils.ActionTextBehavior
valueOf(String name)
Returns the enum constant of this type with the specified name.static ActionUtils.ActionTextBehavior[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SHOW
public static final ActionUtils.ActionTextBehavior SHOW
Text is shown as usual on related control
-
HIDE
public static final ActionUtils.ActionTextBehavior HIDE
Text is not shown on the related control
-
-
Method Detail
-
values
public static ActionUtils.ActionTextBehavior[] 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 (ActionUtils.ActionTextBehavior c : ActionUtils.ActionTextBehavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActionUtils.ActionTextBehavior 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
-
-