@Api public class ActionDestination extends Object
ActionDestination.Type
.
To create object use static methods, eg.:
ActionDestination.variable("param1");
Modifier and Type | Class and Description |
---|---|
static class |
ActionDestination.Type
Form areas affected by the action.
|
Modifier | Constructor and Description |
---|---|
protected |
ActionDestination(ActionDestination.Type type) |
protected |
ActionDestination(ActionDestination.Type type,
String bindTo) |
Modifier and Type | Method and Description |
---|---|
static ActionDestination |
button()
Deprecated.
use
button(boolean) |
static ActionDestination |
button(boolean allowAcceptButton)
Returns instance of this object and point to the button.
|
static ActionDestination |
button(String bindTo)
Returns instance of this object and point to the button.
|
static ActionDestination |
button(String bindTo,
boolean allowAcceptButton)
Returns instance of this object and point to the button.
|
static ActionDestination |
dtButton()
Returns instance of this object and point to the button in table.
|
static ActionDestination |
dtButton(String bindTo)
Returns instance of this object and point to the button in table.
|
boolean |
equals(Object obj) |
static ActionDestination |
form()
Returns instance of this object and point to the whole form area.
|
String |
getBindTo() |
ActionDestination.Type |
getType() |
int |
hashCode() |
static ActionDestination |
label()
Returns instance of this object and point to the label.
|
boolean |
matchesTarget(ActionTarget target) |
void |
setBindTo(String bindTo) |
static ActionDestination |
variable()
Returns instance of this object and point to the form variable.
|
static ActionDestination |
variable(String bindTo)
Returns instance of this object and point to the form variable.
|
static ActionDestination |
variableSet()
Returns instance of this object and point to the dynamic table.
|
static ActionDestination |
variableSet(String bindTo)
Returns instance of this object and point to the dynamic table.
|
protected ActionDestination(ActionDestination.Type type)
protected ActionDestination(ActionDestination.Type type, String bindTo)
public ActionDestination.Type getType()
public String getBindTo()
public void setBindTo(String bindTo)
public boolean matchesTarget(ActionTarget target)
public static ActionDestination form()
public static ActionDestination variable()
public static ActionDestination variable(String bindTo)
bindTo
- Id of parameter to bind action.public static ActionDestination variableSet()
public static ActionDestination variableSet(String bindTo)
bindTo
- Id of parameter to bind action.@Deprecated public static ActionDestination button()
button(boolean)
public static ActionDestination button(String bindTo)
bindTo
- Id of parameter to bind action.public static ActionDestination button(boolean allowAcceptButton)
allowAcceptButton
- true if action can be attached to acceptation buttonpublic static ActionDestination button(String bindTo, boolean allowAcceptButton)
bindTo
- Id of parameter to bind actionallowAcceptButton
- true if action can be attached to acceptation buttonpublic static ActionDestination dtButton()
public static ActionDestination dtButton(String bindTo)
bindTo
- Id of parameter to bind actionpublic static ActionDestination label()
Copyright © 2019 Suncode. All rights reserved.