org.nakedobjects.plugins.dnd.viewer.content
Class RootObject
java.lang.Object
org.nakedobjects.plugins.dnd.viewer.content.AbstractContent
org.nakedobjects.plugins.dnd.viewer.content.AbstractObjectContent
org.nakedobjects.plugins.dnd.viewer.content.RootObject
- All Implemented Interfaces:
- Content, ObjectContent
public class RootObject
- extends AbstractObjectContent
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RootObject
public RootObject(NakedObject adapter)
canClear
public Consent canClear()
- Specified by:
canClear in interface ObjectContent- Specified by:
canClear in class AbstractObjectContent
canDrop
public Consent canDrop(Content sourceContent)
- Description copied from interface:
Content
- Determines if the specified content can be drop on this content.
- Specified by:
canDrop in interface Content- Overrides:
canDrop in class AbstractObjectContent
canSet
public Consent canSet(NakedObject dragSource)
- Specified by:
canSet in interface ObjectContent- Specified by:
canSet in class AbstractObjectContent
clear
public void clear()
- Specified by:
clear in interface ObjectContent- Specified by:
clear in class AbstractObjectContent
debugDetails
public void debugDetails(DebugString debug)
getNaked
public NakedObject getNaked()
- Description copied from interface:
Content
- The object represented by this content.
getDescription
public java.lang.String getDescription()
getHelp
public java.lang.String getHelp()
getId
public java.lang.String getId()
getObject
public NakedObject getObject()
- Specified by:
getObject in interface ObjectContent- Specified by:
getObject in class AbstractObjectContent
getOptions
public NakedObject[] getOptions()
getSpecification
public NakedObjectSpecification getSpecification()
- Description copied from interface:
Content
- The specification of the object represented by this content.
isObject
public boolean isObject()
- Description copied from interface:
Content
- Returns true if this content represents a NakedObject.
- Specified by:
isObject in interface Content- Overrides:
isObject in class AbstractContent
isOptionEnabled
public boolean isOptionEnabled()
isTransient
public boolean isTransient()
- Description copied from interface:
Content
- Returns true if the object represented by this content is transient; has not been persisted yet.
setObject
public void setObject(NakedObject object)
- Specified by:
setObject in interface ObjectContent- Specified by:
setObject in class AbstractObjectContent
title
public java.lang.String title()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
windowTitle
public java.lang.String windowTitle()
- Specified by:
windowTitle in interface Content- Overrides:
windowTitle in class AbstractContent
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.