de.fhg.igd.gps.maps
Class HtmlImageMapEntry

java.lang.Object
  extended byde.fhg.igd.gps.maps.HtmlImageMapEntry

public class HtmlImageMapEntry
extends Object

Author:
Jan Peters

Field Summary
protected  char accessKey_
           
protected  Point circleCenter_
           
protected  int circleRadius_
           
protected  String coords_
           
protected  String link_
           
protected  String name_
           
protected  Point[] polygon_
           
protected  Rectangle rectangle_
           
protected  int shape_
           
static int SHAPE_CIRCLE
           
static int SHAPE_POLYGON
           
static int SHAPE_RECTANGLE
           
protected  int tabIndex_
           
protected  String tooltip_
           
 
Constructor Summary
protected HtmlImageMapEntry()
           
  HtmlImageMapEntry(String link, String name)
           
  HtmlImageMapEntry(String link, String name, String tooltip)
           
 
Method Summary
 void adjustShape(int deltax, int deltay)
           
 void setAccessKey(char accessKey)
           
 void setCircleShape(int x, int y, int r)
           
 void setCircleShape(Point c, int r)
           
 void setPolygonShape(int[] p)
           
 void setPolygonShape(Point[] p)
           
 void setRectangleShape(int x, int y, int w, int h)
           
 void setRectangleShape(Rectangle r)
           
 void setTabIndex(int tabIndex)
           
 String toHtml()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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_
Constructor Detail

HtmlImageMapEntry

protected HtmlImageMapEntry()

HtmlImageMapEntry

public HtmlImageMapEntry(String link,
                         String name)

HtmlImageMapEntry

public HtmlImageMapEntry(String link,
                         String name,
                         String tooltip)
Method Detail

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.