|
||||||||||
| 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
org.nakedobjects.plugins.dnd.viewer.content.ObjectActionContent
public class ObjectActionContent
Links an action on an object to a view.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.nakedobjects.plugins.dnd.viewer.content.AbstractObjectContent |
|---|
AbstractObjectContent.DebugClearResolvedOption, AbstractObjectContent.ExplorationClone, AbstractObjectContent.ExplorationInstances |
| Constructor Summary | |
|---|---|
ObjectActionContent(ActionHelper invocation)
|
|
| Method Summary | |
|---|---|
Consent |
canClear()
|
Consent |
canSet(NakedObject dragSource)
|
void |
clear()
|
void |
debugDetails(DebugString debug)
|
Consent |
disabled()
|
NakedObject |
execute()
|
java.lang.String |
getActionName()
|
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. |
java.lang.String |
getId()
|
NakedObject |
getNaked()
The object represented by this content. |
int |
getNoParameters()
|
NakedObject |
getObject()
|
NakedObject[] |
getOptions()
|
ParameterContent |
getParameterContent(int index)
|
NakedObject |
getParameterObject(int index)
|
NakedObjectSpecification |
getSpecification()
The specification of the object represented by this content. |
boolean |
isObject()
Returns true if this content represents a NakedObject. |
boolean |
isOptionEnabled()
|
boolean |
isPersistable()
Can't persist actions |
boolean |
isTransient()
Returns true if the object represented by this content is transient; has not been persisted yet. |
void |
setObject(NakedObject object)
|
java.lang.String |
title()
|
java.lang.String |
windowTitle()
|
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.content.AbstractObjectContent |
|---|
canDrop, contentMenuOptions, drop, getIconPicture, parseTextEntry |
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.content.AbstractContent |
|---|
isCollection, isTextParseable, viewMenuOptions |
| 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 |
|---|
canDrop, contentMenuOptions, drop, getIconPicture, isCollection, isTextParseable, parseTextEntry, viewMenuOptions |
| Constructor Detail |
|---|
public ObjectActionContent(ActionHelper invocation)
| Method Detail |
|---|
public Consent canClear()
canClear in interface ObjectContentcanClear in class AbstractObjectContentpublic Consent canSet(NakedObject dragSource)
canSet in interface ObjectContentcanSet in class AbstractObjectContentpublic void clear()
clear in interface ObjectContentclear in class AbstractObjectContentpublic void debugDetails(DebugString debug)
debugDetails in interface Contentpublic Consent disabled()
disabled in interface ActionContentpublic NakedObject execute()
execute in interface ActionContentpublic java.lang.String getActionName()
getActionName in interface ActionContentpublic java.lang.String getIconName()
Content
getIconName in interface ContentgetIconName in class AbstractObjectContentpublic NakedObject getNaked()
Content
getNaked in interface Contentpublic int getNoParameters()
getNoParameters in interface ActionContentpublic NakedObject getObject()
getObject in interface ObjectContentgetObject in class AbstractObjectContentpublic ParameterContent getParameterContent(int index)
getParameterContent in interface ActionContentpublic NakedObject getParameterObject(int index)
getParameterObject in interface ActionContentpublic NakedObjectSpecification getSpecification()
Content
getSpecification in interface Contentpublic boolean isPersistable()
isPersistable in interface ContentisPersistable in class AbstractObjectContentpublic boolean isObject()
Content
isObject in interface ContentisObject in class AbstractContentpublic boolean isTransient()
Content
isTransient in interface Contentpublic void setObject(NakedObject object)
setObject in interface ObjectContentsetObject in class AbstractObjectContentpublic java.lang.String title()
title in interface Contentpublic java.lang.String windowTitle()
windowTitle in interface ContentwindowTitle in class AbstractContentpublic java.lang.String getId()
getId in interface Contentpublic java.lang.String getDescription()
getDescription in interface ActionContentgetDescription in interface Contentpublic java.lang.String getHelp()
getHelp in interface Contentpublic NakedObject[] getOptions()
getOptions in interface Contentpublic boolean isOptionEnabled()
isOptionEnabled in interface Content
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||