public abstract class AbstractSwitchTabButton extends FreeButton
限定符和类型 | 字段和说明 |
---|---|
protected java.lang.String |
cardName |
protected WTabDisplayPosition |
displayPosition |
protected static java.lang.String |
PREVIEW_IMG_PATH |
clickBackground, font, group, initialBackground, isCustomStyle, overBackground, toggle
AFTEREDIT, AFTERINIT, BEFOREEDIT, CHANGE, DEFAULT_FONT_SIZE, disabled, EVENT_CLICK, EVENT_STATECHANGE, invisible, STOPEDIT, widgetName, XML_TAG
构造器和说明 |
---|
AbstractSwitchTabButton() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getCardName() |
protected abstract java.lang.String |
getClickFuncName()
获取点击事件函数名
|
void |
init()
初始化当前button, 设置背景样式以及绑定点击事件
|
protected abstract void |
initBackground()
初始化上一Tab, 下一Tab的背景
|
void |
setCardName(java.lang.String cardName) |
createJSONConfig, dealWithListener4Compatible, equals, getButtonHeight, getButtonWidth, getClickBackground, getCustomButton, getFont, getGroup, getInitialBackground, getOverBackground, getXType, isCustomStyle, isToggle, readBackground, readXML, setClickBackground, setCustomButton, setCustomStyle, setFont, setGroup, setInitialBackground, setOverBackground, setToggle, writeXML
clone, 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, supportMobile, toImage, toImage, toString, updateChildBounds
addListener, clearListeners, createJSONListener, createListeners, getConvertMap, getListener, getListenerSize
copy, getId, getNameSpace, setId, setNameSpace
getClassInfo, getData, invalidate, isLoad, setClassInfo, setData
protected java.lang.String cardName
protected WTabDisplayPosition displayPosition
protected static final java.lang.String PREVIEW_IMG_PATH
public void init()
protected abstract void initBackground()
protected abstract java.lang.String getClickFuncName()
public java.lang.String getCardName()
public void setCardName(java.lang.String cardName)