org.nakedobjects.plugins.dnd.viewer.border
Class WindowBorder

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.border.AbstractWindowBorder
              extended by org.nakedobjects.plugins.dnd.viewer.border.WindowBorder
All Implemented Interfaces:
java.lang.Cloneable, View

public class WindowBorder
extends AbstractWindowBorder


Field Summary
 
Fields inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractWindowBorder
borderRender, controls
 
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
WindowBorder(View wrappedView, boolean scrollable)
           
 
Method Summary
 void draw(Canvas canvas)
          Called by the frame, or the parent view, when this view must redraw itself.
 View[] getButtons()
           
 void secondClick(Click click)
          Called when the user double-clicked this view.
protected  java.lang.String title()
           
 void viewMenuOptions(UserActionSet menuOptions)
          Called when the popup menu is being populated for this view.
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractWindowBorder
debugDetails, dragStart, firstClick, getRequiredSize, mouseMoved, setBounds, setControls, setSize, thirdClick
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractBorder
contentArea, dragFrom, dragIn, dragOut, drop, drop, exited, getBaseline, getBottom, getLeft, getPadding, getRight, getSize, getTop, identify, isOnBorder, mouseDown, mouseUp, overBorder, overContent, pickupContent, pickupView, setMaximumSize, viewAreaType
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractViewDecorator
addView, canChangeValue, canFocus, contains, containsFocus, contentMenuOptions, 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, objectActionResult, print, refresh, removeView, replaceView, setFocusManager, setLocation, setParent, setView, subviewFor, toString, update, updateView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WindowBorder

public WindowBorder(View wrappedView,
                    boolean scrollable)
Method Detail

getButtons

public View[] getButtons()

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 AbstractWindowBorder

viewMenuOptions

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

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

secondClick

public void secondClick(Click click)
Description copied from interface: View
Called when the user double-clicked this view. This method will have been preceded by a call to click.

Specified by:
secondClick in interface View
Overrides:
secondClick in class AbstractWindowBorder

title

protected java.lang.String title()
Specified by:
title in class AbstractWindowBorder


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