jdraw.framework
Interface DrawEditor


public interface DrawEditor

The interface DrawEditor defines the interface for accessing the object which contains the draw view.

See Also:
DrawView

Method Summary
 void addMenu(javax.swing.JMenu menu)
          Adds a menu in the edotor' user interface
 jdraw.framework.DrawView getView()
          Returns the editor's drawing view.
 void removeMenu(javax.swing.JMenu menu)
          Removes a menu in the edotor' user interface
 void showStatus(java.lang.String msg)
          Shows a status message in the editor's user interface
 void toolChanged()
          Informs the draw editor that the tool has changed
 

Method Detail

getView

public jdraw.framework.DrawView getView()
Returns the editor's drawing view.

Returns:
the drawing view displayed in this editor

showStatus

public void showStatus(java.lang.String msg)
Shows a status message in the editor's user interface

Parameters:
msg - the status message to be displayed

addMenu

public void addMenu(javax.swing.JMenu menu)
Adds a menu in the edotor' user interface

Parameters:
menu - the menu to be added

removeMenu

public void removeMenu(javax.swing.JMenu menu)
Removes a menu in the edotor' user interface

Parameters:
menu - the menu to be removed

toolChanged

public void toolChanged()
Informs the draw editor that the tool has changed