|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.web.servlet.dsp.action.AbstractAction org.zkoss.web.servlet.dsp.action.html.Box
public class Box
Generates a box that has a caption and a border enclosing other tags.
Constructor Summary | |
---|---|
Box()
|
Method Summary | |
---|---|
java.lang.String |
getAlign()
Returns the horizontal alignment. |
java.lang.String |
getCaption()
Returns the caption. |
java.lang.String |
getColor()
Returns the color. |
java.lang.String |
getSpacing()
Returns the spacing. |
java.lang.String |
getWidth()
Returns the width. |
boolean |
isShadow()
Returns whether this box has the shadow effect. |
void |
render(ActionContext ac,
boolean nested)
Processes the action and renders the output to ActionContext.getOut() . |
void |
setAlign(java.lang.String align)
Sets the horizontal alignment. |
void |
setCaption(java.lang.String caption)
Sets the caption. |
void |
setColor(java.lang.String color)
Sets the color. |
void |
setShadow(boolean shadow)
Sets whether this box has the shadow effect. |
void |
setSpacing(java.lang.String spacing)
Sets the spacing. |
void |
setWidth(java.lang.String width)
Sets the width. |
java.lang.String |
toString()
|
Methods inherited from class org.zkoss.web.servlet.dsp.action.AbstractAction |
---|
append, append, append, getIf, getUnless, isEffective, setIf, setUnless, toScope |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Box()
Method Detail |
---|
public java.lang.String getAlign()
public void setAlign(java.lang.String align)
public java.lang.String getColor()
public void setColor(java.lang.String color)
You might use any string that HTML supports.
public boolean isShadow()
public void setShadow(boolean shadow)
public java.lang.String getSpacing()
public void setSpacing(java.lang.String spacing)
public java.lang.String getWidth()
public void setWidth(java.lang.String width)
public java.lang.String getCaption()
public void setCaption(java.lang.String caption)
public void render(ActionContext ac, boolean nested) throws DspException, java.io.IOException
Action
ActionContext.getOut()
.
nested
- whether there is any nested content.
DspException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |