public class WCardTitleLayout extends WBorderLayout
CENTER, DEFAULT_DIRECTIONS, DEFAULT_SIZE, EAST, NORTH, SOUTH, WESTDEFAULT_HEIGHT, DEFAULT_WIDTH, EVENT_AFTERINIT, EVENT_CLICK, MIN_HEIGHT, MIN_WIDTH, widgetListcompInterval, hgap, vgapbackground, borderStyle, marginAFTEREDIT, 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, setWestTitleaddWidget, canCurrentMarginAvailable, createPara4Mobile, equals, getBoundsWidget, getWidget, getWidgetIndex, hashCode, isEditor, isScrollable, replace, resize, setCompVisible, setScrollable, setWidgetIndex, supportedEvents, toImagegetCompInterval, getHgap, getVgap, setCompInterval, setHgap, setVgapaddWidgetAttrMark, clearMargin, getBackground, getBorderStyle, getMargin, getWidgetAttrMark, readExtra, setBackground, setBorderStyle, setBorderStyleNoBackground, setMarginacceptType, 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, value2ConfigaddListener, clearListeners, createJSONListener, createListeners, dealWithListener4Compatible, getConvertMap, getListener, getListenerSizecopy, getId, getNameSpace, setId, setNameSpacegetClassInfo, getData, invalidate, isLoad, setClassInfo, setDatapublic 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)
WLayoutpublic JSONObject createJSONConfig(Repository repo, Calculator c, NodeVisitor toFindChart) throws JSONException
createJSONConfig 在类中 WLayoutrepo - 文本c - 指定解析器toFindChart - 查找JSONException - 异常public java.lang.String getXType()
WidgetgetXType 在类中 WBorderLayoutpublic void writeXML(XMLPrintWriter writer)
WLayoutwriteXML 在接口中 XMLWriterwriteXML 在类中 WBorderLayoutwriter - the PrintWriter.public void readXML(XMLableReader reader)
WLayoutreadXML 在接口中 XMLReadablereadXML 在类中 WBorderLayoutreader - XML读取对象XMLableReader