edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell Class Reference

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

Inheritance diagram for edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell:

Inheritance graph
[legend]
Collaboration diagram for edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell:

Collaboration graph
[legend]
List of all members.

Layout

These constants represent layout parameters.

static final int HORIZONTAL_MARGIN = 6
static final int VERTICAL_MARGIN = 8
static final int HORIZONTAL_CONTROL_SPACING = 4
static final int VERTICAL_CONTROL_SPACING = 4
static final Binding LEFT_EDGE_NO_MARGIN
static final Binding TOP_EDGE_NO_MARGIN
static final Binding RIGHT_EDGE_NO_MARGIN
static final Binding BOTTOM_EDGE_NO_MARGIN
static final Binding LEFT_EDGE
static final Binding RIGHT_EDGE
static final Binding TOP_EDGE
static final Binding BOTTOM_EDGE
static final RelativePosition RIGHT_OF
static final RelativePosition LEFT_OF
static final RelativePosition BELOW
static final RelativePosition ABOVE
static final RelativePosition DIRECTLY_RIGHT_OF
static final RelativePosition DIRECTLY_LEFT_OF
static final RelativePosition DIRECTLY_BELOW
static final RelativePosition DIRECTLY_ABOVE
static final RelativePosition VERTICALLY_CENTERED_ON
static final RelativePosition OVERLAPPING_LEFT_OF
PropertyChangeForwarder forwarder = new PropertyChangeForwarder(this)

Public Member Functions

 TaskViewerTaskListCell (int index, Task task)
boolean isSelected ()
 Accessor method for isSelected.
void setSelected (boolean isSelected)
 Setter method for isSelected.
void update ()
void firePropertyChange (String propertyName, Object oldValue, Object newValue)
Dimension getPreferredScrollableViewportSize ()
 
See also:
javax.swing.Scrollable.getPreferredScrollableViewportSize()

int getScrollableBlockIncrement (Rectangle theVisibleRect, int theOrientation, int theDirection)
 
See also:
javax.swing.Scrollable.getScrollableBlockIncrement(java.awt.Rectangle, int, int)

boolean getScrollableTracksViewportHeight ()
 
See also:
javax.swing.Scrollable.getScrollableTracksViewportHeight()

boolean getScrollableTracksViewportWidth ()
 
See also:
javax.swing.Scrollable.getScrollableTracksViewportWidth()

int getScrollableUnitIncrement (Rectangle theVisibleRect, int theOrientation, int theDirection)
 
See also:
javax.swing.Scrollable.getScrollableUnitIncrement(java.awt.Rectangle, int, int)

double getOpacity ()
 Returns the opacity of the background of this TaskView.
void paint (Graphics g)
void setOpacity (double opacity)
 Sets the opacity of the background of this TranslucentView.

Protected Member Functions

void addImpl (Component comp, Object constraints, int index)
void paintComponent (Graphics g)

Private Member Functions

void setup ()

Private Attributes

boolean isSelected = false
int index
Task task
MouseAdapter selectionListener
JLabel taskNameLabel
JLabel dueDateLabel
IconToggleButton starButton
IconToggleButton completeBox
IconButton deleteButton
IconToggleButton caloAddedButton
JLabel dateAddedLabel
JLabel dateDueLabel
JLabel statusLabel
JList resourceList
JLabel tagsLabelLabel
JLabel tagsLabel
IconButton onHoldButton

Classes

class  OnlyAMockupActionListener
 
Author:
Administrator
More...

Constructor & Destructor Documentation

edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.TaskViewerTaskListCell ( int  index,
Task  task 
)


Member Function Documentation

boolean edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.isSelected (  ) 

Accessor method for isSelected.

Returns:
the value of isSelected

void edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.setSelected ( boolean  isSelected  ) 

Setter method for isSelected.

Parameters:
isSelected the isSelected to set

void edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.update (  ) 

void edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.setup (  )  [private]

void edu.cmu.hcii.calo.view.CALOComponent.addImpl ( Component  comp,
Object  constraints,
int  index 
) [protected, inherited]

Reimplemented in edu.cmu.hcii.calo.view.task.TaskView.

void edu.cmu.hcii.calo.view.CALOComponent.firePropertyChange ( String  propertyName,
Object  oldValue,
Object  newValue 
) [inherited]

Dimension edu.cmu.hcii.calo.view.CALOComponent.getPreferredScrollableViewportSize (  )  [inherited]

See also:
javax.swing.Scrollable.getPreferredScrollableViewportSize()

int edu.cmu.hcii.calo.view.CALOComponent.getScrollableBlockIncrement ( Rectangle  theVisibleRect,
int  theOrientation,
int  theDirection 
) [inherited]

See also:
javax.swing.Scrollable.getScrollableBlockIncrement(java.awt.Rectangle, int, int)

boolean edu.cmu.hcii.calo.view.CALOComponent.getScrollableTracksViewportHeight (  )  [inherited]

See also:
javax.swing.Scrollable.getScrollableTracksViewportHeight()

boolean edu.cmu.hcii.calo.view.CALOComponent.getScrollableTracksViewportWidth (  )  [inherited]

See also:
javax.swing.Scrollable.getScrollableTracksViewportWidth()

int edu.cmu.hcii.calo.view.CALOComponent.getScrollableUnitIncrement ( Rectangle  theVisibleRect,
int  theOrientation,
int  theDirection 
) [inherited]

See also:
javax.swing.Scrollable.getScrollableUnitIncrement(java.awt.Rectangle, int, int)

double edu.cmu.hcii.calo.view.TranslucentView.getOpacity (  )  [inherited]

Returns the opacity of the background of this TaskView.

Returns:
the opacity

void edu.cmu.hcii.calo.view.TranslucentView.paint ( Graphics  g  )  [inherited]

Reimplemented in edu.cmu.hcii.calo.view.AnimatedPane, and edu.cmu.hcii.calo.view.task.TaskSubpaneView.

void edu.cmu.hcii.calo.view.TranslucentView.paintComponent ( Graphics  g  )  [protected, inherited]

Reimplemented in edu.cmu.hcii.calo.view.iconwell.IconWellView, edu.cmu.hcii.calo.view.ImageStretchView, edu.cmu.hcii.calo.view.notification.NotificationCenterView, edu.cmu.hcii.calo.view.panes.PaneTitle, edu.cmu.hcii.calo.view.panes.PaneTitleView, edu.cmu.hcii.calo.view.schedule.BlockScheduleView, edu.cmu.hcii.calo.view.schedule.ScheduleItemView, and edu.cmu.hcii.calo.view.task.TaskSubpaneView.

void edu.cmu.hcii.calo.view.TranslucentView.setOpacity ( double  opacity  )  [inherited]

Sets the opacity of the background of this TranslucentView.

Parameters:
opacity the opacity to set


Member Data Documentation

boolean edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.isSelected = false [private]

int edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.index [private]

Task edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.task [private]

MouseAdapter edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.selectionListener [private]

JLabel edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.taskNameLabel [private]

JLabel edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.dueDateLabel [private]

IconToggleButton edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.starButton [private]

IconToggleButton edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.completeBox [private]

IconButton edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.deleteButton [private]

IconToggleButton edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.caloAddedButton [private]

JLabel edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.dateAddedLabel [private]

JLabel edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.dateDueLabel [private]

JLabel edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.statusLabel [private]

JList edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.resourceList [private]

JLabel edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.tagsLabelLabel [private]

JLabel edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.tagsLabel [private]

IconButton edu.cmu.hcii.calo.view.task.viewer.TaskViewerTaskList.TaskViewerTaskListCell.onHoldButton [private]

final int edu.cmu.hcii.calo.view.CALOComponent.HORIZONTAL_MARGIN = 6 [static, protected, inherited]

final int edu.cmu.hcii.calo.view.CALOComponent.VERTICAL_MARGIN = 8 [static, protected, inherited]

final int edu.cmu.hcii.calo.view.CALOComponent.HORIZONTAL_CONTROL_SPACING = 4 [static, protected, inherited]

final int edu.cmu.hcii.calo.view.CALOComponent.VERTICAL_CONTROL_SPACING = 4 [static, protected, inherited]

final Binding edu.cmu.hcii.calo.view.CALOComponent.LEFT_EDGE_NO_MARGIN [static, protected, inherited]

Initial value:

        new Binding(Edge.LEFT, 0, Direction.RIGHT, Edge.LEFT, null)

final Binding edu.cmu.hcii.calo.view.CALOComponent.TOP_EDGE_NO_MARGIN [static, protected, inherited]

Initial value:

        new Binding(Edge.TOP, 0, Direction.BELOW, Edge.TOP, null)

final Binding edu.cmu.hcii.calo.view.CALOComponent.RIGHT_EDGE_NO_MARGIN [static, protected, inherited]

Initial value:

        new Binding(Edge.RIGHT, 0, Direction.LEFT, Edge.RIGHT, null)

final Binding edu.cmu.hcii.calo.view.CALOComponent.BOTTOM_EDGE_NO_MARGIN [static, protected, inherited]

Initial value:

        new Binding(Edge.BOTTOM, 0, Direction.ABOVE, Edge.BOTTOM, null)

final Binding edu.cmu.hcii.calo.view.CALOComponent.LEFT_EDGE [static, protected, inherited]

Initial value:

        new Binding(Edge.LEFT, CALOComponent.HORIZONTAL_MARGIN, Direction.RIGHT, Edge.LEFT, null)

final Binding edu.cmu.hcii.calo.view.CALOComponent.RIGHT_EDGE [static, protected, inherited]

Initial value:

        new Binding(Edge.RIGHT, CALOComponent.HORIZONTAL_MARGIN, Direction.LEFT, Edge.RIGHT, null)

final Binding edu.cmu.hcii.calo.view.CALOComponent.TOP_EDGE [static, protected, inherited]

Initial value:

        new Binding(Edge.TOP, CALOComponent.VERTICAL_MARGIN, Direction.BELOW, Edge.TOP, null)

final Binding edu.cmu.hcii.calo.view.CALOComponent.BOTTOM_EDGE [static, protected, inherited]

Initial value:

        new Binding(Edge.BOTTOM, CALOComponent.VERTICAL_MARGIN, Direction.ABOVE, Edge.BOTTOM, null)

final RelativePosition edu.cmu.hcii.calo.view.CALOComponent.RIGHT_OF [static, protected, inherited]

Initial value:

        new RelativePosition(   Edge.LEFT,
                                CALOComponent.HORIZONTAL_CONTROL_SPACING,
                                Direction.RIGHT,
                                Edge.RIGHT)

final RelativePosition edu.cmu.hcii.calo.view.CALOComponent.LEFT_OF [static, protected, inherited]

Initial value:

        new RelativePosition(   Edge.RIGHT,
                                CALOComponent.HORIZONTAL_CONTROL_SPACING,
                                Direction.LEFT,
                                Edge.LEFT)

final RelativePosition edu.cmu.hcii.calo.view.CALOComponent.BELOW [static, protected, inherited]

Initial value:

        new RelativePosition(   Edge.TOP,
                                CALOComponent.VERTICAL_CONTROL_SPACING,
                                Direction.BELOW,
                                Edge.BOTTOM)

final RelativePosition edu.cmu.hcii.calo.view.CALOComponent.ABOVE [static, protected, inherited]

Initial value:

        new RelativePosition(   Edge.BOTTOM,
                                CALOComponent.VERTICAL_CONTROL_SPACING,
                                Direction.ABOVE,
                                Edge.TOP)

final RelativePosition edu.cmu.hcii.calo.view.CALOComponent.DIRECTLY_RIGHT_OF [static, protected, inherited]

Initial value:

        new RelativePosition(Edge.LEFT, 0, Direction.RIGHT, Edge.RIGHT)

final RelativePosition edu.cmu.hcii.calo.view.CALOComponent.DIRECTLY_LEFT_OF [static, protected, inherited]

Initial value:

        new RelativePosition(Edge.RIGHT, 0, Direction.LEFT, Edge.LEFT)

final RelativePosition edu.cmu.hcii.calo.view.CALOComponent.DIRECTLY_BELOW [static, protected, inherited]

Initial value:

        new RelativePosition(Edge.TOP, 0, Direction.BELOW, Edge.BOTTOM)

final RelativePosition edu.cmu.hcii.calo.view.CALOComponent.DIRECTLY_ABOVE [static, protected, inherited]

Initial value:

        new RelativePosition(Edge.BOTTOM, 0, Direction.ABOVE, Edge.TOP)

final RelativePosition edu.cmu.hcii.calo.view.CALOComponent.VERTICALLY_CENTERED_ON [static, protected, inherited]

Initial value:

        new RelativePosition(Edge.VERTICAL_CENTER, 0, Direction.BELOW, Edge.VERTICAL_CENTER)

PropertyChangeForwarder edu.cmu.hcii.calo.view.CALOComponent.forwarder = new PropertyChangeForwarder(this) [protected, inherited]

final RelativePosition edu.cmu.hcii.calo.view.CALOComponent.OVERLAPPING_LEFT_OF [static, protected, inherited]

Initial value:

        new RelativePosition(Edge.RIGHT, 6, Direction.RIGHT, Edge.LEFT)


The documentation for this class was generated from the following file:
Generated on Wed Aug 8 16:32:18 2007 for CALO by  doxygen 1.5.2