edu.cmu.hcii.calo.view.schedule.ScheduleItemView Class Reference

Inherits edu.cmu.hcii.calo.view.CALOComponent.

Inheritance diagram for edu.cmu.hcii.calo.view.schedule.ScheduleItemView:

Inheritance graph
[legend]
Collaboration diagram for edu.cmu.hcii.calo.view.schedule.ScheduleItemView:

Collaboration graph
[legend]
List of all members.

Detailed Description

A view that displays a schedule item in block view.

Author:
Brian Ellis


Public Member Functions

 ScheduleItemView (ScheduleItem scheduleItem)
 Constructs a ScheduleItemView with the given schedule item.
ScheduleItem getScheduleItem ()
 Returns the schedule item displayed by this view.
void setScheduleItem (ScheduleItem scheduleItem)
 Sets the schedule item displayed by this view.

Protected Member Functions

void paintComponent (Graphics graphics)
 
See also:
edu.cmu.hcii.calo.view.TranslucentView.paintComponent(java.awt.Graphics)


Private Member Functions

void setup ()
 Sets up the visual appearance of this view.

Private Attributes

ScheduleItem scheduleItem
 The schedule item displayed by this view.

Static Private Attributes

static final long serialVersionUID = -2534503572581677568L
 Prevent serialization collisions.


Constructor & Destructor Documentation

edu.cmu.hcii.calo.view.schedule.ScheduleItemView.ScheduleItemView ( ScheduleItem  scheduleItem  ) 

Constructs a ScheduleItemView with the given schedule item.

Parameters:
scheduleItem the schedule item


Member Function Documentation

ScheduleItem edu.cmu.hcii.calo.view.schedule.ScheduleItemView.getScheduleItem (  ) 

Returns the schedule item displayed by this view.

Returns:
the schedule item

void edu.cmu.hcii.calo.view.schedule.ScheduleItemView.paintComponent ( Graphics  graphics  )  [protected]

See also:
edu.cmu.hcii.calo.view.TranslucentView.paintComponent(java.awt.Graphics)

Reimplemented from edu.cmu.hcii.calo.view.TranslucentView.

void edu.cmu.hcii.calo.view.schedule.ScheduleItemView.setScheduleItem ( ScheduleItem  scheduleItem  ) 

Sets the schedule item displayed by this view.

Parameters:
scheduleItem the schedule item

void edu.cmu.hcii.calo.view.schedule.ScheduleItemView.setup (  )  [private]

Sets up the visual appearance of this view.


Member Data Documentation

final long edu.cmu.hcii.calo.view.schedule.ScheduleItemView.serialVersionUID = -2534503572581677568L [static, private]

Prevent serialization collisions.

Reimplemented from edu.cmu.hcii.calo.view.CALOComponent.

ScheduleItem edu.cmu.hcii.calo.view.schedule.ScheduleItemView.scheduleItem [private]

The schedule item displayed by this view.


The documentation for this class was generated from the following file:
Generated on Mon Aug 13 15:06:26 2007 for CALO by  doxygen 1.5.2