org.tcat.citd.sim.udig.bookmarks
Class Bookmark
java.lang.Object
org.tcat.citd.sim.udig.bookmarks.Bookmark
public class Bookmark
- extends java.lang.Object
Representation of a bookmark.
A Bookmark
consists of the IMap
object it is associated with, the
Envelope
that decscribes the bounds, and a user-defined name.
- Since:
- 1.0.0
- Author:
- cole.markham
Constructor Summary |
Bookmark(ReferencedEnvelope envelope,
MapReference map,
java.lang.String name)
Construct a new bookmark with the given center and envelope. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Bookmark
public Bookmark(ReferencedEnvelope envelope,
MapReference map,
java.lang.String name)
- Construct a new bookmark with the given center and envelope.
- Parameters:
envelope
- map
- name
-
getEnvelope
public ReferencedEnvelope getEnvelope()
- Returns:
- Returns the envelope.
setEnvelope
public void setEnvelope(ReferencedEnvelope envelope)
- Parameters:
envelope
- The envelope to set.
getMap
public MapReference getMap()
- Returns:
- Returns the map.
setMap
public void setMap(MapReference map)
- Parameters:
map
- The map to set.
getName
public java.lang.String getName()
- Returns:
- Returns the name.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
setName
public void setName(java.lang.String name)
- Parameters:
name
- The name to set.