org.nakedobjects.plugins.dnd.viewer.lookup
Class OptionContent

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.viewer.content.AbstractContent
      extended by org.nakedobjects.plugins.dnd.viewer.lookup.OptionContent
All Implemented Interfaces:
Content

public class OptionContent
extends AbstractContent


Constructor Summary
OptionContent(NakedObject nakedObject)
           
 
Method Summary
 Consent canDrop(Content sourceContent)
          Determines if the specified content can be drop on this content.
 void debugDetails(DebugString debug)
           
 NakedObject drop(Content sourceContent)
          Implements the response to the dropping of the specified content onto this content.
 java.lang.String getDescription()
           
 java.lang.String getHelp()
           
 java.lang.String getIconName()
          The name of the icon to use to respresent the object represented by this content.
 Image getIconPicture(int iconHeight)
          The icon to use to respresent the object represented by this content.
 java.lang.String getId()
           
 NakedObject getNaked()
          The object represented by this content.
 NakedObject[] getOptions()
           
 NakedObjectSpecification getSpecification()
          The specification of the object represented by this content.
 boolean isOptionEnabled()
           
 boolean isTransient()
          Returns true if the object represented by this content is transient; has not been persisted yet.
 void parseTextEntry(java.lang.String entryText)
           
 java.lang.String title()
           
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.content.AbstractContent
contentMenuOptions, isCollection, isObject, isPersistable, isTextParseable, viewMenuOptions, windowTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionContent

public OptionContent(NakedObject nakedObject)
Method Detail

canDrop

public Consent canDrop(Content sourceContent)
Description copied from interface: Content
Determines if the specified content can be drop on this content.


debugDetails

public void debugDetails(DebugString debug)

drop

public NakedObject drop(Content sourceContent)
Description copied from interface: Content
Implements the response to the dropping of the specified content onto this content.


getDescription

public java.lang.String getDescription()

getHelp

public java.lang.String getHelp()

getIconName

public java.lang.String getIconName()
Description copied from interface: Content
The name of the icon to use to respresent the object represented by this content.


getIconPicture

public Image getIconPicture(int iconHeight)
Description copied from interface: Content
The icon to use to respresent the object represented by this content.


getId

public java.lang.String getId()

getNaked

public NakedObject getNaked()
Description copied from interface: Content
The object represented by this content.


getOptions

public NakedObject[] getOptions()

getSpecification

public NakedObjectSpecification getSpecification()
Description copied from interface: Content
The specification of the object represented by this content.


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.


parseTextEntry

public void parseTextEntry(java.lang.String entryText)

title

public java.lang.String title()


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