|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.devaki.nextobjects.workspace.models.graphics.SelectionPoint
SelectionPoint
Field Summary | |
static int |
EAST
Positions |
static int |
NORTH
Positions |
static int |
NORTH_EAST
Positions |
static int |
NORTH_WEST
Positions |
static int |
SOUTH
Positions |
static int |
SOUTH_EAST
Positions |
static int |
SOUTH_WEST
Positions |
static int |
WEST
Positions |
Constructor Summary | |
SelectionPoint(int pX,
int pY)
Construct a new 'SelectionPoint' object |
Method Summary | |
java.awt.Point |
getPoint()
Get the location |
java.awt.Rectangle |
getSurface()
Returns a Rectangle from the current object Grow square by 8 pixels for each side in order to facilitate the resize click |
void |
paint(java.awt.Graphics g)
Paint |
void |
setLocation(java.awt.Point p)
Set the location |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NORTH_WEST
public static final int NORTH
public static final int NORTH_EAST
public static final int WEST
public static final int EAST
public static final int SOUTH_WEST
public static final int SOUTH
public static final int SOUTH_EAST
Constructor Detail |
public SelectionPoint(int pX, int pY)
pX
- the initial x locationpY
- the initial y locationMethod Detail |
public final void paint(java.awt.Graphics g)
g
- graphicspublic final java.awt.Point getPoint()
public final void setLocation(java.awt.Point p)
p
- the new locationpublic final java.awt.Rectangle getSurface()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |