|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object portal.core.api.Component portal.comp.wizard.Wizard
Constructor Summary | |
Wizard()
|
Method Summary | |
void |
beforeRender()
This method is called before the actual rendering takes place. |
Model |
createDefaultModel()
This method is called by the constructor to create a default model for this component. |
void |
draw(HtmlGraphics htmlGraphics)
With this method the component can render itself using the passed HtmlGraphics object. |
WizardModel |
getWizardModel()
|
Methods inherited from class portal.core.api.Component |
afterRender, getLayout, getModel, getParent, isEnabled, isVisible, render, setEnabled, setLayout, setModel, setParent, setVisible, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Wizard()
Method Detail |
public WizardModel getWizardModel()
public Model createDefaultModel()
Component
This method is called by the constructor to create a default model for this component. If this component type does not use a model or does not have a suitable default model, this method can return null.
The default implementation should return null.
createDefaultModel
in class Component
public void beforeRender() throws RenderException
Component
This method is called before the actual rendering takes place. This is true
both when the draw() or a layout manager is used for rendering.
When this method throws an exception, the render process for the tree rooted at this component is stopped.
beforeRender
in interface Renderable
beforeRender
in class Component
RenderException
public void draw(HtmlGraphics htmlGraphics) throws RenderException
Component
With this method the component can render itself using the passed HtmlGraphics object.
This method is not called when a layout manager is set since the existence of a layout
manager takes precedence above the draw()
method.
draw
in class Component
htmlGraphics
- the html graphics instance to use for drawing this component
RenderException
- when the rendering process could not proceed or encountered an error
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |