org.nakedobjects.viewer.lightweight
Class DragOutline

java.lang.Object
  extended byorg.nakedobjects.viewer.lightweight.AbstractView
      extended byorg.nakedobjects.viewer.lightweight.AbstractObjectView
          extended byorg.nakedobjects.viewer.lightweight.DragOutline
All Implemented Interfaces:
java.lang.Cloneable, DragView, ObjectView, View

public class DragOutline
extends AbstractObjectView
implements DragView


Field Summary
 
Fields inherited from class org.nakedobjects.viewer.lightweight.AbstractObjectView
LOG
 
Fields inherited from class org.nakedobjects.viewer.lightweight.AbstractView
DEBUG, DRAG_HANDLE_WIDTH, HPADDING, ICON_SIZE, VPADDING
 
Constructor Summary
DragOutline()
           
 
Method Summary
 void draw(Canvas canvas)
          Called by the frame, or the parent view, when this view must redraw itself.
 Size getRequiredSize()
           
 void setRequiredSize(Size size)
           
protected  boolean transparentBackground()
          Root views should be opaque
 
Methods inherited from class org.nakedobjects.viewer.lightweight.AbstractObjectView
backgroundColor, clearRootViewIdentified, clone, collectionAddUpdate, collectionRemoveUpdate, createIconImage, debugDetails, dispose, dragCancel, dragging, dragObjectIn, dragObjectOut, dropObject, dropView, entered, enteredSubview, exited, exitedSubview, firstClick, getFieldOf, getObject, getRoot, getState, init, isIdentified, isRoot, makeView, menuOptions, mouseMoved, objectInfo, objectLocatedAt, objectMenuOptions, objectUpdate, parentObjectView, pickupObject, pickupView, removeViewsFor, secondClick, setRootViewIdentified, topView, toString, viewMenuOptions
 
Methods inherited from class org.nakedobjects.viewer.lightweight.AbstractView
addControl, assignId, calculateRepaintArea, contains, createCanvas, defaultFieldHeight, getAbsoluteLocation, getBaseline, getBorder, getBounds, getId, getLocation, getName, getPadding, getParent, getSize, getWorkspace, identifyView, indicatesForView, invalidateLayout, isLayoutInvalid, isOpen, isReplaceable, layout, limitBounds, print, redraw, removeControl, repaintAll, setBorder, setBounds, setLayoutValid, setLocation, setParent, setSize, setWorkspace, thirdClick, validateLayout
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.nakedobjects.viewer.lightweight.DragView
dragCancel, dragging
 
Methods inherited from interface org.nakedobjects.viewer.lightweight.View
calculateRepaintArea, contains, debugDetails, dispose, entered, enteredSubview, exited, exitedSubview, firstClick, getAbsoluteLocation, getBaseline, getBorder, getBounds, getId, getLocation, getName, getPadding, getParent, getSize, getWorkspace, identifyView, indicatesForView, invalidateLayout, isLayoutInvalid, isOpen, isReplaceable, layout, makeView, menuOptions, mouseMoved, print, redraw, secondClick, setBorder, setBounds, setLocation, setSize, thirdClick, validateLayout
 

Constructor Detail

DragOutline

public DragOutline()
Method Detail

getRequiredSize

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

setRequiredSize

public void setRequiredSize(Size size)

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 AbstractObjectView

transparentBackground

protected boolean transparentBackground()
Description copied from class: AbstractObjectView
Root views should be opaque

Overrides:
transparentBackground in class AbstractObjectView