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

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.viewer.border.AbstractViewDecorator
      extended by org.nakedobjects.plugins.dnd.viewer.view.calendar.CalendarTemplate
All Implemented Interfaces:
java.lang.Cloneable, View

public class CalendarTemplate
extends AbstractViewDecorator


Field Summary
 
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 CalendarTemplate(View wrappedView, CalendarDisplay initialCalendarDisplay)
           
 
Method Summary
 void draw(Canvas canvas)
          Called by the frame, or the parent view, when this view must redraw itself.
 void drop(ContentDrag drag)
          Called as another view's contents (the source) is dropped on this view's contents (the target).
 void firstClick(Click click)
          Called when the user clicks the mouse buttone within this view.
 void setCalendarDisplay(CalendarDisplay calendarDisplay)
           
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.border.AbstractViewDecorator
addView, canChangeValue, canFocus, contains, containsFocus, contentMenuOptions, debug, debugDetails, debugStructure, dispose, drag, drag, dragCancel, dragFrom, dragIn, dragOut, dragStart, dragTo, drop, editComplete, entered, exited, focusLost, focusReceived, getAbsoluteLocation, getBaseline, getBounds, getContent, getFeedbackManager, getFocusManager, getId, getLocation, getMaximumSize, getPadding, getParent, getRequiredSize, getSize, getSpecification, getState, getSubviews, getView, getViewAxis, getViewManager, getWorkspace, hasFocus, identify, invalidateContent, invalidateLayout, keyPressed, keyReleased, keyTyped, layout, limitBoundsWithin, markDamaged, markDamaged, mouseDown, mouseMoved, mouseUp, objectActionResult, pickupContent, pickupView, print, refresh, removeView, replaceView, secondClick, setBounds, setFocusManager, setLocation, setMaximumSize, setParent, setSize, setView, 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

CalendarTemplate

protected CalendarTemplate(View wrappedView,
                           CalendarDisplay initialCalendarDisplay)
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 AbstractViewDecorator

drop

public void drop(ContentDrag drag)
Description copied from interface: View
Called as another view's contents (the source) is dropped on this view's contents (the target). The source view can be obtained from the ViewDrag object.

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

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 AbstractViewDecorator
Parameters:
click - the location within the current view where the mouse click took place

setCalendarDisplay

public void setCalendarDisplay(CalendarDisplay calendarDisplay)


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