|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echo.AbstractComponent
net.sf.jzeno.echo.components.CustomComponent
net.sf.jzeno.echo.components.AsyncComponent
net.sf.jzeno.echo.components.async.AsyncIntegerEditor
public class AsyncIntegerEditor
Nested Class Summary | |
---|---|
class |
AsyncIntegerEditor.DefaultValidator
|
Nested classes/interfaces inherited from class net.sf.jzeno.echo.components.AsyncComponent |
---|
AsyncComponent.AsyncService, AsyncComponent.PropertyChangeDetector |
Field Summary |
---|
Constructor Summary | |
---|---|
AsyncIntegerEditor()
|
|
AsyncIntegerEditor(java.lang.Class beanClass,
java.lang.String property,
java.lang.String constructionHints)
|
Method Summary | |
---|---|
void |
applyContext()
|
java.lang.String |
getText()
|
void |
rebind()
This operation causes the component to reset it's content to that of the domain model. |
protected void |
renderHtml(java.io.PrintWriter out)
Render your component into HTML here. |
protected void |
renderJavascript(java.io.PrintWriter out)
Return some javascript that you which to execute for the current rendering of your component. |
protected void |
renderJavascriptLibrary(java.io.PrintWriter out)
If you whish to use some javascript functions/libraries you can return those in this method. |
void |
setText(java.lang.String text)
|
protected void |
update(java.lang.String input)
If you want to send information from you client back to the server to update state there, you can use the createUpdateScript function to generate a javascript function-call that will trigger an update. |
Methods inherited from class net.sf.jzeno.echo.components.AsyncComponent |
---|
createUpdateScript |
Methods inherited from class net.sf.jzeno.echo.components.CustomComponent |
---|
addValidator, fireActionEvent, fireActionEvent, fireActionEvent, getActionCommand, getBean, getBeanClass, getDecorator, getNullObject, getProperty, getValidationErrors, getValidators, getValue, isBound, isMarkedInvalid, isReadOnly, isRequired, isValid, markInvalid, markValid, preRender, removeValidator, setActionCommand, setBean, setBeanClass, setDecorator, setNullObject, setProperty, setReadOnly, setRequired, setValue, traceValue, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AsyncIntegerEditor()
public AsyncIntegerEditor(java.lang.Class beanClass, java.lang.String property, java.lang.String constructionHints)
Method Detail |
---|
public void rebind()
RebindableComponent
This operation causes the component to reset it's content to that of the domain model.
rebind
in interface RebindableComponent
rebind
in class CustomComponent
protected void renderHtml(java.io.PrintWriter out)
AsyncComponent
Render your component into HTML here.
renderHtml
in class AsyncComponent
protected void update(java.lang.String input)
AsyncComponent
If you want to send information from you client back to the server to update state there, you can use the createUpdateScript function to generate a javascript function-call that will trigger an update.
update
in class AsyncComponent
protected void renderJavascript(java.io.PrintWriter out)
AsyncComponent
Return some javascript that you which to execute for the current rendering of your component.
renderJavascript
in class AsyncComponent
public void applyContext()
applyContext
in interface Precreation
public java.lang.String getText()
public void setText(java.lang.String text)
protected void renderJavascriptLibrary(java.io.PrintWriter out)
AsyncComponent
If you whish to use some javascript functions/libraries you can return those in this method. If you return null, no javascript will be available to you rendered HTML. The implementation could take the form of returning a string constant, or it could load a .js file from disk, and return the content, or it could load a JavaScript library as a resource from you application classpath, etc...
renderJavascriptLibrary
in class AsyncComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |