public abstract class ToolBarMenuButton extends MenuButton
menuItemsAFTEREDIT, 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, writeXMLgetHotkeys, getIconName, getText, isEditor, isShowIcon, isShowText, resolveText, setHotkeys, setIconName, setShowIcon, setShowText, setText, supportedEvents, value2ConfigacceptType, 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, updateChildBoundsaddListener, clearListeners, createJSONListener, dealWithListener4Compatible, getConvertMap, getListener, getListenerSizecopy, getId, getNameSpace, setId, setNameSpacegetClassInfo, getData, invalidate, isLoad, setClassInfo, setDatapublic ToolBarMenuButton(java.lang.String text,
java.lang.String iconName)
public Listener[] createListeners(Repository repo)
createListeners 在类中 Observerrepo - 返回请求protected JSONObject createChildConfig(Repository repo) throws JSONException
createChildConfig 在类中 ButtonJSONExceptionpublic boolean equals(java.lang.Object obj)
equals 在类中 MenuButtonpublic JSONObject createJSONConfig(Repository repo, Calculator c, NodeVisitor nodeVisitor) throws JSONException
createJSONConfig 在类中 MenuButtonnodeVisitor - 节点访问repo - : see 请求c - : 指定解析器JSONException - 抛错