|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cookxml.core.CookXml cookxml.cookjface.CookJFace
Field Summary | |
static String |
ABSTRACT_LIST_VIEWER
|
static String |
CONTENT_VIEWER
|
static String |
LISTENERS
|
static String |
TABLE_VIEWER
|
static String |
VIEWER
|
Constructor Summary | |
CookJFace()
create a CookJFace which does not really use variables. |
|
CookJFace(Object varObj)
create a CookJFace with an object in which all variable names are looked up. |
|
CookJFace(VarLookup varLookup)
create a CookJFace with a variable lookup handler. |
Method Summary | |
static void |
addViewerTag(InheritableTagLibrary tagLibrary,
Class viewerClass,
Creator viewerCreator,
Class controlClass,
String parentTag)
a simple way of adding a Viewer tag. |
static DocumentBuilder |
getJFaceDocumentBuilder()
Get the default DocumentBuilder for creating a CookJFace object. |
static InheritableTagLibrary |
getJFaceTagLibrary()
Get the system wide jface tag library. |
static void |
setJFaceDocumentBuilder(DocumentBuilder docBuilder)
Set the default DocumentBuilder used for creating a CookJFace object. |
static void |
setJFaceTagLibrary(InheritableTagLibrary tagLibrary)
If you don't like the current jfaceTabLibrary, it is possible to replace it with your own. |
static void |
setSystemResourceBundle(ResourceBundle bundle)
set the system wide resource bundle for string translation. |
static void |
setupJFaceTags(InheritableTagLibrary tagLibrary)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String LISTENERS
public static final String VIEWER
public static final String CONTENT_VIEWER
public static final String ABSTRACT_LIST_VIEWER
public static final String TABLE_VIEWER
Constructor Detail |
public CookJFace()
public CookJFace(Object varObj)
varObj
- the object in which all variable names are looked up.public CookJFace(VarLookup varLookup)
varLookup
- the handler for handling variable lookupMethod Detail |
public static void addViewerTag(InheritableTagLibrary tagLibrary, Class viewerClass, Creator viewerCreator, Class controlClass, String parentTag) throws CookXmlException
viewerCreator
- tagLibrary
- the tag library to be used.viewerClass
- the Viewer classparentTag
- the parent tag
CookXmlException
public static void setupJFaceTags(InheritableTagLibrary tagLibrary) throws CookXmlException
CookXmlException
public static void setJFaceTagLibrary(InheritableTagLibrary tagLibrary)
tagLibrary
- the tag library to use instead.public static InheritableTagLibrary getJFaceTagLibrary()
public static DocumentBuilder getJFaceDocumentBuilder()
public static void setJFaceDocumentBuilder(DocumentBuilder docBuilder)
docBuilder
- the DocumentBuilder object to be used.public static void setSystemResourceBundle(ResourceBundle bundle)
bundle
- the resource bundle to be used.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |