|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.oziexplorer.Point
public class Point
This class represents points.
Copyright 2011 Alan Burlison,
Field Summary
protected double
altitude
protected String
description1
protected String
description2
protected String
description3
protected String
name
protected Position
position
Point position.
protected int
rotation
Constructor Summary
Point(Position position,
String name,
int rotation,
String description1,
String description2,
String description3,
double altitude)
Create a new Point.
Method Summary
boolean
equals(Object that)
Test if two points are equal.
double
getAltitude()
Get the altitude of the point.
String
getDescription1()
Get the first description line for the point.
String
getDescription2()
Get the second description line for the point.
String
getDescription3()
Get the third description line for the point.
String
getName()
Get the name of the point.
Position
getPosition()
Get the position of the point.
int
getRotation()
Get the text rotation angle.
int
hashCode()
Return the hash code for this object.
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Field Detail
position
protected final Position position
name
protected final String name
rotation
protected final int rotation
description1
protected final String description1
description2
protected final String description2
description3
protected final String description3
altitude
protected final double altitude
Constructor Detail
Point
public Point(Position position,
String name,
int rotation,
String description1,
String description2,
String description3,
double altitude)
position
- position of the point.name
- name of the point.rotation
- rotation angle of the text.description1
- first description line.description2
- second description line.description3
- third description line.altitude
- altitude of the point.
Method Detail
equals
public boolean equals(Object that)
that
- the object to compare against.
hashCode
public int hashCode()
getAltitude
public double getAltitude()
getDescription1
public String getDescription1()
getDescription2
public String getDescription2()
getDescription3
public String getDescription3()
getName
public String getName()
getPosition
public Position getPosition()
getRotation
public int getRotation()
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD