public class WidgetDefinitionImpl extends java.lang.Object implements WidgetDefinition
Constructor and Description |
---|
WidgetDefinitionImpl(java.lang.String klass,
boolean blankPreserved) |
Modifier and Type | Method and Description |
---|---|
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.
|
public WidgetDefinitionImpl(java.lang.String klass, boolean blankPreserved)
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 nameAbstractComponent.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
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.