|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.plugins.dnd.viewer.view.message.TextMessageContent
public class TextMessageContent
| Field Summary | |
|---|---|
protected java.lang.String |
detail
|
protected java.lang.String |
heading
|
protected java.lang.String |
message
|
protected java.lang.String |
title
|
| Constructor Summary | |
|---|---|
TextMessageContent(java.lang.String title,
java.lang.String message)
|
|
| Method Summary | |
|---|---|
Consent |
canDrop(Content sourceContent)
Determines if the specified content can be drop on this content. |
void |
contentMenuOptions(UserActionSet options)
Allows this content to add menu options to the set of menu options the user will see for 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 |
getDetail()
|
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()
|
java.lang.String |
getMessage()
|
NakedObject |
getNaked()
The object represented by this content. |
NakedObject[] |
getOptions()
|
NakedObjectSpecification |
getSpecification()
The specification of the object represented by this content. |
boolean |
isCollection()
Returns true if this content represents a NakedCollection. |
boolean |
isObject()
Returns true if this content represents a NakedObject. |
boolean |
isOptionEnabled()
|
boolean |
isPersistable()
Returns true if the object represented by this content can be persisted. |
boolean |
isTextParseable()
|
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()
|
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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final java.lang.String message
protected final java.lang.String heading
protected final java.lang.String detail
protected final java.lang.String title
| Constructor Detail |
|---|
public TextMessageContent(java.lang.String title,
java.lang.String message)
| Method Detail |
|---|
public java.lang.String getMessage()
getMessage in interface MessageContentpublic java.lang.String getDetail()
getDetail in interface MessageContentpublic Consent canDrop(Content sourceContent)
Content
canDrop in interface Contentpublic void contentMenuOptions(UserActionSet options)
Content
contentMenuOptions in interface ContentContent.viewMenuOptions(UserActionSet)public void debugDetails(DebugString debug)
debugDetails in interface Contentpublic NakedObject drop(Content sourceContent)
Content
drop in interface Contentpublic java.lang.String getDescription()
getDescription in interface Contentpublic java.lang.String getHelp()
getHelp in interface Contentpublic java.lang.String getIconName()
Content
getIconName in interface Contentpublic Image getIconPicture(int iconHeight)
Content
getIconPicture in interface Contentpublic java.lang.String getId()
getId in interface Contentpublic NakedObject getNaked()
Content
getNaked in interface Contentpublic NakedObject[] getOptions()
getOptions in interface Contentpublic NakedObjectSpecification getSpecification()
Content
getSpecification in interface Contentpublic boolean isCollection()
Content
isCollection in interface Contentpublic boolean isObject()
Content
isObject in interface Contentpublic boolean isPersistable()
Content
isPersistable in interface Contentpublic boolean isOptionEnabled()
isOptionEnabled in interface Contentpublic boolean isTransient()
Content
isTransient in interface Contentpublic boolean isTextParseable()
isTextParseable in interface Contentpublic void parseTextEntry(java.lang.String entryText)
parseTextEntry in interface Contentpublic java.lang.String title()
title in interface Contentpublic void viewMenuOptions(UserActionSet options)
Content
viewMenuOptions in interface ContentContent.contentMenuOptions(UserActionSet)public java.lang.String windowTitle()
windowTitle in interface Content
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||