|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ujorm.wicket.UjoEvent<U>
public class UjoEvent<U>
UjoEvent
| Constructor Summary | |
|---|---|
UjoEvent(String action,
org.apache.wicket.ajax.AjaxRequestTarget target)
Constructor |
|
UjoEvent(String action,
boolean dialogRequest,
U ujo,
org.apache.wicket.ajax.AjaxRequestTarget target)
Constructor for an Event |
|
UjoEvent(String action,
U ujo,
org.apache.wicket.ajax.AjaxRequestTarget target)
Constructor |
|
| Method Summary | ||
|---|---|---|
void |
addTarget(org.apache.wicket.Component... components)
Add required component to the target |
|
static
|
get(org.apache.wicket.event.IEvent<?> argEvent)
Get Payload type UjoEvent from the argument |
|
String |
getAction()
Get action |
|
U |
getDomain()
Get the ujo domain object |
|
org.apache.wicket.ajax.AjaxRequestTarget |
getTarget()
Get target |
|
org.apache.wicket.model.IModel<U> |
getUjoModel()
Get Ujo domain model |
|
boolean |
isAction(String... actions)
Check the the required actions from argument to match. |
|
boolean |
isAction(String action)
Is it the required action? |
|
boolean |
showDialog()
A request to open a dialog |
|
String |
toString()
To string |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UjoEvent(String action,
org.apache.wicket.ajax.AjaxRequestTarget target)
action - Required action codetarget - target
public UjoEvent(String action,
U ujo,
org.apache.wicket.ajax.AjaxRequestTarget target)
action - Required action codeujo - Optional data contexttarget - target
public UjoEvent(String action,
boolean dialogRequest,
U ujo,
org.apache.wicket.ajax.AjaxRequestTarget target)
action - Required action codedialogRequest - A request to open a dialogujo - Optional data context type of Ujotarget - Target| Method Detail |
|---|
public U getDomain()
public org.apache.wicket.model.IModel<U> getUjoModel()
public org.apache.wicket.ajax.AjaxRequestTarget getTarget()
public void addTarget(org.apache.wicket.Component... components)
public String getAction()
public final boolean isAction(String action)
action - Nullable argument
public final boolean isAction(String... actions)
action - Nullable argument
public boolean showDialog()
public String toString()
toString in class Objectpublic static <T> UjoEvent<T> get(org.apache.wicket.event.IEvent<?> argEvent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||