org.nakedobjects.plugins.dnd.viewer.content
Class AbstractTextParsableContent
java.lang.Object
org.nakedobjects.plugins.dnd.viewer.content.AbstractContent
org.nakedobjects.plugins.dnd.viewer.content.AbstractTextParsableContent
- All Implemented Interfaces:
- Content
- Direct Known Subclasses:
- TextParseableFieldImpl, TextParseableParameterImpl
public abstract class AbstractTextParsableContent
- extends AbstractContent
| 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, debugDetails, drop, getDescription, getHelp, getIconName, getId, getNaked, getOptions, getSpecification, isOptionEnabled, title |
AbstractTextParsableContent
public AbstractTextParsableContent()
clear
public abstract void clear()
entryComplete
public abstract void entryComplete()
getIconPicture
public Image getIconPicture(int iconHeight)
- Description copied from interface:
Content
- The icon to use to respresent the object represented by this content.
isEmpty
public abstract boolean isEmpty()
isPersistable
public boolean isPersistable()
- Description copied from interface:
Content
- Returns true if the object represented by this content can be persisted.
- Specified by:
isPersistable in interface Content- Overrides:
isPersistable in class AbstractContent
isTransient
public boolean isTransient()
- Description copied from interface:
Content
- Returns true if the object represented by this content is transient; has not been persisted yet.
parseTextEntry
public abstract void parseTextEntry(java.lang.String entryText)
isEditable
public abstract Consent isEditable()
isTextParseable
public boolean isTextParseable()
- Specified by:
isTextParseable in interface Content- Overrides:
isTextParseable in class AbstractContent
titleString
protected java.lang.String titleString(NakedObject propertyOrParamValue,
FacetHolder propertyOrParam,
FacetHolder propertyOrParamTypeSpecification)
- Parameters:
propertyOrParamValue - the target property or parameterpropertyOrParam - the NakedObjectAssociation or ParseableEntryActionParameterpropertyOrParamTypeSpecification - the specification of the type of the property or parameter (for fallback).
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.