public class NamedPoint
extends java.awt.Point
Point and a String.| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
name
Name of this point.
|
| Constructor and Description |
|---|
NamedPoint(int x,
int y,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Gets the name of this point.
|
void |
setName(java.lang.String name)
Sets the name of this point.
|
equals, getLocation, getX, getY, move, setLocation, setLocation, setLocation, toString, translate