|
|||||||||||
| 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.ColorTag
Class to create a Color instance within Jelly SWT.
| Field Summary |
| Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
| Constructor Summary | |
ColorTag()
|
|
| Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
Creates a Color instance as defined by the RGB attribute.
|
org.eclipse.swt.widgets.Widget |
getParentWidget()
|
java.lang.String |
getRgb()
Obtain the RGB value for this Color instance |
java.lang.String |
getVar()
Obtain the variable name. |
void |
setRgb(java.lang.String rgb)
Sets the RGB value for this Color instance |
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 ColorTag()
| Method Detail |
public void setRgb(java.lang.String rgb)
Color instance
rgb - value (eg. #666666);public java.lang.String getRgb()
Color instance
public void setVar(java.lang.String var)
var - the variable name of this Color instancepublic java.lang.String getVar()
Color instancepublic org.eclipse.swt.widgets.Widget getParentWidget()
public void doTag(org.apache.commons.jelly.XMLOutput output)
throws org.apache.commons.jelly.JellyTagException
Color instance as defined by the RGB attribute.
Stores this Color instance in the Context so that it can be
referenced in the Jelly script.
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 | ||||||||||