org.nakedobjects.plugins.dnd.viewer.view.field
Class TextParseableFieldAbstract

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.viewer.view.simple.AbstractView
      extended by org.nakedobjects.plugins.dnd.viewer.view.field.AbstractField
          extended by org.nakedobjects.plugins.dnd.viewer.view.field.TextParseableFieldAbstract
All Implemented Interfaces:
java.lang.Cloneable, View
Direct Known Subclasses:
ColorField, TextField

public abstract class TextParseableFieldAbstract
extends AbstractField


Field Summary
 
Fields inherited from class org.nakedobjects.plugins.dnd.viewer.view.field.AbstractField
TEXT_WIDTH
 
Fields inherited from interface org.nakedobjects.plugins.dnd.View
HPADDING, VPADDING
 
Constructor Summary
protected TextParseableFieldAbstract(Content content, ViewSpecification design, ViewAxis axis)
           
 
Method Summary
 Consent canChangeValue()
          Determines if the user is able to change the held value.
protected  boolean cantClear()
           
protected  void clear()
           
protected  void copyToClipboard()
           
 boolean isEmpty()
           
protected  void parseEntry(java.lang.String entryText)
           
protected  void pasteFromClipboard()
           
protected  boolean provideClearCopyPaste()
           
protected  void saveValue(NakedObject value)
           
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.field.AbstractField
canFocus, contentMenuOptions, drag, dragCancel, dragFrom, dragTo, draw, entered, exited, getBaseline, getIdentified, getPadding, getRoot, hasFocus, indicatesForView, initiateSave, keyPressed, keyReleased, keyTyped, save, toString, viewAreaType
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.simple.AbstractView
addView, assignId, contains, containsFocus, debug, debugStructure, dispose, drag, dragIn, dragOut, dragStart, drop, drop, editComplete, firstClick, focusLost, focusReceived, getAbsoluteLocation, getBounds, getContent, getFeedbackManager, getFocusManager, getId, getLocation, getMaximumSize, getParent, getRequiredSize, getSize, getSpecification, getState, getSubviews, getView, getViewAxis, getViewManager, getWorkspace, identify, invalidateContent, invalidateLayout, layout, limitBoundsWithin, limitBoundsWithin, markDamaged, markDamaged, mouseDown, mouseMoved, mouseUp, objectActionResult, pickupContent, pickupView, print, refresh, removeView, replaceOptions, replaceView, secondClick, setBounds, setContent, setFocusManager, setLocation, setMaximumSize, setParent, setSize, setSpecification, setView, setViewAxis, subviewFor, thirdClick, update, updateView, viewMenuOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextParseableFieldAbstract

protected TextParseableFieldAbstract(Content content,
                                     ViewSpecification design,
                                     ViewAxis axis)
Method Detail

provideClearCopyPaste

protected boolean provideClearCopyPaste()
Overrides:
provideClearCopyPaste in class AbstractField

pasteFromClipboard

protected void pasteFromClipboard()
Overrides:
pasteFromClipboard in class AbstractField

cantClear

protected boolean cantClear()
Overrides:
cantClear in class AbstractField

clear

protected void clear()
Overrides:
clear in class AbstractField

copyToClipboard

protected void copyToClipboard()
Overrides:
copyToClipboard in class AbstractField

isEmpty

public boolean isEmpty()
Overrides:
isEmpty in class AbstractField

canChangeValue

public Consent canChangeValue()
Description copied from interface: View
Determines if the user is able to change the held value.

Specified by:
canChangeValue in interface View
Overrides:
canChangeValue in class AbstractView

saveValue

protected void saveValue(NakedObject value)

parseEntry

protected void parseEntry(java.lang.String entryText)


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.