public abstract class ToolBarMenuButton extends MenuButton
menuItems
AFTEREDIT, AFTERINIT, BEFOREEDIT, CHANGE, DEFAULT_FONT_SIZE, disabled, EVENT_CLICK, EVENT_STATECHANGE, invisible, STOPEDIT, widgetName, XML_TAG
构造器和说明 |
---|
ToolBarMenuButton(java.lang.String text,
java.lang.String iconName) |
限定符和类型 | 方法和说明 |
---|---|
protected JSONObject |
createChildConfig(Repository repo) |
JSONObject |
createJSONConfig(Repository repo,
Calculator c,
NodeVisitor nodeVisitor)
以JSONObject方式返回button的配置信息
|
Listener[] |
createListeners(Repository repo)
创建事件数组
|
boolean |
equals(java.lang.Object obj) |
clone, createMenuItems, getMenuItems, getXType, itemsJO, readXML, setMenuItems, writeXML
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, supportMobile, toImage, toImage, toString, updateChildBounds
addListener, clearListeners, createJSONListener, dealWithListener4Compatible, getConvertMap, getListener, getListenerSize
copy, getId, getNameSpace, setId, setNameSpace
getClassInfo, getData, invalidate, isLoad, setClassInfo, setData
public ToolBarMenuButton(java.lang.String text, java.lang.String iconName)
public Listener[] createListeners(Repository repo)
createListeners
在类中 Observer
repo
- 返回请求protected JSONObject createChildConfig(Repository repo) throws JSONException
createChildConfig
在类中 Button
JSONException
public boolean equals(java.lang.Object obj)
equals
在类中 MenuButton
public JSONObject createJSONConfig(Repository repo, Calculator c, NodeVisitor nodeVisitor) throws JSONException
createJSONConfig
在类中 MenuButton
nodeVisitor
- 节点访问repo
- : see 请求c
- : 指定解析器JSONException
- 抛错