|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.plugins.dnd.viewer.content.AbstractContent
org.nakedobjects.plugins.dnd.viewer.lookup.OptionContent
public class OptionContent
| 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 |
|---|
public OptionContent(NakedObject nakedObject)
| Method Detail |
|---|
public Consent canDrop(Content sourceContent)
Content
public void debugDetails(DebugString debug)
public NakedObject drop(Content sourceContent)
Content
public java.lang.String getDescription()
public java.lang.String getHelp()
public java.lang.String getIconName()
Content
public Image getIconPicture(int iconHeight)
Content
public java.lang.String getId()
public NakedObject getNaked()
Content
public NakedObject[] getOptions()
public NakedObjectSpecification getSpecification()
Content
public boolean isOptionEnabled()
public boolean isTransient()
Content
public void parseTextEntry(java.lang.String entryText)
public java.lang.String title()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||