protected class Composite.CompositeLayout extends Widget
| 限定符和类型 | 字段和说明 |
|---|---|
protected Background |
background |
protected int |
hgap |
protected PaddingMargin |
margin |
protected int |
vgap |
protected java.util.List |
widgetList |
AFTEREDIT, AFTERINIT, BEFOREEDIT, CHANGE, DEFAULT_FONT_SIZE, disabled, EVENT_CLICK, EVENT_STATECHANGE, invisible, STOPEDIT, widgetName, XML_TAG| 构造器和说明 |
|---|
Composite.CompositeLayout(int hgap,
int vgap) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addWidthWidget(Widget widget,
int width) |
JSONObject |
createJSONConfig(Repository repo,
Calculator c,
NodeVisitor toFindChart)
以JSONObject方式返回Widget的配置信息
|
protected JSONArray |
createJSONItems(Repository repo,
Calculator c,
NodeVisitor toFindChart) |
java.lang.String |
getXType()
控件xType,每个控件的特有标记和控件一一对应
|
boolean |
isEditor()
是否是一个不需要在填报状态直接显示的编辑器
|
java.lang.String[] |
supportedEvents() |
acceptType, changeOnlyVisibleAuthorityState, changeUsableAuthorityState, changeVisibleAuthorityState, cleanAuthority, clone, dealInvisible, dealWithPresentableValue, equals, 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, setDataprotected java.util.List widgetList
protected PaddingMargin margin
protected Background background
protected int vgap
protected int hgap
public void addWidthWidget(Widget widget, int width)
public JSONObject createJSONConfig(Repository repo, Calculator c, NodeVisitor toFindChart) throws JSONException
WidgetcreateJSONConfig 在类中 Widgetrepo - 参数repoc - 指定解析器toFindChart - 节点访问JSONException - 异常protected JSONArray createJSONItems(Repository repo, Calculator c, NodeVisitor toFindChart) throws JSONException
JSONExceptionpublic java.lang.String getXType()
Widgetpublic boolean isEditor()
Widgetpublic java.lang.String[] supportedEvents()
supportedEvents 在类中 Observer