com.bstek.dorado.view.widget.base.accordion
public class Section extends ClientEventSupportedElement
Constructor and Description |
---|
Section() |
Modifier and Type | Method and Description |
---|---|
void |
addClientEventListener(java.lang.String eventName,
ClientEvent eventListener)
添加一个事件监听器。
|
void |
clearClientEventListeners(java.lang.String eventName)
清除所有某事件中的监听器。
|
java.util.Map<java.lang.String,java.util.List<ClientEvent>> |
getAllClientEventListeners()
返回所有已添加的事件监听器。
|
java.lang.String |
getCaption() |
java.lang.String |
getClassName() |
java.util.List<ClientEvent> |
getClientEventListeners(java.lang.String eventName)
根据事件名返回所有已添加的事件监听器。
|
Control |
getControl() |
java.lang.String |
getExClassName() |
java.lang.String |
getIcon() |
java.lang.String |
getIconClass() |
java.util.Collection<ViewElement> |
getInnerElements() |
java.lang.String |
getName() |
java.util.Map<java.lang.String,java.lang.Object> |
getStyle() |
java.lang.String |
getTip() |
boolean |
isDisabled() |
boolean |
isVisible() |
void |
registerInnerElement(ViewElement element) |
void |
setCaption(java.lang.String caption) |
void |
setClassName(java.lang.String className) |
void |
setControl(Control control) |
void |
setDisabled(boolean disabled) |
void |
setExClassName(java.lang.String exClassName) |
void |
setIcon(java.lang.String icon) |
void |
setIconClass(java.lang.String iconClass) |
void |
setName(java.lang.String name) |
void |
setStyle(java.util.Map<java.lang.String,java.lang.Object> style) |
void |
setTip(java.lang.String tip) |
void |
setVisible(boolean visible) |
void |
unregisterInnerElement(ViewElement element) |
createClientEventHolder
getId, getMetaData, getParent, getTags, getUserData, getView, isIgnored, setId, setIgnored, setMetaData, setParent, setTags, setUserData
public void registerInnerElement(ViewElement element)
registerInnerElement
in interface ViewElement
registerInnerElement
in class AbstractViewElement
public void unregisterInnerElement(ViewElement element)
unregisterInnerElement
in interface ViewElement
unregisterInnerElement
in class AbstractViewElement
public java.util.Collection<ViewElement> getInnerElements()
getInnerElements
in interface ViewElement
getInnerElements
in class AbstractViewElement
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getCaption()
public void setCaption(java.lang.String caption)
public java.lang.String getIcon()
public void setIcon(java.lang.String icon)
public java.lang.String getIconClass()
public void setIconClass(java.lang.String iconClass)
public java.lang.String getClassName()
public void setClassName(java.lang.String className)
public java.lang.String getExClassName()
public void setExClassName(java.lang.String exClassName)
public java.util.Map<java.lang.String,java.lang.Object> getStyle()
public void setStyle(java.util.Map<java.lang.String,java.lang.Object> style)
public boolean isVisible()
public void setVisible(boolean visible)
public boolean isDisabled()
public void setDisabled(boolean disabled)
public java.lang.String getTip()
public void setTip(java.lang.String tip)
public void addClientEventListener(java.lang.String eventName, ClientEvent eventListener)
ClientEventSupported
addClientEventListener
in interface ClientEventSupported
addClientEventListener
in class ClientEventSupportedElement
eventName
- 事件名。eventListener
- 事件监听器。public java.util.List<ClientEvent> getClientEventListeners(java.lang.String eventName)
ClientEventSupported
getClientEventListeners
in interface ClientEventSupported
getClientEventListeners
in class ClientEventSupportedElement
eventName
- 事件名。public void clearClientEventListeners(java.lang.String eventName)
ClientEventSupported
clearClientEventListeners
in interface ClientEventSupported
clearClientEventListeners
in class ClientEventSupportedElement
eventName
- 事件名。public java.util.Map<java.lang.String,java.util.List<ClientEvent>> getAllClientEventListeners()
ClientEventSupported
getAllClientEventListeners
in interface ClientEventSupported
getAllClientEventListeners
in class ClientEventSupportedElement
public Control getControl()
public void setControl(Control control)
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.