|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DrawingEditor
DrawingEditor defines the interface for coordinating the different objects that participate in a drawing editor.
Mediator
DrawingEditor is the mediator. It decouples the participants
of a drawing editor.
Tool
,
DrawingView
,
Drawing
Method Summary | |
---|---|
void |
addViewChangeListener(ViewChangeListener vsl)
|
void |
figureSelectionChanged(DrawingView view)
Informs that the current figure selection has changed. |
UndoManager |
getUndoManager()
|
void |
removeViewChangeListener(ViewChangeListener vsl)
|
void |
showStatus(java.lang.String string)
Shows a status message in the editor's user interface |
Tool |
tool()
Gets the editor's current tool. |
void |
toolDone()
Informs the editor that a tool has done its interaction. |
DrawingView |
view()
Gets the editor's drawing view. |
DrawingView[] |
views()
|
Method Detail |
---|
DrawingView view()
DrawingView[] views()
Tool tool()
void toolDone()
void figureSelectionChanged(DrawingView view)
figureSelectionChanged
in interface FigureSelectionListener
view
- DrawingViewvoid addViewChangeListener(ViewChangeListener vsl)
void removeViewChangeListener(ViewChangeListener vsl)
void showStatus(java.lang.String string)
UndoManager getUndoManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |