org.nakedobjects.viewer.classic
Class ObjectViewHandler

java.lang.Object
  extended byorg.nakedobjects.viewer.classic.ObjectViewHandler
All Implemented Interfaces:
ViewActionListener

public class ObjectViewHandler
extends java.lang.Object
implements ViewActionListener


Constructor Summary
ObjectViewHandler()
           
 
Method Summary
 void open(ViewActionEvent evt)
          Called when user indicats, via a double-click, that they want to look at an object more closely, by opening it up from its icon, or to minimize it, to its icon.
 void showResults(ViewActionEvent evt)
          Called when user does something in which a result is produced.
 void vacantDrop(ViewActionEvent evt)
          Called when user drags out an object onto the desktop indicating that they want to inspect it or have it available on the desktop outside the confines of where it was originally found.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectViewHandler

public ObjectViewHandler()
Method Detail

open

public void open(ViewActionEvent evt)
Description copied from interface: ViewActionListener
Called when user indicats, via a double-click, that they want to look at an object more closely, by opening it up from its icon, or to minimize it, to its icon.

Specified by:
open in interface ViewActionListener
Parameters:
evt - the event - a double-click

showResults

public void showResults(ViewActionEvent evt)
Description copied from interface: ViewActionListener
Called when user does something in which a result is produced. Normally a drop on an object which produces a another object, or the inovocation of an object method which returns an object.

Specified by:
showResults in interface ViewActionListener
Parameters:
evt - the event - a drop ?.

vacantDrop

public void vacantDrop(ViewActionEvent evt)
Description copied from interface: ViewActionListener
Called when user drags out an object onto the desktop indicating that they want to inspect it or have it available on the desktop outside the confines of where it was originally found.

Specified by:
vacantDrop in interface ViewActionListener
Parameters:
evt - the event - a drop.