org.nakedobjects.plugins.dnd.viewer.view.field
Class SingleLineTextField
java.lang.Object
org.nakedobjects.plugins.dnd.viewer.view.simple.AbstractView
org.nakedobjects.plugins.dnd.viewer.view.field.AbstractField
org.nakedobjects.plugins.dnd.viewer.view.field.TextParseableFieldAbstract
org.nakedobjects.plugins.dnd.viewer.view.field.TextField
org.nakedobjects.plugins.dnd.viewer.view.field.SingleLineTextField
- All Implemented Interfaces:
- java.lang.Cloneable, View, TextBlockTarget
public class SingleLineTextField
- extends TextField
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.field.TextField |
changeMade, clear, contentMenuOptions, copyToClipboard, debug, delete, deleteForward, down, drag, dragStart, dragTo, draw, editComplete, end, enter, entered, escape, exited, firstClick, focusLost, focusReceived, getBaseline, getMaxFieldWidth, getMaximumSize, getText, hasInvalidEntry, home, isIdentified, keyPressed, keyReleased, keyTyped, left, pageDown, pageUp, pasteFromClipboard, refresh, right, save, secondClick, setSize, setWidth, tab, thirdClick, up |
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.field.AbstractField |
canFocus, dragCancel, dragFrom, getIdentified, getPadding, getRoot, hasFocus, indicatesForView, initiateSave, toString, viewAreaType |
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.simple.AbstractView |
addView, assignId, contains, containsFocus, debugStructure, dispose, drag, dragIn, dragOut, drop, drop, getAbsoluteLocation, getBounds, getContent, getFeedbackManager, getFocusManager, getId, getLocation, 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, removeView, replaceOptions, replaceView, setBounds, setContent, setFocusManager, setLocation, setParent, setSpecification, setView, setViewAxis, subviewFor, update, updateView, viewMenuOptions |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SingleLineTextField
public SingleLineTextField(TextParseableContent content,
ViewSpecification specification,
ViewAxis axis,
boolean showLines)
align
protected void align()
- Specified by:
align in class TextField
drawHighlight
protected void drawHighlight(Canvas canvas,
int maxWidth)
- Specified by:
drawHighlight in class TextField
drawLines
protected void drawLines(Canvas canvas,
Color color,
int width)
- Specified by:
drawLines in class TextField
drawText
protected void drawText(Canvas canvas,
Color textColor,
int width)
- Specified by:
drawText in class TextField
setMaximumSize
public void setMaximumSize(Size size)
- Specified by:
setMaximumSize in interface View- Overrides:
setMaximumSize in class AbstractView
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.