public class Box extends AbstractAction
| Constructor and Description |
|---|
Box() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlign()
Returns the horizontal alignment.
|
String |
getCaption()
Returns the caption.
|
String |
getColor()
Returns the color.
|
String |
getSpacing()
Returns the spacing.
|
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(String align)
Sets the horizontal alignment.
|
void |
setCaption(String caption)
Sets the caption.
|
void |
setColor(String color)
Sets the color.
|
void |
setShadow(boolean shadow)
Sets whether this box has the shadow effect.
|
void |
setSpacing(String spacing)
Sets the spacing.
|
void |
setWidth(String width)
Sets the width.
|
String |
toString() |
append, append, append, getIf, getUnless, isEffective, setIf, setUnless, toScopepublic String getAlign()
public void setAlign(String align)
public String getColor()
public void setColor(String color)
You might use any string that HTML supports.
public boolean isShadow()
public void setShadow(boolean shadow)
public String getSpacing()
public void setSpacing(String spacing)
public String getWidth()
public void setWidth(String width)
public String getCaption()
public void setCaption(String caption)
public void render(ActionContext ac, boolean nested) throws DspException, IOException
ActionActionContext.getOut().nested - whether there is any nested content.DspExceptionIOExceptionCopyright © 2018. All rights reserved.