edu.cmu.hcii.calo.view.TaskViewBorder Class Reference

List of all members.

Detailed Description

A custom border (actually comprising both a border and a background color) for use with TaskViews.

Author:
Brian Ellis


Public Member Functions

double getOpacity ()
void setOpacity (double opacity)
void paintBorder (Component c, Graphics graphics, int x, int y, int width, int height)
 TaskViewBorder (Color fillColor, Color strokeColor)
 Constructs a TaskViewBorder with the given fill and stroke colors.

Private Member Functions

 TaskViewBorder ()
 Private superclass constructor.

Private Attributes

Color fillColor
Color strokeColor
double opacity = 1.0

Static Private Attributes

static final int CORNER_RADIUS = 8


Constructor & Destructor Documentation

edu.cmu.hcii.calo.view.TaskViewBorder.TaskViewBorder ( Color  fillColor,
Color  strokeColor 
)

Constructs a TaskViewBorder with the given fill and stroke colors.

Parameters:
fillColor the fill color to use
strokeColor the stroke color to use

edu.cmu.hcii.calo.view.TaskViewBorder.TaskViewBorder (  )  [private]

Private superclass constructor.

Do not use.


Member Function Documentation

double edu.cmu.hcii.calo.view.TaskViewBorder.getOpacity (  ) 

void edu.cmu.hcii.calo.view.TaskViewBorder.setOpacity ( double  opacity  ) 

void edu.cmu.hcii.calo.view.TaskViewBorder.paintBorder ( Component  c,
Graphics  graphics,
int  x,
int  y,
int  width,
int  height 
)


Member Data Documentation

final int edu.cmu.hcii.calo.view.TaskViewBorder.CORNER_RADIUS = 8 [static, private]

Color edu.cmu.hcii.calo.view.TaskViewBorder.fillColor [private]

Color edu.cmu.hcii.calo.view.TaskViewBorder.strokeColor [private]

double edu.cmu.hcii.calo.view.TaskViewBorder.opacity = 1.0 [private]


The documentation for this class was generated from the following file:
Generated on Mon Jul 9 12:34:42 2007 for CALO by  doxygen 1.5.2