public class TreeNodeToggleButton extends Button
AFTEREDIT, AFTERINIT, BEFOREEDIT, CHANGE, DEFAULT_FONT_SIZE, disabled, EVENT_CLICK, EVENT_STATECHANGE, invisible, STOPEDIT, widgetName, XML_TAG
构造器和说明 |
---|
TreeNodeToggleButton() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
JSONObject |
createJSONConfig(Repository repo,
Calculator c,
NodeVisitor nodeVisitor)
以JSONObject方式返回button的配置信息
|
Listener[] |
createListeners(Repository repo)
创建监听事件
|
boolean |
equals(java.lang.Object obj) |
Listener |
getListener(int index) |
int |
getListenerSize() |
IntList |
getRelativeIndexList()
获取关联列表索引
|
java.lang.String |
getXType()
获取控件类型
|
boolean |
isInitExpanded()
是否默认展开
|
void |
readXML(XMLableReader reader)
Read XML.
|
void |
setInitExpanded(boolean initExpanded) |
void |
setRelativeIndexList(IntList il) |
boolean |
supportMobile()
支持移动
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
createChildConfig, getHotkeys, getIconName, getText, isEditor, isShowIcon, isShowText, resolveText, setHotkeys, setIconName, setShowIcon, setShowText, setText, supportedEvents, value2Config
acceptType, changeOnlyVisibleAuthorityState, changeUsableAuthorityState, changeVisibleAuthorityState, cleanAuthority, dealInvisible, dealWithPresentableValue, getContentHeight, getContentWidth, getDescription, getDisableAction, getEnableAction, getInvisibleAction, getLabelName, getVisibleAction, getWidgetName, getWidgetPrivilegeControl, hasDataOnInit, hashCode, isChartRelated, isDirtyWidget, isDoneUsableAuthority, isDoneVisibleAuthority, isEnabled, isUsableAuthority, isVisible, isVisibleAuthority, resize, resize, setChartRelated, setDescription, setEnabled, setLabelName, setVisible, setWidgetName, setWidgetPrivilegeControl, toImage, toImage, toString, updateChildBounds
addListener, clearListeners, createJSONListener, dealWithListener4Compatible, getConvertMap
copy, getId, getNameSpace, setId, setNameSpace
getClassInfo, getData, invalidate, isLoad, setClassInfo, setData
public boolean isInitExpanded()
public void setInitExpanded(boolean initExpanded)
public boolean supportMobile()
supportMobile
在类中 Widget
public IntList getRelativeIndexList()
public void setRelativeIndexList(IntList il)
public Listener getListener(int index)
getListener
在类中 Observer
public int getListenerSize()
getListenerSize
在类中 Observer
public Listener[] createListeners(Repository repo)
createListeners
在类中 Observer
repo
- 环境public JSONObject createJSONConfig(Repository repo, Calculator c, NodeVisitor nodeVisitor) throws JSONException
createJSONConfig
在类中 Button
repo
- : 环境c
- : 指定解析器nodeVisitor
- 节点访问JSONException
- 抛出异常public void readXML(XMLableReader reader)
Widget
readXML
在接口中 XMLReadable
readXML
在类中 Button
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
Widget
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 Button
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常