Package net.sf.jasperreports.engine
Class JRPrintImageAreaHyperlink
java.lang.Object
net.sf.jasperreports.engine.JRPrintImageAreaHyperlink
- All Implemented Interfaces:
Serializable
A component of an image map.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a blank image area.JRPrintImageAreaHyperlink
(JRPrintImageArea area, JRPrintHyperlink hyperlink) Creates an image area by specifying its attributes. -
Method Summary
Modifier and TypeMethodDescriptiongetArea()
Returns the area of the image map component.Returns the hyperlink information of the image map component.void
setArea
(JRPrintImageArea area) Sets the area of the image map component.void
setHyperlink
(JRPrintHyperlink hyperlink) Sets the hyperlink information of the image map component.
-
Constructor Details
-
JRPrintImageAreaHyperlink
public JRPrintImageAreaHyperlink()Creates a blank image area. -
JRPrintImageAreaHyperlink
Creates an image area by specifying its attributes.- Parameters:
area
- the areahyperlink
- the hyperlink information
-
-
Method Details
-
getArea
Returns the area of the image map component.- Returns:
- the area of the image map component
-
setArea
Sets the area of the image map component.- Parameters:
area
- the area
-
getHyperlink
Returns the hyperlink information of the image map component.- Returns:
- the hyperlink information of the image map component
-
setHyperlink
Sets the hyperlink information of the image map component.- Parameters:
hyperlink
- the hyperlink information
-