Class ActionDestination

java.lang.Object
com.suncode.pwfl.workflow.form.action.ActionDestination
Direct Known Subclasses:
ButtonDestination

@Api public class ActionDestination extends Object
Form areas affected by the action. Possible types are available in ActionDestination.Type. To create object use static methods, eg.:
  • ActionDestination.variable("param1");
Author:
RafaƂ Nowacki 3 gru 2015
  • Constructor Details

  • Method Details

    • getType

      public ActionDestination.Type getType()
    • getBindTo

      public String getBindTo()
    • setBindTo

      public void setBindTo(String bindTo)
    • matchesTarget

      public boolean matchesTarget(ActionTarget target)
    • form

      public static ActionDestination form()
      Returns instance of this object and point to the whole form area.
    • variable

      public static ActionDestination variable()
      Returns instance of this object and point to the form variable.
    • variable

      public static ActionDestination variable(String bindTo)
      Returns instance of this object and point to the form variable.
      Parameters:
      bindTo - Id of parameter to bind action.
    • variableSet

      public static ActionDestination variableSet()
      Returns instance of this object and point to the dynamic table.
    • variableSet

      public static ActionDestination variableSet(String bindTo)
      Returns instance of this object and point to the dynamic table.
      Parameters:
      bindTo - Id of parameter to bind action.
    • button

      @Deprecated(since="4.2", forRemoval=true) public static ActionDestination button()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns instance of this object and point to the button.
    • button

      public static ActionDestination button(String bindTo)
      Returns instance of this object and point to the button.
      Parameters:
      bindTo - Id of parameter to bind action.
    • button

      public static ActionDestination button(boolean allowAcceptButton)
      Returns instance of this object and point to the button.
      Parameters:
      allowAcceptButton - true if action can be attached to acceptation button
    • button

      public static ActionDestination button(String bindTo, boolean allowAcceptButton)
      Returns instance of this object and point to the button.
      Parameters:
      bindTo - Id of parameter to bind action
      allowAcceptButton - true if action can be attached to acceptation button
    • dtButton

      public static ActionDestination dtButton()
      Returns instance of this object and point to the button in table.
    • dtButton

      public static ActionDestination dtButton(String bindTo)
      Returns instance of this object and point to the button in table.
      Parameters:
      bindTo - Id of parameter to bind action
    • label

      public static ActionDestination label()
      Returns instance of this object and point to the label.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object