jdraw.structure_ui
Class StructureUI

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

public class StructureUI
extends mvp.View

Class StructureUI is the companion view for the Structure model class. StructureUI constructs and composes the Structure pulldown menu.


Field Summary
protected  StructureMenu structureMenu
          The companion model
 
Fields inherited from class mvp.View
editable, model, screen, shown, widget, window
 
Constructor Summary
StructureUI(mvp.Screen screen, Structure structure)
          Construct this with the given screen and companion Structure model.
 
Method Summary
 java.awt.Component compose()
          Compose this by composing the Structure 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

structureMenu

protected StructureMenu structureMenu
The companion model
Constructor Detail

StructureUI

public StructureUI(mvp.Screen screen,
                   Structure structure)
Construct this with the given screen and companion Structure model. All construct the Structure Menu.
Parameters:
screen - - The Screen object to be passed to parent constructor.
structure - - The Structure model class.
Method Detail

compose

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