public class FRCardLayoutAdapter extends AbstractLayoutAdapter
container, layout
构造器和说明 |
---|
FRCardLayoutAdapter(XLayoutContainer container) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
accept(XCreator creator,
int x,
int y)
当前容器是否接受组件creator
|
void |
addAfter(XCreator target,
XCreator added)
将指定组件添加到目标组件后面
|
void |
addBefore(XCreator target,
XCreator added)
将指定组件添加到目标组件前面
|
void |
addComp(XCreator creator,
int x,
int y)
将指定组件添加到当前布局
|
void |
addNextComponent(XCreator dragged)
将指定组件添加到当前布局
|
ConstraintsGroupModel |
getLayoutConstraints(XCreator creator) |
GroupModel |
getLayoutProperties() |
void |
showComponent(XCreator child)
展示组件
|
addBean, canAcceptMoreComponent, delete, fix, getContainer, getPainter, removeBean, supportBackupSize, whetherUseBackupSize
public FRCardLayoutAdapter(XLayoutContainer container)
public boolean accept(XCreator creator, int x, int y)
creator
- 拖入的组件x
- 坐标xy
- 坐标ypublic void addComp(XCreator creator, int x, int y)
addComp
在类中 AbstractLayoutAdapter
creator
- 待添加组件x
- x坐标y
- y坐标public void addNextComponent(XCreator dragged)
addNextComponent
在接口中 LayoutAdapter
addNextComponent
在类中 AbstractLayoutAdapter
dragged
- 待添加组件public void addBefore(XCreator target, XCreator added)
addBefore
在接口中 LayoutAdapter
addBefore
在类中 AbstractLayoutAdapter
target
- 目标组件added
- 待添加组件public void addAfter(XCreator target, XCreator added)
addAfter
在接口中 LayoutAdapter
addAfter
在类中 AbstractLayoutAdapter
target
- 目标组件added
- 待添加组件public void showComponent(XCreator child)
showComponent
在接口中 LayoutAdapter
showComponent
在类中 AbstractLayoutAdapter
child
- 需要展示的组件public ConstraintsGroupModel getLayoutConstraints(XCreator creator)
getLayoutConstraints
在接口中 LayoutAdapter
getLayoutConstraints
在类中 AbstractLayoutAdapter
public GroupModel getLayoutProperties()
getLayoutProperties
在接口中 LayoutAdapter
getLayoutProperties
在类中 AbstractLayoutAdapter