com.teamdev.jxcapture.image.operation.toolkit
Class Positions
java.lang.Object
com.teamdev.jxcapture.image.operation.toolkit.Positions
public class Positions
- extends java.lang.Object
This class provides the ability to determine the locations into which the helper dialog can be moved according to the
specified PositionInfo
object.
Method Summary |
java.awt.Point |
getPositionById(int id)
Returns the point by the specified id into which the helper dialog can be moved. |
java.awt.Point[] |
getPositions()
Returns the points into which the helper dialog can be moved. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOP_LEFT
public static final int TOP_LEFT
- See Also:
- Constant Field Values
BOTTOM_LEFT
public static final int BOTTOM_LEFT
- See Also:
- Constant Field Values
TOP_RIGHT
public static final int TOP_RIGHT
- See Also:
- Constant Field Values
BOTTOM_RIGHT
public static final int BOTTOM_RIGHT
- See Also:
- Constant Field Values
Positions
public Positions(PositionInfo positionInfo)
getPositions
public java.awt.Point[] getPositions()
- Returns the points into which the helper dialog can be moved.
getPositionById
public java.awt.Point getPositionById(int id)
- Returns the point by the specified id into which the helper dialog can be moved.
- Parameters:
id
- one of the following constants:
TOP_LEFT
, BOTTOM_LEFT
,
TOP_RIGHT
or BOTTOM_RIGHT