

Public Member Functions | |
| Dart () | |
| void | draw (java.awt.Graphics g) |
| void | setAzimuth (double azimuth) |
| void | setDartboard (Dartboard dartboard) |
| void | setDartboardSize (Dimension dartboardSize) |
| void | setElevation (double elevation) |
| void | setPosition (double elevation, double azimuth) |
| abstract void | setError (boolean error) |
| Dart () | |
| void | draw (java.awt.Graphics g) |
| void | setAzimuth (double azimuth) |
| void | setDartboard (Dartboard dartboard) |
| void | setDartboardSize (Dimension dartboardSize) |
| void | setElevation (double elevation) |
| void | setPosition (double elevation, double azimuth) |
| abstract void | setError (boolean error) |
Protected Member Functions | |
| int | calculateX (double elevation, double azimuth) |
| int | calculateY (double elevation, double azimuth) |
| void | drawDart (Graphics g) |
| int | calculateX (double elevation, double azimuth) |
| int | calculateY (double elevation, double azimuth) |
| void | drawDart (Graphics g) |
Protected Attributes | |
| double | azimuth = 0 |
| double | elevation = 0 |
| Dartboard | dartboard = null |
Private Member Functions | |
| void | recalculateCartesian (double elevation, double azimuth) |
| void | recalculateCartesian (double elevation, double azimuth) |
Private Attributes | |
| Dimension | dartboardSize = new Dimension(0,0) |
| int | x = 0 |
| int | y = 0 |
| boolean | isDisplayed = false |
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Called in case of error. Each derived class will take the opportune action
Implemented in dartboard::Grid, dartboard::Legend, dartboard::Moon, dartboard::Sun, dartboard::Telescope, dartboard::TelescopeDestination, dartboard::Wind, dartboard::Grid, dartboard::Legend, dartboard::Moon, dartboard::Sun, dartboard::Telescope, dartboard::TelescopeDestination, and dartboard::Wind.
|
|
|
Called in case of error. Each derived class will take the opportune action
Implemented in dartboard::Grid, dartboard::Legend, dartboard::Moon, dartboard::Sun, dartboard::Telescope, dartboard::TelescopeDestination, dartboard::Wind, dartboard::Grid, dartboard::Legend, dartboard::Moon, dartboard::Sun, dartboard::Telescope, dartboard::TelescopeDestination, and dartboard::Wind.
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.8