org.nakedobjects.plugins.dnd.viewer.view.calendar
Class CalendarBorder

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.view.calendar.CalendarBorder
All Implemented Interfaces:
java.lang.Cloneable, View

public class CalendarBorder
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 CalendarBorder(CalendarTemplate view, CalendarBorderTab[] tabs)
           
 
Method Summary
 void draw(Canvas canvas)
          Called by the frame, or the parent view, when this view must redraw itself.
 void exited()
          Called as the mouse crosses the bounds, and ends up outside, of this view.
 void firstClick(Click click)
          Called when the user clicks the mouse buttone within this view.
 void mouseMoved(Location at)
          Called as the mouse is moved around within this view.
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractBorder
contentArea, debugDetails, dragFrom, dragIn, dragOut, dragStart, drop, drop, getBaseline, getBottom, getLeft, getPadding, getRequiredSize, getRight, getSize, getTop, identify, isOnBorder, mouseDown, 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, 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, viewMenuOptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CalendarBorder

protected CalendarBorder(CalendarTemplate view,
                         CalendarBorderTab[] tabs)
Method Detail

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

firstClick

public void firstClick(Click click)
Description copied from interface: View
Called when the user clicks the mouse buttone within this view.

Specified by:
firstClick in interface View
Overrides:
firstClick in class AbstractBorder
Parameters:
click - the location within the current view where the mouse click took place

mouseMoved

public void mouseMoved(Location at)
Description copied from interface: View
Called as the mouse is moved around within this view. Does nothing; should be overriden when needed.

Specified by:
mouseMoved in interface View
Overrides:
mouseMoved in class AbstractBorder
Parameters:
at - the position relative to the top-left of this view

exited

public void exited()
Description copied from interface: View
Called as the mouse crosses the bounds, and ends up outside, of this view.

Specified by:
exited in interface View
Overrides:
exited in class AbstractBorder


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