picturedream.action
Class Controller4DetailInspector

java.lang.Object
  |
  +--picturedream.action.Controller4DetailInspector
All Implemented Interfaces:
java.util.EventListener, IPictureListener, java.awt.event.MouseMotionListener

public class Controller4DetailInspector
extends java.lang.Object
implements java.awt.event.MouseMotionListener, IPictureListener

Title: PictureDream

Description: Controller responsible for updating the inspectors data

Copyright: Copyright (c) 2003 MRoc

Organisation: MRoc Audiosolutions

Version:
1.0
Author:
MRoc mail@mroc.de

Field Summary
protected  PictureDetailInspector ivInspector
          the inspector where mouse and color info is displayed
protected  PictureView ivView
          the view logging mouse
 
Constructor Summary
Controller4DetailInspector(PictureView view, PictureDetailInspector inspector)
          constructor
 
Method Summary
 void mouseDragged(java.awt.event.MouseEvent e)
          Invoked when a mouse button is pressed on a component and then dragged.
 void mouseMoved(java.awt.event.MouseEvent e)
          Invoked when the mouse button has been moved on a component (with no buttons down).
 void onPictureChanged()
          invoked when the picture changed
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

ivView

protected PictureView ivView
the view logging mouse

ivInspector

protected PictureDetailInspector ivInspector
the inspector where mouse and color info is displayed
Constructor Detail

Controller4DetailInspector

public Controller4DetailInspector(PictureView view,
                                  PictureDetailInspector inspector)
constructor
Method Detail

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
Invoked when a mouse button is pressed on a component and then dragged.
Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e)
Invoked when the mouse button has been moved on a component (with no buttons down).
Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener

onPictureChanged

public void onPictureChanged()
invoked when the picture changed
Specified by:
onPictureChanged in interface IPictureListener