|
||||||||||
| 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.ServiceObject
public class ServiceObject
| Constructor Summary | |
|---|---|
ServiceObject(NakedObject adapter)
|
|
| Method Summary | |
|---|---|
Consent |
canClear()
|
Consent |
canDrop(Content sourceContent)
Determines if the specified content can be drop on this content. |
Consent |
canSet(NakedObject dragSource)
|
void |
clear()
|
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 |
getObject()
|
NakedObject[] |
getOptions()
|
NakedObjectSpecification |
getSpecification()
The specification of the object represented by this content. |
boolean |
isObject()
Returns true if this content represents a NakedObject. |
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)
|
void |
setObject(NakedObject object)
|
java.lang.String |
title()
|
java.lang.String |
toString()
|
void |
viewMenuOptions(UserActionSet options)
Allows this content to add menu options to the set of menu options the user will see for this view. |
java.lang.String |
windowTitle()
|
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.content.AbstractContent |
|---|
contentMenuOptions, isCollection, isPersistable, isTextParseable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceObject(NakedObject adapter)
| Method Detail |
|---|
public Consent canClear()
public Consent canSet(NakedObject dragSource)
public void clear()
public void debugDetails(DebugString debug)
public NakedObject getNaked()
Content
public java.lang.String getDescription()
public java.lang.String getHelp()
public java.lang.String getId()
public NakedObject getObject()
public NakedObject[] getOptions()
public NakedObjectSpecification getSpecification()
Content
public boolean isObject()
Content
isObject in interface ContentisObject in class AbstractContentpublic boolean isOptionEnabled()
public boolean isTransient()
Content
public void setObject(NakedObject object)
public java.lang.String title()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String windowTitle()
windowTitle in interface ContentwindowTitle in class AbstractContentpublic Consent canDrop(Content sourceContent)
Content
public NakedObject drop(Content sourceContent)
Content
public java.lang.String getIconName()
Content
public Image getIconPicture(int iconHeight)
Content
public void parseTextEntry(java.lang.String entryText)
public void viewMenuOptions(UserActionSet options)
Content
viewMenuOptions in interface ContentviewMenuOptions in class AbstractContentContent.contentMenuOptions(UserActionSet)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||