|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gwtext.client.core.DomConfig
public class DomConfig
The Dom object spec. Can be configured with specs of children too. If no tag is specified then a div will be automatically generated with the specified attributes.
DomHelper.append(String, DomConfig),
ExtElement.createChild(DomConfig)| Constructor Summary | |
|---|---|
DomConfig()
Create a new DomConfig using a "div" tag. |
|
DomConfig(java.lang.String tag)
Create a new DomConfig. |
|
DomConfig(java.lang.String tag,
java.lang.String id)
Constructor. |
|
DomConfig(java.lang.String tag,
java.lang.String id,
java.lang.String cls)
Constructor. |
|
DomConfig(java.lang.String tag,
java.lang.String id,
java.lang.String cls,
java.lang.String html)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addAttribute(java.lang.String name,
java.lang.String value)
|
DomConfig |
addChild(DomConfig child)
Add a child element. |
com.google.gwt.core.client.JavaScriptObject |
getJsObject()
|
void |
setStyle(java.lang.String style)
Set the CSS style. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DomConfig()
public DomConfig(java.lang.String tag)
tag - the tag name
public DomConfig(java.lang.String tag,
java.lang.String id)
tag - the element tag nameid - the element id
public DomConfig(java.lang.String tag,
java.lang.String id,
java.lang.String cls)
tag - the element tag nameid - the element idcls - the element CSS class name
public DomConfig(java.lang.String tag,
java.lang.String id,
java.lang.String cls,
java.lang.String html)
tag - the element tag nameid - the element idcls - the element CSS class namehtml - the innerHTML for the element.| Method Detail |
|---|
public void setStyle(java.lang.String style)
style - the CSS stylepublic DomConfig addChild(DomConfig child)
child - the child element config
public void addAttribute(java.lang.String name,
java.lang.String value)
public com.google.gwt.core.client.JavaScriptObject getJsObject()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||