org.nakedobjects.plugins.dnd.viewer.content
Class ObjectParameterImpl
java.lang.Object
org.nakedobjects.plugins.dnd.viewer.content.AbstractContent
org.nakedobjects.plugins.dnd.viewer.content.AbstractObjectContent
org.nakedobjects.plugins.dnd.viewer.content.ObjectParameterImpl
- All Implemented Interfaces:
- Content, ObjectContent, ObjectParameter, ParameterContent
public class ObjectParameterImpl
- extends AbstractObjectContent
- implements ObjectParameter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ObjectParameterImpl
public ObjectParameterImpl(OneToOneActionParameter nakedObjectActionParameter,
NakedObject adapter,
NakedObject[] optionAdapters,
int i,
ActionHelper invocation)
ObjectParameterImpl
public ObjectParameterImpl(ObjectParameterImpl content,
NakedObject object)
canClear
public Consent canClear()
- Specified by:
canClear in interface ObjectContent- Specified by:
canClear in class AbstractObjectContent
canSet
public Consent canSet(NakedObject dragSource)
- Specified by:
canSet in interface ObjectContent- Specified by:
canSet in interface ObjectParameter- 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)
- Specified by:
debugDetails in interface Content
getNaked
public NakedObject getNaked()
- Description copied from interface:
Content
- The object represented by this content.
- Specified by:
getNaked in interface Content
getObject
public NakedObject getObject()
- Specified by:
getObject in interface ObjectContent- Specified by:
getObject in class AbstractObjectContent
getOptions
public NakedObject[] getOptions()
- Specified by:
getOptions in interface 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
isRequired
public boolean isRequired()
- Specified by:
isRequired in interface ParameterContent
isPersistable
public boolean isPersistable()
- Description copied from interface:
Content
- Returns true if the object represented by this content can be persisted.
- Specified by:
isPersistable in interface Content- Overrides:
isPersistable in class AbstractObjectContent
isOptionEnabled
public boolean isOptionEnabled()
- Specified by:
isOptionEnabled in interface Content
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.
- Specified by:
isTransient in interface Content
contentMenuOptions
public void contentMenuOptions(UserActionSet options)
- Description copied from interface:
Content
- Allows this content to add menu options to the set of menu options the user will see for this content.
- Specified by:
contentMenuOptions in interface Content- Overrides:
contentMenuOptions in class AbstractObjectContent
- See Also:
Content.viewMenuOptions(UserActionSet)
setObject
public void setObject(NakedObject object)
- Specified by:
setObject in interface ObjectContent- Specified by:
setObject in interface ObjectParameter- Specified by:
setObject in class AbstractObjectContent
title
public java.lang.String title()
- Specified by:
title in interface Content
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getParameterName
public java.lang.String getParameterName()
- Specified by:
getParameterName in interface ParameterContent
getSpecification
public NakedObjectSpecification getSpecification()
- Description copied from interface:
Content
- The specification of the object represented by this content.
- Specified by:
getSpecification in interface Content
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface Content
getHelp
public java.lang.String getHelp()
- Specified by:
getHelp in interface Content
getId
public java.lang.String getId()
- Specified by:
getId in interface Content
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.