com.sapportals.htmlb

Class ImageArea

java.lang.Object
  extended bycom.sapportals.htmlb.ImageArea

public class ImageArea
extends Object

Title: ImageArea Copyright 2004 SAP AG


Constructor Summary
ImageArea(ImageAreaType type, String coordinates)
          Creates an ImageArea
 
Method Summary
 ImageAreaType getAreaType()
          Returns the area type
 String getCoordinates()
          gets the coordinates for this area.
 Link getLink()
           
 void setAreaType(ImageAreaType type)
          Sets the area type
 void setCoordinates(String coordinates)
          sets the coordinates for this area.
 void setLink(Link link)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageArea

public ImageArea(ImageAreaType type,
                 String coordinates)
Creates an ImageArea

Parameters:
type - type of area to create
Method Detail

getAreaType

public ImageAreaType getAreaType()
Returns the area type

Returns:
area

setAreaType

public void setAreaType(ImageAreaType type)
Sets the area type


getCoordinates

public String getCoordinates()
gets the coordinates for this area. RECTANGLE "left,top,right,botton" CIRCLE "left,top,radius" POLYGON "left,top,left,top,left,top,...,..."

Returns:
the coordinates text

setCoordinates

public void setCoordinates(String coordinates)
sets the coordinates for this area. RECTANGLE "left,top,right,botton" CIRCLE "left,top,radius" POLYGON "left,top,left,top,left,top,...,..."

Parameters:
coordinates - the coordinates string

getLink

public Link getLink()
Returns:
hyperlink definition

setLink

public void setLink(Link link)


Copyright 2006 SAP AG Complete Copyright Notice