de.fhg.igd.gps.maps
Class HtmlImageMapEntry
java.lang.Object
de.fhg.igd.gps.maps.HtmlImageMapEntry
- public class HtmlImageMapEntry
- extends Object
- Author:
- Jan Peters
SHAPE_RECTANGLE
public static final int SHAPE_RECTANGLE
- See Also:
- Constant Field Values
SHAPE_CIRCLE
public static final int SHAPE_CIRCLE
- See Also:
- Constant Field Values
SHAPE_POLYGON
public static final int SHAPE_POLYGON
- See Also:
- Constant Field Values
link_
protected String link_
name_
protected String name_
tooltip_
protected String tooltip_
coords_
protected String coords_
shape_
protected int shape_
tabIndex_
protected int tabIndex_
accessKey_
protected char accessKey_
rectangle_
protected Rectangle rectangle_
polygon_
protected Point[] polygon_
circleCenter_
protected Point circleCenter_
circleRadius_
protected int circleRadius_
HtmlImageMapEntry
protected HtmlImageMapEntry()
HtmlImageMapEntry
public HtmlImageMapEntry(String link,
String name)
HtmlImageMapEntry
public HtmlImageMapEntry(String link,
String name,
String tooltip)
setAccessKey
public void setAccessKey(char accessKey)
setTabIndex
public void setTabIndex(int tabIndex)
setPolygonShape
public void setPolygonShape(int[] p)
setPolygonShape
public void setPolygonShape(Point[] p)
setCircleShape
public void setCircleShape(int x,
int y,
int r)
setCircleShape
public void setCircleShape(Point c,
int r)
setRectangleShape
public void setRectangleShape(int x,
int y,
int w,
int h)
setRectangleShape
public void setRectangleShape(Rectangle r)
adjustShape
public void adjustShape(int deltax,
int deltay)
toHtml
public String toHtml()
toString
public String toString()
Copyright © Fraunhofer Gesellschaft. All
Rights Reserved.