|
||||||||||
| 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.content.AbstractObjectContent
public abstract class AbstractObjectContent
| Nested Class Summary | |
|---|---|
static class |
AbstractObjectContent.DebugClearResolvedOption
|
static class |
AbstractObjectContent.ExplorationClone
|
static class |
AbstractObjectContent.ExplorationInstances
|
| Constructor Summary | |
|---|---|
AbstractObjectContent()
|
|
| Method Summary | |
|---|---|
abstract Consent |
canClear()
|
Consent |
canDrop(Content sourceContent)
Determines if the specified content can be drop on this content. |
abstract Consent |
canSet(NakedObject dragSource)
|
abstract void |
clear()
|
void |
contentMenuOptions(UserActionSet options)
Allows this content to add menu options to the set of menu options the user will see for this content. |
NakedObject |
drop(Content sourceContent)
Implements the response to the dropping of the specified content onto this content. |
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. |
abstract NakedObject |
getObject()
|
boolean |
isPersistable()
Returns true if the object represented by this content can be persisted. |
void |
parseTextEntry(java.lang.String entryText)
|
abstract void |
setObject(NakedObject object)
|
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.content.AbstractContent |
|---|
isCollection, isObject, isTextParseable, viewMenuOptions, windowTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.nakedobjects.plugins.dnd.Content |
|---|
debugDetails, getDescription, getHelp, getId, getNaked, getOptions, getSpecification, isCollection, isObject, isOptionEnabled, isTextParseable, isTransient, title, viewMenuOptions, windowTitle |
| Constructor Detail |
|---|
public AbstractObjectContent()
| Method Detail |
|---|
public abstract Consent canClear()
canClear in interface ObjectContentpublic Consent canDrop(Content sourceContent)
Content
canDrop in interface Contentpublic abstract Consent canSet(NakedObject dragSource)
canSet in interface ObjectContentpublic abstract void clear()
clear in interface ObjectContentpublic NakedObject drop(Content sourceContent)
Content
drop in interface Contentpublic abstract NakedObject getObject()
getObject in interface ObjectContentpublic boolean isPersistable()
Content
isPersistable in interface ContentisPersistable in class AbstractContentpublic void contentMenuOptions(UserActionSet options)
Content
contentMenuOptions in interface ContentcontentMenuOptions in class AbstractContentContent.viewMenuOptions(UserActionSet)public void parseTextEntry(java.lang.String entryText)
parseTextEntry in interface Contentpublic abstract void setObject(NakedObject object)
setObject in interface ObjectContentpublic java.lang.String getIconName()
Content
getIconName in interface Contentpublic Image getIconPicture(int iconHeight)
Content
getIconPicture in interface Content
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||