com.bstek.dorado.view
public abstract class AbstractViewElement extends java.lang.Object implements ViewElement, TagSupport, Ignorable, UserDataSupport, MetaDataSupport
Constructor and Description |
---|
AbstractViewElement() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
返回组件的id。
|
java.util.Collection<ViewElement> |
getInnerElements() |
java.util.Map<java.lang.String,java.lang.Object> |
getMetaData() |
ViewElement |
getParent()
返回控件的父控件,即控件所属的容器。
|
java.lang.String |
getTags()
返回用于保存自定义信息的对象。
|
java.lang.Object |
getUserData() |
View |
getView() |
boolean |
isIgnored() |
void |
registerInnerElement(ViewElement element) |
void |
setId(java.lang.String id)
设置组件的id。
|
void |
setIgnored(boolean ignored) |
void |
setMetaData(java.util.Map<java.lang.String,java.lang.Object> metaData) |
void |
setParent(ViewElement parent)
设置控件的父控件,即控件所属的容器。
|
void |
setTags(java.lang.String tags)
设置用于保存自定义信息的对象。
|
void |
setUserData(java.lang.Object userData) |
void |
unregisterInnerElement(ViewElement element) |
public void setId(java.lang.String id)
setId
in interface ViewElement
public java.lang.String getId()
getId
in interface ViewElement
public ViewElement getParent()
getParent
in interface ViewElement
public void setParent(ViewElement parent)
setParent
in interface ViewElement
public View getView()
getView
in interface ViewElement
public java.lang.String getTags()
getTags
in interface TagSupport
public void setTags(java.lang.String tags)
setTags
in interface TagSupport
public void setIgnored(boolean ignored)
setIgnored
in interface Ignorable
public java.lang.Object getUserData()
getUserData
in interface UserDataSupport
public void setUserData(java.lang.Object userData)
setUserData
in interface UserDataSupport
public java.util.Map<java.lang.String,java.lang.Object> getMetaData()
getMetaData
in interface MetaDataSupport
public void setMetaData(java.util.Map<java.lang.String,java.lang.Object> metaData)
setMetaData
in interface MetaDataSupport
public void registerInnerElement(ViewElement element)
registerInnerElement
in interface ViewElement
public void unregisterInnerElement(ViewElement element)
unregisterInnerElement
in interface ViewElement
public java.util.Collection<ViewElement> getInnerElements()
getInnerElements
in interface ViewElement
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.