org.nakedobjects.plugins.dnd.viewer.list
Class InternalCollectionBorder

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.viewer.border.AbstractViewDecorator
      extended by org.nakedobjects.plugins.dnd.viewer.border.AbstractBorder
          extended by org.nakedobjects.plugins.dnd.viewer.list.InternalCollectionBorder
All Implemented Interfaces:
java.lang.Cloneable, View

public class InternalCollectionBorder
extends AbstractBorder


Field Summary
 
Fields inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractBorder
bottom, left, right, top
 
Fields inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractViewDecorator
wrappedView
 
Fields inherited from interface org.nakedobjects.plugins.dnd.View
HPADDING, VPADDING
 
Constructor Summary
protected InternalCollectionBorder(View wrappedView)
           
 
Method Summary
 void contentMenuOptions(UserActionSet options)
          Called when the popup menu is being populated for this view.
protected  void debugDetails(DebugString debug)
           
 void draw(Canvas canvas)
          Called by the frame, or the parent view, when this view must redraw itself.
 Size getRequiredSize(Size maximumSize)
           
 void objectActionResult(NakedObject result, Location at)
          Called when an action generates a result, allowing this view to decide what to do with it.
 java.lang.String toString()
           
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractBorder
contentArea, dragFrom, dragIn, dragOut, dragStart, drop, drop, exited, firstClick, getBaseline, getBottom, getLeft, getPadding, getRight, getSize, getTop, identify, isOnBorder, mouseDown, mouseMoved, mouseUp, overBorder, overContent, pickupContent, pickupView, secondClick, setBounds, setMaximumSize, setSize, thirdClick, viewAreaType
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractViewDecorator
addView, canChangeValue, canFocus, contains, containsFocus, debug, debugStructure, dispose, drag, drag, dragCancel, dragTo, editComplete, entered, focusLost, focusReceived, getAbsoluteLocation, getBounds, getContent, getFeedbackManager, getFocusManager, getId, getLocation, getMaximumSize, getParent, getSpecification, getState, getSubviews, getView, getViewAxis, getViewManager, getWorkspace, hasFocus, invalidateContent, invalidateLayout, keyPressed, keyReleased, keyTyped, layout, limitBoundsWithin, markDamaged, markDamaged, print, refresh, removeView, replaceView, setFocusManager, setLocation, setParent, setView, subviewFor, update, updateView, viewMenuOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InternalCollectionBorder

protected InternalCollectionBorder(View wrappedView)
Method Detail

debugDetails

protected void debugDetails(DebugString debug)
Overrides:
debugDetails in class AbstractBorder

getRequiredSize

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

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 AbstractBorder

contentMenuOptions

public void contentMenuOptions(UserActionSet options)
Description copied from interface: View
Called when the popup menu is being populated for this view. Any content options that need to appear on the menu should be added to the menuOptions object.

Specified by:
contentMenuOptions in interface View
Overrides:
contentMenuOptions in class AbstractViewDecorator

objectActionResult

public void objectActionResult(NakedObject result,
                               Location at)
Description copied from interface: View
Called when an action generates a result, allowing this view to decide what to do with it.

Specified by:
objectActionResult in interface View
Overrides:
objectActionResult in class AbstractViewDecorator
at - the location where the action took place

toString

public java.lang.String toString()
Overrides:
toString in class AbstractViewDecorator


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