|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Layoutable
Indicates an object which can be laid out.
| Method Summary | |
|---|---|
boolean |
canPositionChange()
whether the position can be changed |
int |
getHeight()
gets the height of this object |
long |
getID()
Returns a unique ID for this node |
java.awt.geom.Point2D |
getPos()
returns the x and y coordinates of this object |
int |
getWidth()
gets the width of this object |
int |
getX()
returns the x-coordinate of this object |
int |
getY()
returns the y-coordinate of this object |
boolean |
hasPositionChanged()
whether the position changed since the previous unsetPositionChanged() call |
void |
setCanPositionChange(boolean can)
set whether the position can be changed |
void |
setPos(int x,
int y)
sets the x and y coordinates of this object |
void |
setXPos(int x)
sets the x-coordinate of this object |
void |
setYPos(int y)
sets the y-coordinate of this object |
void |
unsetPositionChanged()
Causes hasPositionChanged() to return false until set*Pos() is called. |
| Method Detail |
|---|
java.awt.geom.Point2D getPos()
int getX()
int getY()
void setPos(int x,
int y)
void setXPos(int x)
void setYPos(int y)
int getHeight()
int getWidth()
boolean hasPositionChanged()
void unsetPositionChanged()
boolean canPositionChange()
void setCanPositionChange(boolean can)
long getID()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||