|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WidgetDefinition
A widget definition. A widget is an UI object at the client.
LanguageDefinition.getWidgetDefinition(java.lang.String)
Method Summary | |
---|---|
void |
addMold(java.lang.String name,
java.lang.String moldURI,
java.lang.String cssURI,
java.lang.String z2cURI)
Adds the mold URI for the specified mold. |
java.lang.String |
getCSSURI(java.lang.String name)
Returns the URI (String) of the CSS file of the mold, or null if not available. |
java.util.Collection |
getMoldNames()
Returns a collection of the mold names that have the molde URL. |
java.lang.String |
getMoldURI(java.lang.String name)
Returns the URI (String) of the template to generate the mold, or null if not available. |
java.lang.String |
getWidgetClass()
Returns the widget class (a JavaScript class). |
java.lang.String |
getZ2CURI(java.lang.String name)
Returns the URI (String) of the Z2C file of the mold, or null if not available. |
boolean |
hasMold(java.lang.String name)
Returns whether the mold URI exists for the given mold. |
boolean |
isBlankPreserved()
Returns whether to preserve the blank text. |
Method Detail |
---|
java.lang.String getWidgetClass()
java.util.Collection getMoldNames()
boolean hasMold(java.lang.String name)
void addMold(java.lang.String name, java.lang.String moldURI, java.lang.String cssURI, java.lang.String z2cURI)
name
- the mold name.moldURI
- an URI of the mold. Ignored if null.cssURI
- an URI of the CSS. Ignored if null.z2cURI
- an URI of the ZCS-to-CSS converter. Not supported yet.
Since 5.0, it doesn't allow any XEL expressions.java.lang.String getMoldURI(java.lang.String name)
name
- the mold name
AbstractComponent.redraw(java.io.Writer)
java.lang.String getCSSURI(java.lang.String name)
name
- the mold name
java.lang.String getZ2CURI(java.lang.String name)
name
- the mold name
boolean isBlankPreserved()
It is used only with iZUML.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |