public class WScaleLayout extends WLayout
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
构造器和说明 |
---|
WScaleLayout()
构造函数
|
WScaleLayout(java.lang.String widgetName)
构造方法,指定控件名
|
限定符和类型 | 方法和说明 |
---|---|
void |
addListener(Listener listener) |
void |
clearListeners() |
Widget |
getBoundsWidget() |
java.lang.String |
getLayoutToolTip()
控件提示名
|
Listener |
getListener(int index) |
int |
getListenerSize() |
java.awt.Dimension |
getMinDesignSize()
最小尺寸为36x21
|
java.lang.String |
getXType()
控件容器类型
|
java.lang.String[] |
supportedEvents()
支持的事件类型
|
void |
updateChildBounds(java.awt.Rectangle newBounds)
更新子组件的bounds
|
addWidget, canCurrentMarginAvailable, clone, createJSONConfig, createJSONItems, createPara4Mobile, equals, getBoundsWidget, getWidget, getWidget, getWidgetCount, getWidgetIndex, hashCode, isEditor, isScrollable, readXML, removeAll, removeWidget, replace, resize, setBounds, setCompVisible, setScrollable, setWidgetIndex, toImage, writeXML
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, value2Config
createJSONListener, createListeners, dealWithListener4Compatible, getConvertMap
copy, getId, getNameSpace, setId, setNameSpace
getClassInfo, getData, invalidate, isLoad, setClassInfo, setData
public WScaleLayout()
public WScaleLayout(java.lang.String widgetName)
widgetName
- 控件名public java.lang.String getLayoutToolTip()
getLayoutToolTip
在类中 WLayout
WLayout.getLayoutToolTip()
public java.awt.Dimension getMinDesignSize()
getMinDesignSize
在类中 WLayout
WLayout.getMinDesignSize()
public java.lang.String getXType()
getXType
在类中 AbstractGapWidget
Widget.getXType()
public void addListener(Listener listener)
addListener
在类中 Observer
public void clearListeners()
clearListeners
在类中 Observer
public int getListenerSize()
getListenerSize
在类中 Observer
public Listener getListener(int index)
getListener
在类中 Observer
public void updateChildBounds(java.awt.Rectangle newBounds)
updateChildBounds
在类中 Widget
newBounds
- 新的boundspublic Widget getBoundsWidget()
public java.lang.String[] supportedEvents()
WLayout
supportedEvents
在类中 WLayout