ALL, BOTTOM, INNER, LEFT, LEFT_BOTTOM, LEFT_TOP, OUTER, RIGHT, RIGHT_BOTTOM, RIGHT_TOP, TOP, TOP_BOTTOM_LEFT_RIGHT
构造器和说明 |
---|
AccessDirection() |
限定符和类型 | 方法和说明 |
---|---|
void |
backupBounds(FormDesigner formEditor)
生成组件备用的bound
|
void |
drag(int dx,
int dy,
FormDesigner designer)
拖拽
|
protected abstract java.awt.Rectangle |
getDraggedBounds(int dx,
int dy,
java.awt.Rectangle currentBounds,
FormDesigner designer,
java.awt.Rectangle oldBounds) |
protected java.awt.Point |
getRelativePoint(int x,
int y,
java.awt.Rectangle currentBounds,
FormDesigner designer) |
protected int[] |
sorption(int x,
int y,
java.awt.Rectangle currentBounds,
FormDesigner designer) |
protected void |
sorptionPoint(java.awt.Point point,
java.awt.Rectangle currentBounds,
FormDesigner designer) |
void |
updateCursor(FormDesigner formEditor)
更新鼠标指针形状
|
protected abstract java.awt.Rectangle getDraggedBounds(int dx, int dy, java.awt.Rectangle currentBounds, FormDesigner designer, java.awt.Rectangle oldBounds)
protected int[] sorption(int x, int y, java.awt.Rectangle currentBounds, FormDesigner designer)
protected java.awt.Point getRelativePoint(int x, int y, java.awt.Rectangle currentBounds, FormDesigner designer)
protected void sorptionPoint(java.awt.Point point, java.awt.Rectangle currentBounds, FormDesigner designer)
public void drag(int dx, int dy, FormDesigner designer)
public void updateCursor(FormDesigner formEditor)
updateCursor
在接口中 Direction
formEditor
- 设计界面组件public void backupBounds(FormDesigner formEditor)
backupBounds
在接口中 Direction
formEditor
- 设计界面组件