|
||||||||||
| 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.AbstractTextParsableContent
org.nakedobjects.plugins.dnd.viewer.content.TextParseableParameterImpl
public class TextParseableParameterImpl
| Constructor Summary | |
|---|---|
TextParseableParameterImpl(ParseableEntryActionParameter nakedObjectActionParameters,
NakedObject nakedObject,
NakedObject[] options,
int i,
ActionHelper invocation)
|
|
| Method Summary | |
|---|---|
boolean |
canClear()
|
Consent |
canDrop(Content sourceContent)
Determines if the specified content can be drop on this content. |
boolean |
canWrap()
|
void |
clear()
|
void |
debugDetails(DebugString debug)
|
NakedObject |
drop(Content sourceContent)
Implements the response to the dropping of the specified content onto this content. |
void |
entryComplete()
|
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()
|
int |
getMaximumLength()
|
NakedObject |
getNaked()
The object represented by this content. |
int |
getNoLines()
|
NakedObject[] |
getOptions()
|
java.lang.String |
getParameterName()
|
NakedObjectSpecification |
getSpecification()
The specification of the object represented by this content. |
int |
getTypicalLineLength()
|
Consent |
isEditable()
|
boolean |
isEmpty()
|
boolean |
isOptionEnabled()
|
boolean |
isRequired()
|
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()
|
java.lang.String |
titleString(NakedObject value)
|
java.lang.String |
toString()
|
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.content.AbstractTextParsableContent |
|---|
isPersistable, titleString |
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.content.AbstractContent |
|---|
contentMenuOptions, isCollection, isObject, viewMenuOptions, windowTitle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.nakedobjects.plugins.dnd.Content |
|---|
contentMenuOptions, isCollection, isObject, isPersistable, viewMenuOptions, windowTitle |
| Methods inherited from interface org.nakedobjects.plugins.dnd.Content |
|---|
contentMenuOptions, isCollection, isObject, isPersistable, viewMenuOptions, windowTitle |
| Constructor Detail |
|---|
public TextParseableParameterImpl(ParseableEntryActionParameter nakedObjectActionParameters,
NakedObject nakedObject,
NakedObject[] options,
int i,
ActionHelper invocation)
| Method Detail |
|---|
public void debugDetails(DebugString debug)
debugDetails in interface Contentpublic void entryComplete()
entryComplete in interface TextParseableContententryComplete in class AbstractTextParsableContentpublic java.lang.String getIconName()
Content
getIconName in interface Contentpublic Image getIconPicture(int iconHeight)
Content
getIconPicture in interface ContentgetIconPicture in class AbstractTextParsableContentpublic NakedObject getNaked()
Content
getNaked in interface Contentpublic int getNoLines()
getNoLines in interface TextParseableContentpublic NakedObject[] getOptions()
getOptions in interface Contentpublic boolean isEmpty()
isEmpty in interface TextParseableContentisEmpty in class AbstractTextParsableContentpublic boolean isRequired()
isRequired in interface ParameterContentpublic boolean canClear()
canClear in interface TextParseableContentpublic boolean canWrap()
canWrap in interface TextParseableContentpublic void clear()
clear in interface TextParseableContentclear in class AbstractTextParsableContentpublic boolean isTransient()
Content
isTransient in interface ContentisTransient in class AbstractTextParsableContentpublic boolean isTextParseable()
isTextParseable in interface ContentisTextParseable in class AbstractTextParsableContentpublic boolean isOptionEnabled()
isOptionEnabled in interface Contentpublic java.lang.String title()
title in interface Contentpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getParameterName()
getParameterName in interface ParameterContentpublic NakedObjectSpecification getSpecification()
Content
getSpecification in interface Contentpublic NakedObject drop(Content sourceContent)
Content
drop in interface Contentpublic Consent canDrop(Content sourceContent)
Content
canDrop in interface Contentpublic java.lang.String titleString(NakedObject value)
titleString in interface TextParseableContentpublic void parseTextEntry(java.lang.String entryText)
parseTextEntry in interface ContentparseTextEntry in class AbstractTextParsableContentInvalidEntryException - -
turns the parameter red if invalid.public java.lang.String getDescription()
getDescription in interface Contentpublic java.lang.String getHelp()
getHelp in interface Contentpublic java.lang.String getId()
getId in interface Contentpublic Consent isEditable()
isEditable in interface TextParseableContentisEditable in class AbstractTextParsableContentpublic int getMaximumLength()
getMaximumLength in interface TextParseableContentpublic int getTypicalLineLength()
getTypicalLineLength in interface TextParseableContent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||