|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object portal.core.api.Component portal.core.api.Block
Field Summary | |
static java.lang.String |
DIV
|
static java.lang.String |
P
|
Constructor Summary | |
Block(java.lang.String blockType,
java.lang.String style,
Component child)
|
Method Summary | |
void |
draw(HtmlGraphics graphics)
With this method the component can render itself using the passed HtmlGraphics object. |
Methods inherited from class portal.core.api.Component |
afterRender, beforeRender, createDefaultModel, 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 |
Field Detail |
public static final java.lang.String P
public static final java.lang.String DIV
Constructor Detail |
public Block(java.lang.String blockType, java.lang.String style, Component child)
Method Detail |
public void draw(HtmlGraphics graphics) 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
graphics
- 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 |