org.ujorm.wicket.component.form
Class FieldEvent

java.lang.Object
  extended by org.ujorm.wicket.component.form.FieldEvent

public class FieldEvent
extends Object

FieldEvent

Author:
Pavel Ponec

Constructor Summary
FieldEvent(String action, KeyRing sourceKey, org.apache.wicket.ajax.AjaxRequestTarget target)
           
 
Method Summary
static FieldEvent get(org.apache.wicket.event.IEvent<?> argEvent)
          Get Payload type UjoEvent from the argument
 String getAction()
           
 org.apache.wicket.ajax.AjaxRequestTarget getRequestTarget()
           
 Key getSourceKey()
           
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldEvent

public FieldEvent(String action,
                  KeyRing sourceKey,
                  org.apache.wicket.ajax.AjaxRequestTarget target)
Method Detail

getAction

public String getAction()

getSourceKey

public Key getSourceKey()

getRequestTarget

public org.apache.wicket.ajax.AjaxRequestTarget getRequestTarget()

isAction

public final boolean isAction(String action)
Is it the required action?

Parameters:
action - Nullable argument
Returns:
The true value for the match.

isAction

public final boolean isAction(String... actions)
Check the the required actions from argument to match.

Parameters:
action - Nullable argument
Returns:
The true value for the match.

toString

public String toString()
To string

Overrides:
toString in class Object

get

public static FieldEvent get(org.apache.wicket.event.IEvent<?> argEvent)
Get Payload type UjoEvent from the argument



Copyright © 2015. All Rights Reserved.