Tag Documentation

[tag libraries] [tags]

The following document contains a summary of all theJellytag libraries.

Tag Libraries

[tag libraries] [tags]

LibraryDescription
jelly:swt

The JellySWT Library is a Jelly Library for creating Rich User Interfaces using SWT via XML markup (a Jelly script)

jelly:swt

The JellySWT Library is a Jelly Library for creating Rich User Interfaces using SWT via XML markup (a Jelly script)

Tag NameDescription
GCClass to create a org.eclipse.swt.graphics.GCinstance within Jelly SWT.
colorClass to create a org.eclipse.swt.graphics.Colorinstance within Jelly SWT.
dialogThis tag creates an SWT dialog.
fontClass to create a org.eclipse.swt.graphics.Fontinstance within Jelly SWT.
imageThis creates an image on the parent Widget.
layoutCreates a new Layout implementations and adds it to the parent Widget.
layoutDataCreates a LayoutData object and sets it on the parent Widget.
menuThis tag creates an SWT Menu
onEventA tag which implements a Listener to allow events to be processed byJelly scripts
swtHelperA helper class for working with SWT.
widgetThis tag creates an SWT widget based on the parent tag, optionally declaringthis widget as a variable if the var attribute is specified.

Tags

[tag libraries] [tags]

swt:GC

Class to create a org.eclipse.swt.graphics.GCinstance within Jelly SWT.

Attribute NameTypeDescription
drawableorg.eclipse.swt.graphics.DrawableSet the org.eclipse.swt.graphics.Drawablename for this org.eclipse.swt.graphics.GC.
escapeTextboolean
trimboolean
varjava.lang.StringSets the variable name.

swt:color

Class to create a org.eclipse.swt.graphics.Colorinstance within Jelly SWT.

Attribute NameTypeDescription
escapeTextboolean
rgbjava.lang.StringSets the RGB value for this org.eclipse.swt.graphics.Colorinstance
trimboolean
varjava.lang.StringSets the variable name

swt:dialog

This tag creates an SWT dialog.

Attribute NameTypeDescription
escapeTextboolean
ignoreUnknownPropertiesboolean
trimboolean

swt:font

Class to create a org.eclipse.swt.graphics.Fontinstance within Jelly SWT.

Attribute NameTypeDescription
escapeTextboolean
sizeintSet the size of this org.eclipse.swt.graphics.Font
stylejava.lang.StringSet the style of this org.eclipse.swt.graphics.Font(eg. bold, normal, italics)
trimboolean
typejava.lang.StringSet the type of this org.eclipse.swt.graphics.Font
varjava.lang.StringSets the variable name

swt:image

This creates an image on the parent Widget.

Attribute NameTypeDescription
escapeTextboolean
resourcejava.lang.StringSets the resource
srcjava.lang.StringSets the src.
trimboolean
varjava.lang.StringSets the variable name

swt:layout

Creates a new Layout implementations and adds it to the parent Widget.

Attribute NameTypeDescription
escapeTextboolean
ignoreUnknownPropertiesboolean
trimboolean
varjava.lang.StringSets the name of the variable to use to expose the new Layout object.If this attribute is not set then the parent widget tag will have itslayout property set.

swt:layoutData

Creates a LayoutData object and sets it on the parent Widget.

Attribute NameTypeDescription
escapeTextboolean
ignoreUnknownPropertiesboolean
trimboolean
varjava.lang.StringSets the name of the variable to use to expose the new Layout object.If this attribute is not set then the parent widget tag will have itslayout property set.

swt:menu

This tag creates an SWT Menu

Attribute NameTypeDescription
escapeTextboolean
ignoreUnknownPropertiesboolean
trimboolean

swt:onEvent

A tag which implements a Listener to allow events to be processed byJelly scripts

Attribute NameTypeDescription
escapeTextboolean
trimboolean
typejava.lang.StringSets the type of the event listener to listen for.
varjava.lang.StringSets the name of the variable to use to expose the event object whenit is fired. If not specified this defaults to "event"

swt:swtHelper

A helper class for working with SWT.

Attribute NameTypeDescription
escapeTextboolean
ignoreUnknownPropertiesboolean
trimboolean

swt:widget

This tag creates an SWT widget based on the parent tag, optionally declaringthis widget as a variable if the var attribute is specified.

Attribute NameTypeDescription
escapeTextboolean
ignoreUnknownPropertiesboolean
trimboolean