Class Link
java.lang.Object
org.apache.fop.render.intermediate.extensions.Link
This class is a link element for use in the intermediate format.
-
Constructor Summary
ConstructorDescriptionLink
(AbstractAction action, Rectangle targetRect) Creates a new named destination. -
Method Summary
Modifier and TypeMethodDescriptionReturns the action performed when the destination is selected.Returns the target rectangle, i.e.void
setAction
(AbstractAction action) Sets the action performed when the destination is selected.
-
Constructor Details
-
Link
Creates a new named destination.- Parameters:
action
- the action performed when the destination is selectedtargetRect
- the target rectangle (coordinates in millipoints)
-
-
Method Details
-
getAction
Returns the action performed when the destination is selected.- Returns:
- the action
-
getTargetRect
Returns the target rectangle, i.e. the hot zone in which the link is activated.- Returns:
- the target rectangle
-
setAction
Sets the action performed when the destination is selected.- Parameters:
action
- the action
-