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, writeXMLaddListener, clearListeners, createJSONListener, createListeners, dealWithListener4Compatible, getConvertMap, getListener, getListenerSizecopy, getId, getNameSpace, setId, setNameSpacegetClassInfo, getData, invalidate, isLoad, setClassInfo, setDatapublic 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 在类中 Observerpublic java.lang.String getXType()
Widgetpublic JSONObject createJSONConfig(Repository repo, Calculator c, NodeVisitor toFindChart) throws JSONException
createJSONConfig 在类中 Widgetrepo - : see 请求toFindChart - 查找c - : 指定解析器JSONException - 异常