Package com.saperion.ngc.iform.button
Class ButtonInfo
java.lang.Object
com.saperion.ngc.iform.button.ButtonInfo
- All Implemented Interfaces:
Serializable
Information about a button (triggered event, save action...).
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumTypes of events triggered by buttons contained in a form. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final List<ButtonInfo.EventType>Events.static final List<ButtonInfo.EventType>Workflow events. -
Constructor Summary
ConstructorsConstructorDescriptionButtonInfo(ButtonInfo.EventType event, com.saperion.ngc.iform.xml.SaveActionType action) -
Method Summary
Modifier and TypeMethodDescriptionstatic ButtonInfofromButtonType(com.saperion.ngc.iform.xml.ButtonType buttonType) Create a ButtonInfo from a ButtonType .com.saperion.ngc.iform.xml.SaveActionType
-
Field Details
-
EVENTS
Events. -
WF_EVENTS
Workflow events.
-
-
Constructor Details
-
ButtonInfo
- Parameters:
event- Event typeaction- Action type
-
-
Method Details
-
getEventType
- Returns:
- Event type
-
getActionType
public com.saperion.ngc.iform.xml.SaveActionType getActionType()- Returns:
- Action type
-
fromButtonType
Create a ButtonInfo from a ButtonType .- Parameters:
buttonType- a description of the form button- Returns:
- a ButtonInfo matching to the ButtonType
-