Class 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
    • Constructor Detail

      • ButtonInfo

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

      • 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