Package com.saperion.ngc.iform.button
Class ButtonInfo
- java.lang.Object
-
- com.saperion.ngc.iform.button.ButtonInfo
-
- All Implemented Interfaces:
java.io.Serializable
public class ButtonInfo extends java.lang.Object implements java.io.Serializable
Information about a button (triggered event, save action...).- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ButtonInfo.EventType
Types of events triggered by buttons contained in a form.
-
Field Summary
Fields Modifier and Type Field Description static java.util.List<ButtonInfo.EventType>
EVENTS
Events.static java.util.List<ButtonInfo.EventType>
WF_EVENTS
Workflow events.
-
Constructor Summary
Constructors Constructor Description ButtonInfo(ButtonInfo.EventType event, com.saperion.ngc.iform.xml.SaveActionType action)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ButtonInfo
fromButtonType(com.saperion.ngc.iform.xml.ButtonType buttonType)
Create a ButtonInfo from a ButtonType .com.saperion.ngc.iform.xml.SaveActionType
getActionType()
ButtonInfo.EventType
getEventType()
-
-
-
Field Detail
-
EVENTS
public static final java.util.List<ButtonInfo.EventType> EVENTS
Events.
-
WF_EVENTS
public static final java.util.List<ButtonInfo.EventType> WF_EVENTS
Workflow events.
-
-
Constructor Detail
-
ButtonInfo
public ButtonInfo(ButtonInfo.EventType event, com.saperion.ngc.iform.xml.SaveActionType action)
- Parameters:
event
- Event typeaction
- Action type
-
-
Method Detail
-
getEventType
public ButtonInfo.EventType getEventType()
- Returns:
- Event type
-
getActionType
public com.saperion.ngc.iform.xml.SaveActionType getActionType()
- Returns:
- Action type
-
fromButtonType
public static ButtonInfo fromButtonType(com.saperion.ngc.iform.xml.ButtonType buttonType)
Create a ButtonInfo from a ButtonType .- Parameters:
buttonType
- a description of the form button- Returns:
- a ButtonInfo matching to the ButtonType
-
-