Enum AbstractVisualAction.VisualActionType
- java.lang.Object
-
- java.lang.Enum<AbstractVisualAction.VisualActionType>
-
- org.neotropic.kuwaiba.core.apis.integration.modules.actions.AbstractVisualAction.VisualActionType
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractVisualAction.VisualActionType>
- Enclosing class:
- AbstractVisualAction<W extends com.vaadin.flow.component.Component>
public static enum AbstractVisualAction.VisualActionType extends Enum<AbstractVisualAction.VisualActionType>
An enumeration with the possible behaviors of an action, such as opening a window, redirecting to a specific URL or replacing the current page contents.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TYPE_EMBEDDED
The action builds an embeddable component that will replace the current contents of the window (a Div or a Layout).TYPE_REDIRECTION
The action redirects to another page.TYPE_WINDOW
The action opens a new window (a Vaadin Dialog).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractVisualAction.VisualActionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractVisualAction.VisualActionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TYPE_WINDOW
public static final AbstractVisualAction.VisualActionType TYPE_WINDOW
The action opens a new window (a Vaadin Dialog).
-
TYPE_EMBEDDED
public static final AbstractVisualAction.VisualActionType TYPE_EMBEDDED
The action builds an embeddable component that will replace the current contents of the window (a Div or a Layout).
-
TYPE_REDIRECTION
public static final AbstractVisualAction.VisualActionType TYPE_REDIRECTION
The action redirects to another page.
-
-
Method Detail
-
values
public static AbstractVisualAction.VisualActionType[] 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 (AbstractVisualAction.VisualActionType c : AbstractVisualAction.VisualActionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractVisualAction.VisualActionType 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
-
-