org.nakedobjects.plugins.dnd.viewer.content
Class TextParseableFieldImpl
java.lang.Object
org.nakedobjects.plugins.dnd.viewer.content.AbstractContent
org.nakedobjects.plugins.dnd.viewer.content.AbstractTextParsableContent
org.nakedobjects.plugins.dnd.viewer.content.TextParseableFieldImpl
- All Implemented Interfaces:
- Content, FieldContent, TextParseableContent, TextParseableField
public class TextParseableFieldImpl
- extends AbstractTextParsableContent
- implements TextParseableField
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TextParseableFieldImpl
public TextParseableFieldImpl(NakedObject parent,
NakedObject object,
OneToOneAssociation association)
canDrop
public Consent canDrop(Content sourceContent)
- Description copied from interface:
Content
- Determines if the specified content can be drop on this content.
- Specified by:
canDrop in interface Content
canClear
public boolean canClear()
- Specified by:
canClear in interface TextParseableContent
canWrap
public boolean canWrap()
- Specified by:
canWrap in interface TextParseableContent
clear
public void clear()
- Specified by:
clear in interface TextParseableContent- Specified by:
clear in class AbstractTextParsableContent
debugDetails
public void debugDetails(DebugString debug)
- Specified by:
debugDetails in interface Content
drop
public NakedObject drop(Content sourceContent)
- Description copied from interface:
Content
- Implements the response to the dropping of the specified content onto this content.
- Specified by:
drop in interface Content
entryComplete
public void entryComplete()
- Specified by:
entryComplete in interface TextParseableContent- Specified by:
entryComplete in class AbstractTextParsableContent
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface Content
getHelp
public java.lang.String getHelp()
- Specified by:
getHelp in interface Content
getFieldName
public java.lang.String getFieldName()
- Specified by:
getFieldName in interface FieldContent
getField
public NakedObjectAssociation getField()
- Specified by:
getField in interface FieldContent
getIconName
public java.lang.String getIconName()
- Description copied from interface:
Content
- The name of the icon to use to respresent the object represented by this content.
- Specified by:
getIconName in interface Content
getNaked
public NakedObject getNaked()
- Description copied from interface:
Content
- The object represented by this content.
- Specified by:
getNaked in interface Content
getId
public java.lang.String getId()
- Specified by:
getId in interface Content
getOptions
public NakedObject[] getOptions()
- Specified by:
getOptions in interface Content
getMaximumLength
public int getMaximumLength()
- Specified by:
getMaximumLength in interface TextParseableContent
getTypicalLineLength
public int getTypicalLineLength()
- Specified by:
getTypicalLineLength in interface TextParseableContent
getNoLines
public int getNoLines()
- Specified by:
getNoLines in interface TextParseableContent
getParent
public NakedObject getParent()
- Specified by:
getParent in interface FieldContent
getSpecification
public NakedObjectSpecification getSpecification()
- Description copied from interface:
Content
- The specification of the object represented by this content.
- Specified by:
getSpecification in interface Content
isEditable
public Consent isEditable()
- Specified by:
isEditable in interface FieldContent- Specified by:
isEditable in interface TextParseableContent- Specified by:
isEditable in class AbstractTextParsableContent
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface TextParseableContent- Specified by:
isEmpty in class AbstractTextParsableContent
isMandatory
public boolean isMandatory()
- Specified by:
isMandatory in interface FieldContent
isOptionEnabled
public boolean isOptionEnabled()
- Specified by:
isOptionEnabled in interface Content
titleString
public java.lang.String titleString(NakedObject value)
- Specified by:
titleString in interface TextParseableContent
parseTextEntry
public void parseTextEntry(java.lang.String entryText)
- Specified by:
parseTextEntry in interface Content- Specified by:
parseTextEntry in class AbstractTextParsableContent
title
public java.lang.String title()
- Specified by:
title in interface Content
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
windowTitle
public java.lang.String windowTitle()
- Specified by:
windowTitle in interface Content- Overrides:
windowTitle in class AbstractContent
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.