|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.behavior.Behavior
org.odlabs.wiquery.core.behavior.WiQueryAbstractBehavior
org.odlabs.wiquery.ui.dialog.util.DialogUtilsBehavior
public class DialogUtilsBehavior
$Id: DialogResourcesBehavior.java
Behavior to load all needed resources for the Dialog
Contains some utilities
method to create very lightweight Dialog
Nested Class Summary | |
---|---|
static class |
DialogUtilsBehavior.DialogUtilsLanguages
Enumeration of possibles alternatives languages for the Dailog (Default local : EN) |
Field Summary | |
---|---|
static WiQueryJavaScriptResourceReference |
WIQUERY_DIALOG_JS
Constant of wiQuery Dialog resource |
Constructor Summary | |
---|---|
DialogUtilsBehavior()
|
Method Summary | |
---|---|
JsStatement |
errorDialog(String message)
Method creating an error Dialog |
Locale |
getLocale()
|
JsStatement |
questionDialog(String message)
Method creating a question Dialog |
void |
renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.html.IHeaderResponse response)
|
JsStatement |
simpleDialog(String title,
String message)
Method creating a simple dialog |
JsStatement |
statement()
Returns the main JsStatement used to create the plugin. |
WaitDialogStatements |
waitDialog()
Method creating a waiting dialog |
JsStatement |
warningDialog(String message)
Method creating a warning Dialog |
Methods inherited from class org.odlabs.wiquery.core.behavior.WiQueryAbstractBehavior |
---|
bind, getComponent, onBind |
Methods inherited from class org.apache.wicket.behavior.Behavior |
---|
afterRender, beforeRender, canCallListenerInterface, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onEvent, onException, unbind |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final WiQueryJavaScriptResourceReference WIQUERY_DIALOG_JS
Constructor Detail |
---|
public DialogUtilsBehavior()
Method Detail |
---|
public void renderHead(org.apache.wicket.Component component, org.apache.wicket.markup.html.IHeaderResponse response)
renderHead
in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributor
renderHead
in class org.apache.wicket.behavior.Behavior
public JsStatement errorDialog(String message)
message
- Message
JsStatement
public Locale getLocale()
public JsStatement questionDialog(String message)
message
- Message
JsStatement
public JsStatement simpleDialog(String title, String message)
title
- Titlemessage
- Message
JsStatement
public JsStatement statement()
IWiQueryPlugin
JsStatement
used to create the plugin.
statement
in interface IWiQueryPlugin
statement
in class WiQueryAbstractBehavior
JsStatement
corresponding to this component.public WaitDialogStatements waitDialog()
WaitDialogStatements
public JsStatement warningDialog(String message)
message
- Message
JsStatement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |