|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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.WidgetTag org.apache.commons.jelly.tags.swt.MenuTag
This tag creates an SWT Menu
Field Summary |
Fields inherited from class org.apache.commons.jelly.tags.swt.WidgetTag |
parent |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, shouldTrim |
Constructor Summary | |
MenuTag()
|
|
MenuTag(int style)
|
Method Summary | |
protected void |
attachWidgets(java.lang.Object parent,
org.eclipse.swt.widgets.Widget widget)
Provides a strategy method to allow a new child widget to be attached to its parent |
protected java.lang.Object |
createWidget(java.lang.Class theClass,
org.eclipse.swt.widgets.Widget parent,
int style)
Factory method to create an instance of the given Widget class with the given parent and SWT style |
Methods inherited from class org.apache.commons.jelly.tags.swt.WidgetTag |
clearBean, doTag, getColor, getParentWidget, getStyle, getWidget, newInstance, setBeanProperties, setSize, toString |
Methods inherited from class org.apache.commons.jelly.tags.core.UseBeanTag |
addIgnoreProperty, convertToClass, getBean, getDefaultClass, getIgnorePropertySet, isIgnoreUnknownProperties, loadClass, processBean, setBean, 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, wait, wait, wait |
Methods inherited from interface org.apache.commons.jelly.Tag |
getBody, getContext, getParent, invokeBody, setBody, setContext, setParent |
Constructor Detail |
public MenuTag()
public MenuTag(int style)
Method Detail |
protected void attachWidgets(java.lang.Object parent, org.eclipse.swt.widgets.Widget widget)
attachWidgets
in class WidgetTag
parent
- is the parent widget which is never nullwidget
- is the new child widget to be attached to the parentprotected java.lang.Object createWidget(java.lang.Class theClass, org.eclipse.swt.widgets.Widget parent, int style) throws org.apache.commons.jelly.JellyTagException
WidgetTag
createWidget
in class WidgetTag
theClass
- is the type of widget to createparent
- is the parent widgetstyle
- the SWT style code
org.apache.commons.jelly.JellyTagException
WidgetTag.createWidget(java.lang.Class, org.eclipse.swt.widgets.Widget, int)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |