public class FRParameterLayoutAdapter extends FRAbsoluteLayoutAdapter
actualVal, BORDER_PROPORTION, BOTTOM_HALF, COMP_BOTTOM, COMP_LEFT, COMP_RIGHT, COMP_TOP, DEFAULT_AREA_LENGTH, downComps, isFindRelatedComps, leftComps, margin, minHeight, minWidth, rightComps, TOP_HALF, trisectAreaDirect, upComps
container, layout
构造器和说明 |
---|
FRParameterLayoutAdapter(XLayoutContainer container) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
accept(XCreator creator,
int x,
int y)
是否能在指定位置添加组件
|
protected void |
addComp(XCreator creator,
int x,
int y) |
void |
fix(XCreator creator)
待说明
|
void |
fix(XCreator creator,
int x,
int y)
调整组件大小到合适尺寸位置
|
ConstraintsGroupModel |
getLayoutConstraints(XCreator creator) |
GroupModel |
getLayoutProperties() |
HoverPainter |
getPainter()
返回该布局管理适配器的Painter,为容器提供放置位置的标识。
|
addBean, isTrisectionArea
canAcceptWhileCrossPoint, canAcceptWhileTrisection, clearCompsList, fixCrossPointArea, fixHalve, fixTrisect, getChildPosition, getParaEditorYOffset, initCompsList, isCrossPointArea
addAfter, addBefore, addNextComponent, canAcceptMoreComponent, delete, getContainer, removeBean, showComponent, supportBackupSize, whetherUseBackupSize
public FRParameterLayoutAdapter(XLayoutContainer container)
public HoverPainter getPainter()
LayoutAdapter
getPainter
在接口中 LayoutAdapter
getPainter
在类中 FRAbsoluteLayoutAdapter
public GroupModel getLayoutProperties()
getLayoutProperties
在接口中 LayoutAdapter
getLayoutProperties
在类中 FRAbsoluteLayoutAdapter
public void fix(XCreator creator)
fix
在接口中 LayoutAdapter
fix
在类中 FRAbsoluteLayoutAdapter
creator
- 组件public boolean accept(XCreator creator, int x, int y)
accept
在接口中 LayoutAdapter
accept
在类中 FRAbsoluteLayoutAdapter
creator
- 组件x
- 坐标xy
- 坐标yprotected void addComp(XCreator creator, int x, int y)
addComp
在类中 FRAbsoluteLayoutAdapter
public void fix(XCreator creator, int x, int y)
fix
在类中 FRAbsoluteLayoutAdapter
creator
- 组件x
- 坐标xy
- 坐标ypublic ConstraintsGroupModel getLayoutConstraints(XCreator creator)
getLayoutConstraints
在接口中 LayoutAdapter
getLayoutConstraints
在类中 FRAbsoluteLayoutAdapter