| java.lang.Object org.zkoss.web.servlet.dsp.action.AbstractAction org.zkoss.web.servlet.dsp.action.html.Box
Box | public class Box extends AbstractAction (Code) | | Generates a box that has a caption and a border enclosing other tags.
author: tomyeh |
getAlign | public String getAlign()(Code) | | Returns the horizontal alignment.
Default: null.
|
getCaption | public String getCaption()(Code) | | Returns the caption.
Default: null (no caption at all).
|
getColor | public String getColor()(Code) | | Returns the color.
Default: black.
|
getSpacing | public String getSpacing()(Code) | | Returns the spacing.
Default: 3.
|
getWidth | public String getWidth()(Code) | | Returns the width.
Default: 100%.
|
isShadow | public boolean isShadow()(Code) | | Returns whether this box has the shadow effect.
Default: false.
|
setAlign | public void setAlign(String align)(Code) | | Sets the horizontal alignment.
|
setCaption | public void setCaption(String caption)(Code) | | Sets the caption.
|
setColor | public void setColor(String color)(Code) | | Sets the color.
You might use any string that HTML supports.
|
setShadow | public void setShadow(boolean shadow)(Code) | | Sets whether this box has the shadow effect.
|
setSpacing | public void setSpacing(String spacing)(Code) | | Sets the spacing.
|
setWidth | public void setWidth(String width)(Code) | | Sets the width.
|
Fields inherited from org.zkoss.web.servlet.dsp.action.AbstractAction | final protected static int NULL_INT(Code)(Java Doc) final protected static short NULL_SHORT(Code)(Java Doc)
|
Methods inherited from org.zkoss.web.servlet.dsp.action.AbstractAction | final protected static void append(StringBuffer sb, String attrName, String attrValue)(Code)(Java Doc) protected static void append(StringBuffer sb, String attrName, boolean avail)(Code)(Java Doc) final protected static void append(StringBuffer sb, String attrName, int val)(Code)(Java Doc) public boolean getIf()(Code)(Java Doc) public boolean getUnless()(Code)(Java Doc) public boolean isEffective()(Code)(Java Doc) final protected static void put(Map params, String attrName, String attrValue)(Code)(Java Doc) final protected static void put(Map params, String attrName, boolean avail)(Code)(Java Doc) final protected static void put(Map params, String attrName, int val)(Code)(Java Doc) final protected static void put(Map params, String attrName, Object attrValue)(Code)(Java Doc) public void setIf(boolean ifcond)(Code)(Java Doc) public void setUnless(boolean unless)(Code)(Java Doc) final protected static int toScope(String scope)(Code)(Java Doc)
|
|
|