|
|||||||||||
| 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.DynaTagSupport
org.apache.commons.jelly.MapTagSupport
org.apache.commons.jelly.tags.core.UseBeanTag
org.apache.commons.jelly.tags.swt.SwtHelper
A helper class for working with SWT.
| Field Summary |
| Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
| Constructor Summary | |
SwtHelper()
|
|
| Method Summary | |
static int |
getStyleCode(java.lang.Class constantClass,
java.lang.String text)
|
static int |
parseStyle(java.lang.Class constantClass,
java.lang.String text)
Parses the comma delimited String of style codes which are or'd together. |
static int |
parseStyle(java.lang.Class constantClass,
java.lang.String text,
boolean toUpperCase)
Parses the comma delimited String of style codes which are or'd together. |
| Methods inherited from class org.apache.commons.jelly.tags.core.UseBeanTag |
addIgnoreProperty, convertToClass, doTag, getBean, getDefaultClass, getIgnorePropertySet, isIgnoreUnknownProperties, loadClass, newInstance, processBean, setBean, setBeanProperties, setIgnoreUnknownProperties, validateBeanProperties |
| Methods inherited from class org.apache.commons.jelly.MapTagSupport |
createAttributes, getAttributes, setAttribute |
| Methods inherited from class org.apache.commons.jelly.DynaTagSupport |
getAttributeType |
| 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 |
| Methods inherited from interface org.apache.commons.jelly.Tag |
getBody, getContext, getParent, invokeBody, setBody, setContext, setParent |
| Constructor Detail |
public SwtHelper()
| Method Detail |
public static int parseStyle(java.lang.Class constantClass,
java.lang.String text)
throws org.apache.commons.jelly.JellyTagException
constantClass - is the type to look for static fieldstext - is a comma delimited text value such as "border, resize"
org.apache.commons.jelly.JellyTagException
public static int parseStyle(java.lang.Class constantClass,
java.lang.String text,
boolean toUpperCase)
throws org.apache.commons.jelly.JellyTagException
constantClass - is the type to look for static fieldstext - is a comma delimited text value such as "border, resize"toUpperCase - is whether the text should be converted to upper case
before its compared against the reflection fields
org.apache.commons.jelly.JellyTagException
public static int getStyleCode(java.lang.Class constantClass,
java.lang.String text)
throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||