jdraw.edit_ui
Class EditUI

java.lang.Object
  |
  +--mvp.View
        |
        +--jdraw.edit_ui.EditUI
All Implemented Interfaces:
java.util.Observer

public class EditUI
extends mvp.View

Class EditUI is the companion view for the Edit model class. EditUI constructs and composes the Edit pulldown menu.


Field Summary
protected  EditMenu editMenu
          The companion model
 
Fields inherited from class mvp.View
editable, model, screen, shown, widget, window
 
Constructor Summary
EditUI(mvp.Screen screen, Edit edit)
          Construct this with the given screen and companion File model.
 
Method Summary
 java.awt.Component compose()
          Compose this by composing the File pulldown menu.
 EditMenu getEditMenu()
           
 
Methods inherited from class mvp.View
getModel, getWidget, getWindow, hide, isEditable, isShown, run, setEditable, setModel, show, show, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

editMenu

protected EditMenu editMenu
The companion model
Constructor Detail

EditUI

public EditUI(mvp.Screen screen,
              Edit edit)
Construct this with the given screen and companion File model. Construct the local EditMenu object.
Parameters:
screen - - The Screen object to be passed to parent constructor.
edit - - The companion Edit object.
Method Detail

compose

public java.awt.Component compose()
Compose this by composing the File pulldown menu.
Overrides:
compose in class mvp.View

getEditMenu

public EditMenu getEditMenu()