|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zk.ui.metainfo.impl.WidgetDefinitionImpl
public class WidgetDefinitionImpl
An implementation of WidgetDefinition.
Constructor Summary | |
---|---|
WidgetDefinitionImpl(java.lang.String klass,
boolean blankPreserved)
|
Method Summary | |
---|---|
void |
addMold(java.lang.String name,
java.lang.String moldURI)
Adds the mold URI for the specified mold. |
java.util.Collection<java.lang.String> |
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). |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WidgetDefinitionImpl(java.lang.String klass, boolean blankPreserved)
Method Detail |
---|
public java.lang.String getWidgetClass()
WidgetDefinition
getWidgetClass
in interface WidgetDefinition
public boolean isBlankPreserved()
WidgetDefinition
It is used only with iZUML.
isBlankPreserved
in interface WidgetDefinition
public void addMold(java.lang.String name, java.lang.String moldURI)
WidgetDefinition
addMold
in interface WidgetDefinition
name
- the mold name.moldURI
- an URI of the mold. Ignored if null.public java.lang.String getMoldURI(java.lang.String name)
WidgetDefinition
getMoldURI
in interface WidgetDefinition
name
- the mold name
AbstractComponent.redraw(java.io.Writer)
public boolean hasMold(java.lang.String name)
WidgetDefinition
hasMold
in interface WidgetDefinition
public java.util.Collection<java.lang.String> getMoldNames()
WidgetDefinition
getMoldNames
in interface WidgetDefinition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |