|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cookxml.cookswt.CookSwtLib
Field Summary | |
static String |
CANVAS
|
static String |
COMMAND_ATTR
the attribute for setting general commands |
static String |
COMPOSITE
|
static String |
CONTROL
|
static String |
DECORATIONS
|
static String |
DIALOG
|
static String |
ITEM
|
static String |
NAMESPACE
this is the namespace for CookSwt tags |
static String |
WIDGET
|
Constructor Summary | |
CookSwtLib()
|
Method Summary | |
static void |
addDialogTag(InheritableTagLibrary tagLibrary,
Class dialogClass)
a simple way of adding a Dialog tag. |
static void |
addDialogTag(InheritableTagLibrary tagLibrary,
Class dialogClass,
String parentTag)
a simple way of adding a Dialog tag. |
static void |
addWidgetTag(InheritableTagLibrary tagLibrary,
Class widgetClass,
String parentTag)
a simple way of adding a Widget tag. |
static InheritableTagLibrary |
createTagLibrary(InheritableTagLibrary commonTagLibrary)
This function creates the Swing tag library in http://cookxml.sf.net/cookswing/ namespace, with CookXml CommonLib tag library as its parent. |
static void |
setupTags(InheritableTagLibrary tagLibrary,
InheritableTagLibrary commonTagLibrary)
Setup the SWT tag library |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String NAMESPACE
public static final String CONTROL
public static final String DIALOG
public static final String WIDGET
public static final String COMPOSITE
public static final String CANVAS
public static final String ITEM
public static final String DECORATIONS
public static final String COMMAND_ATTR
Constructor Detail |
public CookSwtLib()
Method Detail |
public static void addWidgetTag(InheritableTagLibrary tagLibrary, Class widgetClass, String parentTag) throws CookXmlException
tagLibrary
- the tag library to be used.widgetClass
- the Widget classparentTag
- the parent tag
CookXmlException
public static void addDialogTag(InheritableTagLibrary tagLibrary, Class dialogClass) throws CookXmlException
tagLibrary
- the tag library to be used.dialogClass
- dialog class
CookXmlException
DIALOG
public static void addDialogTag(InheritableTagLibrary tagLibrary, Class dialogClass, String parentTag) throws CookXmlException
tagLibrary
- the tag library to be used.dialogClass
- dialog classparentTag
- the parent tag
CookXmlException
public static void setupTags(InheritableTagLibrary tagLibrary, InheritableTagLibrary commonTagLibrary) throws CookXmlException
tagLibrary
- the tag library to be setup
CookXmlException
public static InheritableTagLibrary createTagLibrary(InheritableTagLibrary commonTagLibrary)
commonTagLibrary
- The CookXml CommonLib tag library.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |