org.nakedobjects.testing
Class ClassView

java.lang.Object
  extended byorg.nakedobjects.testing.Documentor
      extended byorg.nakedobjects.testing.ClassView

public class ClassView
extends Documentor


Constructor Summary
ClassView(NakedClass cls)
           
 
Method Summary
 View drop(DragView draggedView)
           
 View find(java.lang.String title)
          Deprecated. 1.2
 View findInstance(java.lang.String title)
          Finds the instance whose title matched the one specified.
 Naked getForObject()
          Returns the NakedClass that this view represents.
 java.lang.String getTitle()
           
static void init(NakedObjectStore objectStore)
           
 View instances()
          Get the instances of this class.
 View newInstance()
          Creates a new instance of this class.
 View rightClickNewInstance()
          Deprecated. - use newInstance
 
Methods inherited from class org.nakedobjects.testing.Documentor
close, doc, docln, flush, initDocumentation, initSection, isGenerating, objectString, simpleObjectString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassView

public ClassView(NakedClass cls)
Method Detail

drop

public View drop(DragView draggedView)

find

public View find(java.lang.String title)
Deprecated. 1.2


findInstance

public View findInstance(java.lang.String title)
Finds the instance whose title matched the one specified. A match is any substring matching the specified text, and the result is the first object found that gives such a match, i.e. only one object is returned even though more than one match might occur.


getForObject

public final Naked getForObject()
Returns the NakedClass that this view represents.


getTitle

public java.lang.String getTitle()

init

public static void init(NakedObjectStore objectStore)

instances

public View instances()
Get the instances of this class.


newInstance

public View newInstance()
Creates a new instance of this class.


rightClickNewInstance

public View rightClickNewInstance()
Deprecated. - use newInstance

See Also:
newInstance()