|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.jfimagine.jfdraw.draw.AlignShapes
AlignShapes class is used to align shapes in a selection.
| Field Summary | |
static int |
ALIGNMENTTYPE_BOTTOM
align bottom. |
static int |
ALIGNMENTTYPE_CENTER
align center. |
static int |
ALIGNMENTTYPE_JUSTIFY_HORIZONTAL
align justify horizontal. |
static int |
ALIGNMENTTYPE_JUSTIFY_VERTICAL
align justify vertical. |
static int |
ALIGNMENTTYPE_LEFT
align left. |
static int |
ALIGNMENTTYPE_RIGHT
align right. |
static int |
ALIGNMENTTYPE_TOP
align top. |
| Constructor Summary | |
AlignShapes(JFOperationManager operationManager)
Constructor for ObjectList |
|
| Method Summary | |
void |
alignToBottom()
Align all shapes in list at a same bottom position |
void |
alignToCenter()
Align all shapes in list at a same center position |
void |
alignToHorizontalJustify()
Align all shapes in list at a same horizontal justify position |
void |
alignToLeft()
Align all shapes in list at a same left position |
void |
alignToRight()
Align all shapes in list at a same right position |
void |
alignToTop()
Align all shapes in list at a same top position |
void |
alignToVerticalJustify()
Align all shapes in list at a same vertical justify position |
Rect |
getBounds()
Get the bounds of this object list. |
ObjectList |
getList()
Get an objectList that encapsulates shape Objects |
void |
setList(ObjectList list)
Set an objectList that encapsulates shape Objects |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int ALIGNMENTTYPE_LEFT
public static final int ALIGNMENTTYPE_RIGHT
public static final int ALIGNMENTTYPE_TOP
public static final int ALIGNMENTTYPE_BOTTOM
public static final int ALIGNMENTTYPE_CENTER
public static final int ALIGNMENTTYPE_JUSTIFY_HORIZONTAL
public static final int ALIGNMENTTYPE_JUSTIFY_VERTICAL
| Constructor Detail |
public AlignShapes(JFOperationManager operationManager)
| Method Detail |
public ObjectList getList()
public void setList(ObjectList list)
list - An object list.public Rect getBounds()
public void alignToTop()
public void alignToBottom()
public void alignToLeft()
public void alignToRight()
public void alignToCenter()
public void alignToHorizontalJustify()
public void alignToVerticalJustify()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||