|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectparsedtree.Position
A position on the dance floor.
The position is stored as a pair of numbers that give the co-ordinates on the dance floor. As far as the dance specification is concerned, you can use any pair of orthogonal axis and any scale you like for the co-ordinate system. However, the 'across' axis must be 90 degrees in a counterclockwise direction from the 'down' axis.
| Field Summary | |
int |
across
Distance across the dance floor. |
int |
down
Distance down the dance floor. |
| Constructor Summary | |
Position(java.lang.String placeAttribute)
Creates a new Position object. |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int down
public int across
across is positive for positions on the left and negative
for positions on the right.
| Constructor Detail |
public Position(java.lang.String placeAttribute)
throws org.xml.sax.SAXException
placeAttribute - The value of the 'place' attribute. This value contains
two integer numberic values separated by a comma.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||