com.esri.map
Class LocationOnMap
java.lang.Object
java.awt.geom.Point2D
java.awt.Point
com.esri.map.LocationOnMap
- All Implemented Interfaces:
- Serializable, Cloneable
public class LocationOnMap
- extends Point
Used to determine the location of a component on map. The location can be specified as an
absolute value or as a relative value.
This can be used to place components such as copyright, for example
JMap.setCopyrightLocation(LocationOnMap)
.
Example for absolute value:
LocationOnMap location = new LocationOnMap(240, 250);
Example for relative value:
LocationOnMap location = LocationOnMap.BOTTOM_LEFT;
- Since:
- 10.1.1
- See Also:
- Serialized Form
Fields inherited from class java.awt.Point |
x, y |
Method Summary |
int |
getId()
|
ABSOLUTE_POSITION_ID
public static final int ABSOLUTE_POSITION_ID
- See Also:
- Constant Field Values
BOTTOM_LEFT_ID
public static final int BOTTOM_LEFT_ID
- See Also:
- Constant Field Values
TOP_LEFT_ID
public static final int TOP_LEFT_ID
- See Also:
- Constant Field Values
TOP_RIGHT_ID
public static final int TOP_RIGHT_ID
- See Also:
- Constant Field Values
BOTTOM_RIGHT_ID
public static final int BOTTOM_RIGHT_ID
- See Also:
- Constant Field Values
BOTTOM_LEFT
public static final LocationOnMap BOTTOM_LEFT
TOP_LEFT
public static final LocationOnMap TOP_LEFT
TOP_RIGHT
public static final LocationOnMap TOP_RIGHT
BOTTOM_RIGHT
public static final LocationOnMap BOTTOM_RIGHT
LocationOnMap
public LocationOnMap(int x,
int y)
LocationOnMap
public LocationOnMap(Point p)
getId
public int getId()
Copyright © 2012. All Rights Reserved.