|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--EditState
Each editstate records the state of an open editor window. Used to reopen windows as they were when the file was last closed.
| Field Summary | |
(package private) java.awt.Rectangle |
bounds
The position of the editor on the desktop. |
(package private) boolean |
closed
True if editor was closed. |
(package private) int |
layer
The layer of the editor. |
(package private) boolean |
maximized
True if editor ws maximized |
(package private) boolean |
minimized
True if editor ws minimized |
(package private) double |
rotation
The rotation of the editor. |
(package private) double |
scale
The current scale setting. |
private static long |
serialVersionUID
|
(package private) Editable |
target
What is being edited. |
(package private) java.awt.Point |
view
The position of the scrollpane of this editor |
| Constructor Summary | |
EditState(EditFrame frame)
Build an EditState recording the state of an editor. |
|
| Method Summary | |
void |
restore(CartoFrame frame)
Restore the state of our editor. |
static void |
restoreAll(EditState[] edits,
CartoFrame frame)
Restore all the edits in the frame |
(package private) static EditState[] |
saveEditors(javax.swing.JDesktopPane pane)
Record the states of all editors on a dektop. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static final long serialVersionUID
boolean closed
boolean maximized
boolean minimized
int layer
java.awt.Rectangle bounds
Editable target
double scale
double rotation
java.awt.Point view
| Constructor Detail |
public EditState(EditFrame frame)
| Method Detail |
static EditState[] saveEditors(javax.swing.JDesktopPane pane)
public void restore(CartoFrame frame)
public static void restoreAll(EditState[] edits,
CartoFrame frame)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||