public class FRScaleLayoutAdapter extends AbstractLayoutAdapter
container, layout| 构造器和说明 |
|---|
FRScaleLayoutAdapter(XLayoutContainer container)
构造函数
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
accept(XCreator creator,
int x,
int y)
能否对应位置放置当前组件
|
protected void |
addComp(XCreator creator,
int x,
int y) |
GroupModel |
getLayoutProperties() |
addAfter, addBean, addBefore, addNextComponent, canAcceptMoreComponent, delete, fix, getContainer, getLayoutConstraints, getPainter, removeBean, showComponent, supportBackupSize, whetherUseBackupSizepublic FRScaleLayoutAdapter(XLayoutContainer container)
container - 布局容器public boolean accept(XCreator creator, int x, int y)
creator - 组件x - 添加的位置x,该位置是相对于container的y - 添加的位置y,该位置是相对于container的protected void addComp(XCreator creator, int x, int y)
public GroupModel getLayoutProperties()
getLayoutProperties 在接口中 LayoutAdaptergetLayoutProperties 在类中 AbstractLayoutAdapter