java.lang.Object
ch.tocco.nice2.model.form.impl.form2.reader.handler.ActionHandler
All Implemented Interfaces:
IgnoreRemainingElementsHandler

public class ActionHandler extends Object implements IgnoreRemainingElementsHandler
Parser for action elements which may be inside a form, vertical-box, horizontal-box or table tag. Action tags which do not include a group, appId or endpoint attribute will be ignored. If the attribute "group" is set, the action will be parsed as a ActionGroupImpl otherwise it will be parsed as a ActionImpl
  • Constructor Details

    • ActionHandler

      public ActionHandler(ActionImpl action)
  • Method Details

    • label

      @Attribute("label") public void label(String label)
    • position

      @Attribute("position") public void position(String position)
    • icon

      @Attribute("icon") public void icon(String icon)
    • reactIcon

      @Attribute("react-icon") public void reactIcon(String icon)
    • minSelection

      @Attribute("minSelection") public void minSelection(int minSelection)
    • maxSelection

      @Attribute("maxSelection") public void maxSelection(int maxSelection)
    • showConfirmation

      @Attribute("showConfirmation") public void showConfirmation(boolean showConfirmation)
    • confirmationThreshold

      @Attribute("confirmationThreshold") public void confirmationThreshold(int confirmationThreshold)
    • runInBackground

      @Attribute("runInBackground") public void runInBackground(boolean runInBackground)
    • fullscreen

      @Attribute("fullscreen") public void fullscreen(boolean fullscreen)
    • scopes

      @Attribute("scopes") public void scopes(String scopes)
    • endpoint

      @Attribute("endpoint") public void endpoint(String endpoint)
    • appId

      @Attribute("appId") public void appId(String appId)
    • path

      @Attribute("path") public void path(String path)
    • actionType

      @Attribute("action-type") public void actionType(String type)
    • action

      @Element("action") @Cardinality(max=2147483647) public Object action(@Attribute("name") String id)
    • setUseLabel

      @Attribute("use-label") public void setUseLabel(String useLabel)
    • setDmsEntityModel

      @Attribute("dms-entity-model") public void setDmsEntityModel(String dmsEntityModel)
    • setDense

      @Attribute("button-type") public void setDense(String buttonType)
    • buttonStyle

      @Attribute("button-style") public void buttonStyle(String buttonStyle)
    • setOnlyShowOnEmptyColumn

      @Attribute("only-show-on-empty-column") public void setOnlyShowOnEmptyColumn(boolean onlyShowOnEmptyColumn)
    • conditionName

      @Attribute("condition-name") public void conditionName(String conditionName)
    • properties

      @Element("properties") public Object properties()