|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.viewer.classic.CollectionViewHandler
A listener of an ObjectViewer that deals with: double-clicks by iconising/expanding the view; drops outside of an other object viewers by creating a new view; and the results of user action by displaying a new view for the new object.
| Constructor Summary | |
CollectionViewHandler()
|
|
| Method Summary | |
void |
open(ViewActionEvent evt)
Toggles the viewer between the default view and the alternative view. |
void |
showResults(ViewActionEvent evt)
Creates a new Frame, with the right type of ObjectViewer for the object, to display the new object. |
void |
vacantDrop(ViewActionEvent evt)
Creates a new Frame and ObjectViewer for the NakedCollection and places the window under the pointer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CollectionViewHandler()
| Method Detail |
public void open(ViewActionEvent evt)
open in interface ViewActionListenerevt - the event - a double-clickpublic void showResults(ViewActionEvent evt)
showResults in interface ViewActionListenerevt - the event - a drop ?.public void vacantDrop(ViewActionEvent evt)
vacantDrop in interface ViewActionListenerevt - the event - a drop.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||