org.nakedobjects.plugins.headless.viewer.internal
Class HeadlessViewerImpl

java.lang.Object
  extended by org.nakedobjects.plugins.headless.viewer.internal.HeadlessViewerImpl
All Implemented Interfaces:
HeadlessViewer

public class HeadlessViewerImpl
extends java.lang.Object
implements HeadlessViewer


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.nakedobjects.plugins.headless.applib.HeadlessViewer
HeadlessViewer.ExecutionMode
 
Constructor Summary
HeadlessViewerImpl(RuntimeContext runtimeContext)
           
 
Method Summary
 boolean addInteractionListener(InteractionListener listener)
           
 java.util.List<InteractionListener> getListeners()
           
 boolean isView(java.lang.Object possibleView)
           
 void notifyListeners(InteractionEvent interactionEvent)
           
 boolean removeInteractionListener(InteractionListener listener)
           
<T> T
view(T domainObject)
           
<T> T
view(T domainObject, HeadlessViewer.ExecutionMode mode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeadlessViewerImpl

public HeadlessViewerImpl(RuntimeContext runtimeContext)
Method Detail

view

public <T> T view(T domainObject)
Specified by:
view in interface HeadlessViewer

view

public <T> T view(T domainObject,
                  HeadlessViewer.ExecutionMode mode)
Specified by:
view in interface HeadlessViewer

isView

public boolean isView(java.lang.Object possibleView)
Specified by:
isView in interface HeadlessViewer

getListeners

public java.util.List<InteractionListener> getListeners()
Specified by:
getListeners in interface HeadlessViewer

addInteractionListener

public boolean addInteractionListener(InteractionListener listener)
Specified by:
addInteractionListener in interface HeadlessViewer

removeInteractionListener

public boolean removeInteractionListener(InteractionListener listener)
Specified by:
removeInteractionListener in interface HeadlessViewer

notifyListeners

public void notifyListeners(InteractionEvent interactionEvent)
Specified by:
notifyListeners in interface HeadlessViewer


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.