dartboard::Legend Class Reference

Inheritance diagram for dartboard::Legend:
Inheritance graph
[legend]
Collaboration diagram for dartboard::Legend:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Legend ()
void setError (boolean err)

Protected Member Functions

void drawDart (Graphics g)

Private Attributes

Polygon arrow1 = new Polygon(xArrow, yArrow, xArrow.length)
Polygon arrow2 = new Polygon(yArrow, xArrow1, xArrow.length)

Static Private Attributes

static int xArrow [] = {0,-6,10,-6}
static int yArrow [] = {0,-4,0,4}
static int xArrow1 [] = {0,6,-10,6}

Detailed Description

Insert the type's description here. Creation date: (11/12/00 6:23:25 PM)

Author:
: Administrator

Constructor & Destructor Documentation

dartboard::Legend::Legend (  )  [inline]

Legend constructor comment.

References dartboard::Dart::setPosition().


Member Function Documentation

void dartboard::Legend::drawDart ( Graphics  g  )  [inline, protected]

Reimplemented from dartboard::Dart.

References arrow1, and arrow2.

void dartboard::Legend::setError ( boolean  error  )  [inline, virtual]

Called in case of error.

Each derived class will take the opportune action

Parameters:
error 

Implements dartboard::Dart.


Member Data Documentation

Polygon dartboard::Legend::arrow1 = new Polygon(xArrow, yArrow, xArrow.length) [private]

Referenced by drawDart().

Polygon dartboard::Legend::arrow2 = new Polygon(yArrow, xArrow1, xArrow.length) [private]

Referenced by drawDart().

int dartboard::Legend::xArrow[] = {0,-6,10,-6} [static, private]
int dartboard::Legend::xArrow1[] = {0,6,-10,6} [static, private]
int dartboard::Legend::yArrow[] = {0,-4,0,4} [static, private]

The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2