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, writeXML
addListener, clearListeners, createJSONListener, createListeners, dealWithListener4Compatible, getConvertMap, getListener, getListenerSize
copy, getId, getNameSpace, setId, setNameSpace
getClassInfo, getData, invalidate, isLoad, setClassInfo, setData
protected 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
Widget
createJSONConfig
在类中 Widget
repo
- 参数repoc
- 指定解析器toFindChart
- 节点访问JSONException
- 异常protected JSONArray createJSONItems(Repository repo, Calculator c, NodeVisitor toFindChart) throws JSONException
JSONException
public java.lang.String getXType()
Widget
public boolean isEditor()
Widget
public java.lang.String[] supportedEvents()
supportedEvents
在类中 Observer