Class ButtonInfo

java.lang.Object
com.saperion.ngc.iform.button.ButtonInfo
All Implemented Interfaces:
Serializable

public class ButtonInfo extends Object implements Serializable
Information about a button (triggered event, save action...).
See Also:
  • Field Details

  • Constructor Details

    • ButtonInfo

      public ButtonInfo(ButtonInfo.EventType event, com.saperion.ngc.iform.xml.SaveActionType action)
      Parameters:
      event - Event type
      action - Action type
  • Method Details

    • 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