public class WCardTitleLayout extends WBorderLayout
CENTER, DEFAULT_DIRECTIONS, DEFAULT_SIZE, EAST, NORTH, SOUTH, WEST
DEFAULT_HEIGHT, DEFAULT_WIDTH, EVENT_AFTERINIT, EVENT_CLICK, MIN_HEIGHT, MIN_WIDTH, widgetList
compInterval, hgap, vgap
background, borderStyle, margin
AFTEREDIT, AFTERINIT, BEFOREEDIT, CHANGE, DEFAULT_FONT_SIZE, disabled, EVENT_STATECHANGE, invisible, STOPEDIT, widgetName
构造器和说明 |
---|
WCardTitleLayout() |
WCardTitleLayout(java.lang.String cardName) |
限定符和类型 | 方法和说明 |
---|---|
JSONObject |
createJSONConfig(Repository repo,
Calculator c,
NodeVisitor toFindChart)
返回布局的配置信息, 并且将布局内所有控件的配置信息以JSONArray形式存放在JSONObject的"items"字段
|
java.lang.String |
getCardName() |
java.lang.String |
getNextBtnName() |
java.lang.String |
getPreBtnName() |
WCardTagLayout |
getTagPart() |
int |
getTitleWidth() |
java.lang.String |
getXType()
控件xType,每个控件的特有标记和控件一一对应
|
void |
readXML(XMLableReader reader)
读取xml
|
void |
setBounds(Widget data,
java.awt.Rectangle newBounds)
设置控件边界大小
|
void |
setCardName(java.lang.String cardName) |
void |
setTitleWidth(int titleWidth) |
void |
writeXML(XMLPrintWriter writer)
输出xml
|
addCenter, addEast, addNorth, addSouth, addWest, clone, createJSONItems, getCenterTitle, getConstraints, getDirections, getEastSize, getEastTitle, getLayoutToolTip, getLayoutWidget, getMinDesignSize, getNorthSize, getNorthTitle, getSouthSize, getSouthTitle, getWestSize, getWestTitle, getWidget, getWidgetCount, refreshDirections, removeAll, removeWidget, setCenterTitle, setDirections, setEastSize, setEastTitle, setNorthSize, setNorthTitle, setSouthSize, setSouthTitle, setWestSize, setWestTitle
addWidget, canCurrentMarginAvailable, createPara4Mobile, equals, getBoundsWidget, getWidget, getWidgetIndex, hashCode, isEditor, isScrollable, replace, resize, 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 WCardTitleLayout()
public WCardTitleLayout(java.lang.String cardName)
public java.lang.String getCardName()
public void setCardName(java.lang.String cardName)
public WCardTagLayout getTagPart()
public java.lang.String getPreBtnName()
public java.lang.String getNextBtnName()
public int getTitleWidth()
public void setTitleWidth(int titleWidth)
public void setBounds(Widget data, java.awt.Rectangle newBounds)
WLayout
public JSONObject createJSONConfig(Repository repo, Calculator c, NodeVisitor toFindChart) throws JSONException
createJSONConfig
在类中 WLayout
repo
- 文本c
- 指定解析器toFindChart
- 查找JSONException
- 异常public java.lang.String getXType()
Widget
getXType
在类中 WBorderLayout
public void writeXML(XMLPrintWriter writer)
WLayout
writeXML
在接口中 XMLWriter
writeXML
在类中 WBorderLayout
writer
- the PrintWriter.public void readXML(XMLableReader reader)
WLayout
readXML
在接口中 XMLReadable
readXML
在类中 WBorderLayout
reader
- XML读取对象XMLableReader