|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.image.util.MapArea
MapArea describes an area of an image map.
Field Summary | |
static java.lang.String |
POLYGON_SHAPE
Shape for polygons |
static java.lang.String |
RECTANGLE_SHAPE
Shape for rectangles |
Constructor Summary | |
MapArea(java.awt.Polygon polygon)
Creates a polygon MapArea |
|
MapArea(java.awt.Rectangle rectangle)
Creates a rectangle MapArea. |
|
MapArea(java.lang.String shape,
int[] coordinates)
Crates a MapArea. |
|
MapArea(java.lang.String shape,
java.lang.String coordinatesString)
Creates a MapArea. |
Method Summary | |
java.lang.String |
getCoordinatesString()
Returns a String representing the area's coordinates, suitable for inclusion in an HTML image map. |
java.lang.String |
getShape()
Returns a String indicating the shape of the MapArea, suitable for use in an HTML image map. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String RECTANGLE_SHAPE
public static final java.lang.String POLYGON_SHAPE
Constructor Detail |
public MapArea(java.lang.String shape, int[] coordinates)
shape
- The shape of the area. This is one of the *_SHAPE constants
defined by MapArea.coordinates
- The coordinates of the area.public MapArea(java.lang.String shape, java.lang.String coordinatesString)
shape
- The shape of the area. This is one of the *_SHAPE constants
defined by MapArea.coordinates
- The String representing the coordinates of the area.public MapArea(java.awt.Rectangle rectangle)
public MapArea(java.awt.Polygon polygon)
Method Detail |
public java.lang.String getShape()
public java.lang.String getCoordinatesString()
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |