public class Anchor
extends java.lang.Object
Constructor and Description |
---|
Anchor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Gets the name.
|
Position |
getPosition()
Gets the position.
|
void |
setName(java.lang.String name)
Sets the name.
|
void |
setPosition(Position position)
Sets the position.
|
public java.lang.String getName()
public Position getPosition()
public void setName(java.lang.String name)
name
- the new namepublic void setPosition(Position position)
position
- the new position