public class Img extends AbstractAction
| Constructor and Description |
|---|
Img() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlign()
Returns the alignment.
|
String |
getAlt()
Returns the alt.
|
String |
getBorder()
Returns the border.
|
String |
getHeight()
Returns the height.
|
String |
getHspace()
Returns the hspace.
|
String |
getId()
Returns the id attribute.
|
String |
getOnclick()
Returns the onclick.
|
String |
getSclass()
Returns the style class.
|
String |
getSrc()
Returns the src (URL).
|
String |
getStyle()
Returns the style.
|
String |
getTitle()
Returns the title.
|
String |
getVspace()
Returns the vspace.
|
String |
getWidth()
Returns the width.
|
void |
render(ActionContext ac,
boolean nested)
Processes the action and renders the output to
ActionContext.getOut(). |
void |
setAlign(String align)
Sets the alignment.
|
void |
setAlt(String alt)
Sets the alt.
|
void |
setBorder(String border)
Sets the border.
|
void |
setHeight(String height)
Sets the height.
|
void |
setHspace(String hspace)
Sets the hspace.
|
void |
setId(String id)
Sets the id attribute.
|
void |
setOnclick(String onclick)
Sets the onclick.
|
void |
setSclass(String sclass)
Sets the style class.
|
void |
setSrc(String src)
Sets the src (URL).
|
void |
setStyle(String style)
Sets the style.
|
void |
setTitle(String title)
Sets the title.
|
void |
setVspace(String vspace)
Sets the vspace.
|
void |
setWidth(String width)
Sets the width.
|
String |
toString() |
append, append, append, getIf, getUnless, isEffective, setIf, setUnless, toScopepublic String getId()
public void setId(String id)
public String getSrc()
public void setSrc(String src)
public String getAlign()
public void setAlign(String align)
public String getAlt()
public void setAlt(String alt)
public String getBorder()
public void setBorder(String border)
public String getHspace()
public void setHspace(String hspace)
public String getVspace()
public void setVspace(String vspace)
public String getSclass()
public void setSclass(String sclass)
public String getStyle()
public void setStyle(String style)
public String getHeight()
public void setHeight(String height)
public String getWidth()
public void setWidth(String width)
public String getTitle()
public void setTitle(String title)
public String getOnclick()
public void setOnclick(String onclick)
public void render(ActionContext ac, boolean nested) throws DspException, IOException
ActionActionContext.getOut().nested - whether there is any nested content.DspExceptionIOExceptionCopyright © 2021. All rights reserved.