org.nakedobjects.viewer.lightweight.util
Class ViewFactory
java.lang.Object
org.nakedobjects.viewer.lightweight.util.ViewFactory
- All Implemented Interfaces:
- DebugInfo
- public class ViewFactory
- extends java.lang.Object
- implements DebugInfo
This class holds all the different view types that all the different objects can be
viewed as.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getViewFactory
public static ViewFactory getViewFactory()
getDebugData
public java.lang.String getDebugData()
- Description copied from interface:
DebugInfo
- Debug details describing the object being investigated
- Specified by:
getDebugData in interface DebugInfo
getDebugTitle
public java.lang.String getDebugTitle()
- Description copied from interface:
DebugInfo
- the title for the debug information
- Specified by:
getDebugTitle in interface DebugInfo
addClassPrototype
public void addClassPrototype(DesktopView view)
addClosedPrototype
public void addClosedPrototype(java.lang.Class forType,
InternalView view)
addDragPrototype
public void addDragPrototype(View view)
addDragOutlinePrototype
public void addDragOutlinePrototype(View view)
addEmptyFieldPrototype
public void addEmptyFieldPrototype(InternalView view)
addInternalViewPrototype
public void addInternalViewPrototype(java.lang.Class forType,
InternalView view)
addRootViewPrototype
public void addRootViewPrototype(java.lang.Class forType,
RootView view)
closedViews
public java.util.Enumeration closedViews(NakedObject object)
createClassView
public DesktopView createClassView(NakedClass object)
createDragView
public DragView createDragView(Naked object)
createDragOutline
public DragView createDragOutline(Naked object)
createFieldView
public InternalView createFieldView(Naked object,
Field field)
createIconView
public DesktopView createIconView(Naked object,
Field field)
createInternalView
public InternalView createInternalView(Naked forObject,
Field asField,
boolean iconized)
createOpenView
public InternalView createOpenView(Naked object,
Field field)
createRootView
public RootView createRootView(Naked object)
hasClosedViews
public boolean hasClosedViews(Naked object)
hasInternalViews
public boolean hasInternalViews(Naked object)
hasRootViews
public boolean hasRootViews(Naked object)
internalViews
public java.util.Enumeration internalViews(NakedObject object)
rootViews
public java.util.Enumeration rootViews(NakedObject object)