|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the interface the engine has to the widgets.
The responsibilities a view has is:
When we implement pluggable look-and-feel the rendering can be overrided by a look-and-feel. In that case the view needs to document how it parses a request well. This implies that the look-and-feel has a white-box view of the view.
Method Summary | |
View |
getContainer()
|
boolean |
isVisible()
Check whether this view is visible or not. |
void |
parse(RenderContext context)
When a view has registered during rendering for parsing in the RenderContext the context will call this method on the next request. |
void |
render(RenderContext context)
Render this view on the given context if the view is visible. |
void |
setContainer(View container)
|
void |
setVisible(boolean visible)
Specify whether this view is visible or not. |
java.lang.String |
uniqueId(RenderContext context)
The unique id is unique over an application instance. |
Method Detail |
public View getContainer()
public void setContainer(View container)
public java.lang.String uniqueId(RenderContext context)
public void render(RenderContext context) throws java.io.IOException
java.io.IOException
setVisible(boolean)
,
isVisible()
public void parse(RenderContext context)
public void setVisible(boolean visible)
public boolean isVisible()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |