public class FieldEvent extends Object
| Modifier and Type | Field and Description |
|---|---|
static FieldEvent |
EMPTY_EVENT
Undefined event with
null action |
| Constructor and Description |
|---|
FieldEvent(String action,
org.ujorm.core.KeyRing sourceKey,
org.apache.wicket.ajax.AjaxRequestTarget target) |
| Modifier and Type | Method and Description |
|---|---|
static FieldEvent |
get(org.apache.wicket.event.IEvent<?> argEvent)
Get Payload type UjoEvent from the argument
|
String |
getAction() |
org.apache.wicket.ajax.AjaxRequestTarget |
getRequestTarget() |
org.ujorm.Key |
getSourceKey() |
boolean |
hasAction()
Check of the action has an length
|
boolean |
isAction(String... actions)
Check the the required actions from argument to match.
|
boolean |
isAction(String action)
Is it the required action?
|
String |
toString()
To string
|
public static final FieldEvent EMPTY_EVENT
null actionpublic FieldEvent(String action, org.ujorm.core.KeyRing sourceKey, org.apache.wicket.ajax.AjaxRequestTarget target)
public boolean hasAction()
public String getAction()
public org.ujorm.Key getSourceKey()
public org.apache.wicket.ajax.AjaxRequestTarget getRequestTarget()
public final boolean isAction(String action)
action - Nullable argumentpublic final boolean isAction(String... actions)
actions - Nullable argument@Nonnull public static FieldEvent get(@Nonnull org.apache.wicket.event.IEvent<?> argEvent)
Copyright © 2019. All rights reserved.