public abstract class Composite extends Widget
限定符和类型 | 类和说明 |
---|---|
protected class |
Composite.CompositeLayout |
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
EVENT_AFTERINIT |
static java.lang.String |
EVENT_AFTERLOAD |
AFTEREDIT, AFTERINIT, BEFOREEDIT, CHANGE, DEFAULT_FONT_SIZE, disabled, EVENT_CLICK, EVENT_STATECHANGE, invisible, STOPEDIT, widgetName, XML_TAG
构造器和说明 |
---|
Composite() |
限定符和类型 | 方法和说明 |
---|---|
JSONObject |
createJSONConfig(Repository repo,
Calculator c,
NodeVisitor toFindChart)
以JSONObject方式返回Widget的配置信息
|
boolean |
equals(java.lang.Object obj) |
abstract Composite.CompositeLayout |
getCompositeWidget(Repository repo) |
java.lang.String |
getXType()
控件xType,每个控件的特有标记和控件一一对应
|
boolean |
isEditor()
是否为编辑器
|
java.lang.String[] |
supportedEvents()
是否支持事件
|
acceptType, changeOnlyVisibleAuthorityState, changeUsableAuthorityState, changeVisibleAuthorityState, cleanAuthority, clone, dealInvisible, dealWithPresentableValue, getContentHeight, getContentWidth, getDescription, getDisableAction, getEnableAction, getInvisibleAction, getLabelName, getVisibleAction, getWidgetName, getWidgetPrivilegeControl, hasDataOnInit, hashCode, isChartRelated, isDirtyWidget, isDoneUsableAuthority, isDoneVisibleAuthority, isEnabled, isUsableAuthority, isVisible, isVisibleAuthority, readXML, resize, resize, setChartRelated, setDescription, setEnabled, setLabelName, setVisible, setWidgetName, setWidgetPrivilegeControl, supportMobile, toImage, toImage, toString, updateChildBounds, value2Config, writeXML
addListener, clearListeners, createJSONListener, createListeners, dealWithListener4Compatible, getConvertMap, getListener, getListenerSize
copy, getId, getNameSpace, setId, setNameSpace
getClassInfo, getData, invalidate, isLoad, setClassInfo, setData
public static final java.lang.String EVENT_AFTERINIT
public static final java.lang.String EVENT_AFTERLOAD
public abstract Composite.CompositeLayout getCompositeWidget(Repository repo)
public java.lang.String[] supportedEvents()
supportedEvents
在类中 Observer
public java.lang.String getXType()
Widget
public JSONObject createJSONConfig(Repository repo, Calculator c, NodeVisitor toFindChart) throws JSONException
createJSONConfig
在类中 Widget
repo
- : see 请求toFindChart
- 查找c
- : 指定解析器JSONException
- 异常