|
|||||||||||
| 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.GCTag
Class to create a GC instance within Jelly SWT.
| Field Summary |
| Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
| Constructor Summary | |
GCTag()
|
|
| Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
Creates a GC instance and stores it in the Context under a
particular variable name. |
org.eclipse.swt.graphics.Drawable |
getDrawable()
Obtain the Drawable name for this GC. |
java.lang.String |
getVar()
Obtain the variable name. |
void |
setDrawable(org.eclipse.swt.graphics.Drawable drawable)
Set the Drawable name for this GC. |
void |
setVar(java.lang.String var)
Sets the variable name. |
| 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 GCTag()
| Method Detail |
public org.eclipse.swt.graphics.Drawable getDrawable()
Drawable name for this GC.
GC Drawablepublic void setDrawable(org.eclipse.swt.graphics.Drawable drawable)
Drawable name for this GC.
drawable - a GC Drawablepublic void setVar(java.lang.String var)
var - the variable name of this GC instancepublic java.lang.String getVar()
GC instance
public void doTag(org.apache.commons.jelly.XMLOutput output)
throws org.apache.commons.jelly.JellyTagException
GC instance and stores it in the Context under a
particular variable name. Note, GC objects can only be created on
Drawable objects.
output - XMLOutput reference
org.apache.commons.jelly.JellyTagException - if an error occursTag.doTag(org.apache.commons.jelly.XMLOutput)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||