public class WCardMainBorderLayout extends WBorderLayout
限定符和类型 | 字段和说明 |
---|---|
static int |
TAB_HEIGHT |
CENTER, DEFAULT_DIRECTIONS, DEFAULT_SIZE, EAST, NORTH, SOUTH, WEST
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
构造器和说明 |
---|
WCardMainBorderLayout()
构造函数
|
限定符和类型 | 方法和说明 |
---|---|
void |
addEast(Widget widget)
增加组件
|
void |
addNorth(Widget widget)
增加组件
|
void |
addSouth(Widget widget)
增加组件
|
void |
addWest(Widget widget)
增加组件
|
JSONObject |
createJSONConfig(Repository repo,
Calculator c,
NodeVisitor toFindChart)
以JSONObject方式返回Widget的配置信息
|
void |
dealInvisible()
处理组件内部不可见组件
|
WCardLayout |
getCardPart() |
int |
getNorthSize() |
java.lang.String |
getNorthTitle() |
java.lang.String |
getTabPosition() |
WCardTitleLayout |
getTitlePart() |
java.lang.String |
getXType()
控件xType,每个控件的特有标记和控件一一对应
|
void |
resize(double width,
double height,
double fontScale)
后台容器自适应reize
|
void |
setBounds(Widget data,
java.awt.Rectangle newBounds)
设置控件边界大小
|
void |
setTabPosition(java.lang.String tabPosition) |
void |
setWidgetName(java.lang.String widgetName)
设置组件的名字
|
addCenter, clone, createJSONItems, getCenterTitle, getConstraints, getDirections, getEastSize, getEastTitle, getLayoutToolTip, getLayoutWidget, getMinDesignSize, getSouthSize, getSouthTitle, getWestSize, getWestTitle, getWidget, getWidgetCount, readXML, refreshDirections, removeAll, removeWidget, setCenterTitle, setDirections, setEastSize, setEastTitle, setNorthSize, setNorthTitle, setSouthSize, setSouthTitle, setWestSize, setWestTitle, writeXML
addWidget, canCurrentMarginAvailable, createPara4Mobile, equals, getBoundsWidget, getWidget, getWidgetIndex, hashCode, isEditor, isScrollable, 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, 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, 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 static final int TAB_HEIGHT
public java.lang.String getTabPosition()
public void setTabPosition(java.lang.String tabPosition)
public void setBounds(Widget data, java.awt.Rectangle newBounds)
public void addNorth(Widget widget)
WBorderLayout
addNorth
在类中 WBorderLayout
widget
- 组件public void addSouth(Widget widget)
addSouth
在类中 WBorderLayout
widget
- 组件public void addWest(Widget widget)
addWest
在类中 WBorderLayout
widget
- 组件public void addEast(Widget widget)
addEast
在类中 WBorderLayout
widget
- 组件public void setWidgetName(java.lang.String widgetName)
MixinControlWidget
setWidgetName
在接口中 MixinControlWidget
setWidgetName
在类中 Widget
widgetName
- 组件名字public WCardTitleLayout getTitlePart()
public WCardLayout getCardPart()
public java.lang.String getXType()
Widget
getXType
在类中 WBorderLayout
public java.lang.String getNorthTitle()
getNorthTitle
在类中 WBorderLayout
public int getNorthSize()
getNorthSize
在类中 WBorderLayout
public JSONObject createJSONConfig(Repository repo, Calculator c, NodeVisitor toFindChart) throws JSONException
createJSONConfig
在类中 WLayout
repo
- 参数repoc
- 指定解析器toFindChart
- 查找JSONException
- 异常public void resize(double width, double height, double fontScale)
WLayout
public void dealInvisible() throws java.lang.Exception
Widget
dealInvisible
在类中 Widget
java.lang.Exception