|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.Observable
|
+--mvp.Model
|
+--jdraw.align.Align
Class Align is the Model class for graphic and group alignment operations such as ...
| Field Summary | |
protected JDraw |
jdraw
A local reference to the top-level JDraw object. |
| Fields inherited from class mvp.Model |
view |
| Constructor Summary | |
Align(mvp.View view,
JDraw jdraw)
Construct this with the given View object. |
|
| Method Summary | |
void |
alignBottoms()
Align the bottom edges of the selected group(s), graphic(s). |
void |
alignBottomToTop()
Align the selected group(s), graphic(s) Botttom Edge to Top Edge. |
void |
alignCenters()
Align the centers of the selected group(s), graphic(s). |
void |
alignHorizontalCenters()
Align the horizontal centers of the selected group(s), graphic(s). |
void |
alignLeftSides()
Align the left sides of the selected group(s), graphic(s). |
void |
alignLeftToRight()
Align the selected group(s), graphic(s) Left Edge to Right Edge. |
void |
alignRightSides()
Align the right sides of the selected group(s), graphic(s). |
void |
alignRightToLeft()
Align the selected group(s), graphic(s) Right Edge to Left Edge. |
static void |
alignToGrid()
Align the selected group(s), graphic(s) to the current grid. |
void |
alignTops()
Align the top edges of the selected group(s), graphic(s). |
void |
alignTopToBottom()
Align the selected group(s), graphic(s) Top Edge to Bottom Edge. |
void |
alignVerticalCenters()
Align the vertical centers of the selected group(s), graphic(s). |
java.awt.Rectangle |
getBoundingRectangle(java.util.Vector graphics,
java.util.Vector selectedIndices)
|
void |
redrawActiveCanvasWindow()
Calls the redrawPage method of the currently active CanvasWindow. |
void |
saveActiveWindowState()
Saves the state of the Active Canvas. |
| Methods inherited from class mvp.Model |
getView, setView |
| Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected JDraw jdraw
| Constructor Detail |
public Align(mvp.View view,
JDraw jdraw)
view - - The View object to be passed to the parent constructor.jdraw - - The JDraw object to the set as this.jdraw.| Method Detail |
public void alignLeftSides()
public void alignRightSides()
public void alignBottoms()
public void alignTops()
public void alignVerticalCenters()
public void alignHorizontalCenters()
public void alignCenters()
public void alignLeftToRight()
public void alignRightToLeft()
public void alignBottomToTop()
public void alignTopToBottom()
public void redrawActiveCanvasWindow()
public void saveActiveWindowState()
public static void alignToGrid()
public java.awt.Rectangle getBoundingRectangle(java.util.Vector graphics,
java.util.Vector selectedIndices)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||