|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.swt.ImageTag
This creates an image on the parent Widget.
| Field Summary |
| Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
| Constructor Summary | |
ImageTag()
|
|
| Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
|
org.eclipse.swt.widgets.Widget |
getParentWidget()
|
java.lang.String |
getResource()
Obtains the resource |
java.lang.String |
getSrc()
Method getSrc. |
java.lang.String |
getVar()
Obtain the variable name. |
void |
setResource(java.lang.String resource)
Sets the resource |
void |
setSrc(java.lang.String src)
Sets the src. |
void |
setVar(java.lang.String var)
Sets the variable name |
protected void |
setWidgetImage(org.eclipse.swt.widgets.Widget parent,
org.eclipse.swt.graphics.Image image)
Add image to a widget |
| Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ImageTag()
| Method Detail |
public void setResource(java.lang.String resource)
resource - image resource locationpublic java.lang.String getResource()
public void setVar(java.lang.String var)
public java.lang.String getVar()
public void setSrc(java.lang.String src)
src - The src to setpublic java.lang.String getSrc()
public org.eclipse.swt.widgets.Widget getParentWidget()
public void doTag(org.apache.commons.jelly.XMLOutput output)
throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagExceptionTag.doTag(org.apache.commons.jelly.XMLOutput)
protected void setWidgetImage(org.eclipse.swt.widgets.Widget parent,
org.eclipse.swt.graphics.Image image)
throws org.apache.commons.jelly.JellyTagException
parent - image -
org.apache.commons.jelly.JellyTagException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||