public abstract class AbstractExtensionMenuButton extends ToolBarMenuButton implements ExtensionButtonProvider
menuItems
AFTEREDIT, AFTERINIT, BEFOREEDIT, CHANGE, DEFAULT_FONT_SIZE, disabled, EVENT_CLICK, EVENT_STATECHANGE, invisible, STOPEDIT, widgetName, XML_TAG
CURRENT_LEVEL, XML_TAG
构造器和说明 |
---|
AbstractExtensionMenuButton(java.lang.String text,
java.lang.String iconName) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
clone() |
int |
currentAPILevel()
当前接口的API等级,用于判断是否需要升级插件
|
int |
hashCode()
hash码
|
java.lang.String |
mark4Provider()
获取当前provider的标记(可以使用类路径保证唯一)以避免provider的重复加载
|
createChildConfig, createJSONConfig, createListeners, equals
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, 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
classForDirectoryButton, getParentDirectory, getRelatedCheckBoxTitle, getType, isSelected, setSelected
readXML
public AbstractExtensionMenuButton(java.lang.String text, java.lang.String iconName)
public int currentAPILevel()
Level
currentAPILevel
在接口中 Level
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在接口中 FCloneable
clone
在类中 MenuButton
java.lang.CloneNotSupportedException
- 如果克隆失败则抛出此异常public java.lang.String mark4Provider()
Provider
mark4Provider
在接口中 Provider