public class WAbsoluteBodyLayout extends WAbsoluteLayout
WAbsoluteLayout.BoundsWidget
STATE_FIT, STATE_FIXED
DEFAULT_HEIGHT, DEFAULT_WIDTH, EVENT_AFTERINIT, EVENT_CLICK, MIN_HEIGHT, MIN_WIDTH, widgetList, XML_TAG
compInterval, hgap, vgap
background, borderStyle, margin
AFTEREDIT, AFTERINIT, BEFOREEDIT, CHANGE, DEFAULT_FONT_SIZE, disabled, EVENT_STATECHANGE, invisible, STOPEDIT, widgetName
构造器和说明 |
---|
WAbsoluteBodyLayout() |
WAbsoluteBodyLayout(java.lang.String widgetName) |
限定符和类型 | 方法和说明 |
---|---|
JSONObject |
createJSONConfig(Repository repo,
Calculator c,
NodeVisitor visitor)
调用父类WAbsoluteLayout的createJSONConfig配置绝对布局信息,并且加上appRelayout字段
|
boolean |
isAppRelayout()
返回是否启用手机重布局
|
void |
readXML(XMLableReader reader)
读xml
|
void |
setAppRelayout(boolean value)
设置是否启用手机重布局
|
void |
writeXML(XMLPrintWriter writer)
写XML
|
addConnector, clearLinkLine, connectorCount, createJSONItems, getBoundsWidget, getCompState, getConnector, getConnectorIndex, getCoveredConnectors, getDesigningResolution, getLayoutToolTip, getMinDesignSize, getXType, isHasResize, removeConnector, resize, setBounds, setCompState, setDesigningResolution, setHasResize, writeScalingAttrXML
addMobileWidget, addMobileWidget, addToMobileList, addToMobileList, adjustOrder, clearMobileWidgetList, createItemIndexList, getMobileWidget, getMobileWidgetIterator, getMobileWidgetListSize, getOrderedMobileWidgetList, isContainsMoibleWidget, isSorted, removeMobileWidget, setSorted, updateSortedMobileWidgetList
addWidget, canCurrentMarginAvailable, clone, createPara4Mobile, equals, getWidget, getWidget, getWidgetCount, getWidgetIndex, hashCode, isEditor, isScrollable, removeAll, removeWidget, replace, setCompVisible, setScrollable, setWidgetIndex, supportedEvents, toImage
getCompInterval, getHgap, getVgap, setCompInterval, setHgap, setVgap
addWidgetAttrMark, clearMargin, getBackground, getBorderStyle, getMargin, getWidgetAttrMark, readExtra, setBackground, setBorderStyle, setBorderStyleNoBackground, setMargin
acceptType, changeOnlyVisibleAuthorityState, changeUsableAuthorityState, changeVisibleAuthorityState, cleanAuthority, dealInvisible, dealWithPresentableValue, getContentHeight, getContentWidth, getDescription, getDisableAction, getEnableAction, getInvisibleAction, getLabelName, getVisibleAction, getWidgetName, getWidgetPrivilegeControl, hasDataOnInit, isChartRelated, isDirtyWidget, isDoneUsableAuthority, isDoneVisibleAuthority, isEnabled, isUsableAuthority, isVisible, isVisibleAuthority, resize, setChartRelated, setDescription, setEnabled, setLabelName, setVisible, setWidgetName, setWidgetPrivilegeControl, supportMobile, toImage, toString, updateChildBounds, value2Config
addListener, clearListeners, createJSONListener, createListeners, dealWithListener4Compatible, getConvertMap, getListener, getListenerSize
copy, getId, getNameSpace, setId, setNameSpace
getClassInfo, getData, invalidate, isLoad, setClassInfo, setData
public WAbsoluteBodyLayout()
public WAbsoluteBodyLayout(java.lang.String widgetName)
public boolean isAppRelayout()
public void setAppRelayout(boolean value)
value
- set是否重布局public JSONObject createJSONConfig(Repository repo, Calculator c, NodeVisitor visitor) throws JSONException
createJSONConfig
在类中 WAbsoluteLayout
repo
- : see Repository正文c
- : 指定解析器visitor
- 查找JSONException
public void readXML(XMLableReader reader)
readXML
在接口中 XMLReadable
readXML
在类中 WAbsoluteLayout
reader
- XMLableReader
public void writeXML(XMLPrintWriter writer)
writeXML
在接口中 XMLWriter
writeXML
在类中 WAbsoluteLayout
writer
-