All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class mvc.ObsStoreView

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----mvc.ObsStoreView

public class ObsStoreView
extends Canvas
implements Observer

Constructor Index

 o ObsStoreView(ObservableStore)

Method Index

 o minimumSize()
Returns the minimum size of this component.
 o mouseDown(Event, int, int)
Called if the mouse is down.
 o paint(Graphics)
Paints the canvas in the default background color.
 o preferredSize()
Returns the preferred size of this component.
 o store()
 o update(Observable, Object)

Constructors

 o ObsStoreView
  public ObsStoreView(ObservableStore s)

Methods

 o store
  public STORE store()
 o paint
  public void paint(Graphics g)
Paints the canvas in the default background color.

Overrides:
paint in class Canvas
 o minimumSize
  public Dimension minimumSize()
Returns the minimum size of this component.

Overrides:
minimumSize in class Component
 o preferredSize
  public Dimension preferredSize()
Returns the preferred size of this component.

Overrides:
preferredSize in class Component
 o update
  public void update(Observable o,
                     Object args)
 o mouseDown
  public boolean mouseDown(Event e,
                           int x,
                           int y)
Called if the mouse is down.

Overrides:
mouseDown in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index

Imprint | Data Protection