jdraw.options_ui
Class OptionsUI

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

public class OptionsUI
extends mvp.View

Class OptionsUI is the companion view for the Options model class. OptionsUI constructs and composes the Options pulldown menu.


Field Summary
protected  OptionsMenu optionsMenu
          The companion model
 
Fields inherited from class mvp.View
editable, model, screen, shown, widget, window
 
Constructor Summary
OptionsUI(mvp.Screen screen, Options options)
          Construct this with the given screen and companion Options model.
 
Method Summary
 java.awt.Component compose()
          Compose this by composing the Options pulldown menu.
 
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

optionsMenu

protected OptionsMenu optionsMenu
The companion model
Constructor Detail

OptionsUI

public OptionsUI(mvp.Screen screen,
                 Options options)
Construct this with the given screen and companion Options model. Also construct the Options Menu.
Parameters:
screen - - The Screen object to be passed to parent constructor.
options - - The Options object to be passed to parent constructor and optionsMenu.
Method Detail

compose

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