All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.samples.javadraw.JavaDrawViewer

CH.ifa.draw.samples.javadraw.JavaDrawViewer

public class JavaDrawViewer
implements DrawingEditor

Constructor Index

 o JavaDrawViewer()

Method Index

 o drawing()
Gets the editor's drawing.
 o init()
 o selectionChanged(DrawingView)
Ignore selection changes, we don't show any selection
 o showStatus(String)
Shows a status message in the editor's user interface
 o tool()
Gets the current the tool (there is only one):
 o toolDone()
Sets the editor's default tool.
 o view()
Gets the editor's drawing view.

Constructors

 o JavaDrawViewer
 public JavaDrawViewer()

Methods

 o init
 public void init()
 o view
 public DrawingView view()
Gets the editor's drawing view.

 o drawing
 public Drawing drawing()
Gets the editor's drawing.

 o tool
 public Tool tool()
Gets the current the tool (there is only one):

 o toolDone
 public void toolDone()
Sets the editor's default tool. Do nothing since we only have one tool.

 o selectionChanged
 public void selectionChanged(DrawingView view)
Ignore selection changes, we don't show any selection


All Packages  Class Hierarchy  This Package  Previous  Next  Index