org.nakedobjects.plugins.dnd.viewer.view.simple
Class TextView

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.viewer.view.simple.AbstractView
      extended by org.nakedobjects.plugins.dnd.viewer.view.simple.TextView
All Implemented Interfaces:
java.lang.Cloneable, View

public class TextView
extends AbstractView


Field Summary
 
Fields inherited from interface org.nakedobjects.plugins.dnd.View
HPADDING, VPADDING
 
Constructor Summary
TextView(Content content, ViewSpecification specification, ViewAxis axis)
           
 
Method Summary
 boolean canFocus()
          Determines whether this view accepts keyboard focus.
 void draw(Canvas canvas)
          Called by the frame, or the parent view, when this view must redraw itself.
 int getBaseline()
           
 Size getRequiredSize(Size maximumSize)
           
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.simple.AbstractView
addView, assignId, canChangeValue, contains, containsFocus, contentMenuOptions, debug, debugStructure, dispose, drag, drag, dragCancel, dragFrom, dragIn, dragOut, dragStart, dragTo, drop, drop, editComplete, entered, exited, firstClick, focusLost, focusReceived, getAbsoluteLocation, getBounds, getContent, getFeedbackManager, getFocusManager, getId, getLocation, getMaximumSize, getPadding, getParent, getSize, getSpecification, getState, getSubviews, getView, getViewAxis, getViewManager, getWorkspace, hasFocus, identify, invalidateContent, invalidateLayout, keyPressed, keyReleased, keyTyped, 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, toString, update, updateView, viewAreaType, viewMenuOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextView

public TextView(Content content,
                ViewSpecification specification,
                ViewAxis axis)
Method Detail

canFocus

public boolean canFocus()
Description copied from interface: View
Determines whether this view accepts keyboard focus. If so focusLost and focusReceived will be called.

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

draw

public void draw(Canvas canvas)
Description copied from interface: View
Called by the frame, or the parent view, when this view must redraw itself.

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

getBaseline

public int getBaseline()
Specified by:
getBaseline in interface View
Overrides:
getBaseline in class AbstractView

getRequiredSize

public Size getRequiredSize(Size maximumSize)
Specified by:
getRequiredSize in interface View
Overrides:
getRequiredSize in class AbstractView


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