Java Doc for JRHyperlink.java in  » Report » jasperreports-2.0.1 » net » sf » jasperreports » engine » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Report » jasperreports 2.0.1 » net.sf.jasperreports.engine 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


net.sf.jasperreports.engine.JRHyperlink

All known Subclasses:   net.sf.jasperreports.engine.base.JRBaseHyperlink,
JRHyperlink
public interface JRHyperlink (Code)
An interface providing hyperlink functionality. It must be implemented by elements that can contain hyperlinks. There are three types of hyperlinks: reference, anchor and page. The reference type just points to an external resource. The anchor type can point to an anchor in the current document or inside an external referenced document. In the latter case, users have to specify both an anchor expression and a reference expression. The page type can point to the beginning of a specific page in the current document or an external document (in the same way that anchor type does).
See Also:   JRAnchor
author:
   Teodor Danciu (teodord@users.sourceforge.net)
version:
   $Id: JRHyperlink.java 1364 2006-08-31 15:13:20Z lucianc $


Field Summary
final public static  byteHYPERLINK_TARGET_BLANK
     Constant useful for specifying that the hyperlink will be opened in a new window.
final public static  byteHYPERLINK_TARGET_SELF
     Constant useful for specifying that the hyperlink will be opened in the same window.
final public static  byteHYPERLINK_TYPE_CUSTOM
     Custom hyperlink type.
final public static  byteHYPERLINK_TYPE_LOCAL_ANCHOR
     Constant useful for specifying that the hyperlink points to a local anchor, specified by the hyperlink anchor expression.
final public static  byteHYPERLINK_TYPE_LOCAL_PAGE
     Constant useful for specifying that the hyperlink points to a 1 based page index within the current document.
final public static  byteHYPERLINK_TYPE_NONE
     Constant useful for specifying that the element does not contain a hyperlink.
final public static  byteHYPERLINK_TYPE_NULL
     Not set hyperlink type.
final public static  byteHYPERLINK_TYPE_REFERENCE
     Constant useful for specifying that the hyperlink points to an external resource specified by the hyperlink reference expression.
final public static  byteHYPERLINK_TYPE_REMOTE_ANCHOR
     Constant useful for specifying that the hyperlink points to a remote anchor (specified by the hyperlink anchor expression) within an external document (specified by the hyperlink reference expression).
final public static  byteHYPERLINK_TYPE_REMOTE_PAGE
     Constant useful for specifying that the hyperlink points to a 1 based page index within an external document (specified by the hyperlink reference expression).


Method Summary
public  JRExpressiongetHyperlinkAnchorExpression()
     Returns the expression whose value represents the anchor.
public  JRExpressiongetHyperlinkPageExpression()
     Returns an integer representing the page index of the link.
public  JRHyperlinkParameter[]getHyperlinkParameters()
     Returns the list of hyperlink parameters.
public  JRExpressiongetHyperlinkReferenceExpression()
     Returns the expression whose value represents the hyperlink reference.
public  bytegetHyperlinkTarget()
     Retrieves the hyperlink target for the element.
public  JRExpressiongetHyperlinkTooltipExpression()
     Returns the expression which will generate the hyperlink tooltip.
public  bytegetHyperlinkType()
     Retrieves the hyperlink type for the element.

The actual hyperlink type is determined by JRHyperlink.getLinkType() getLinkType() . This method can is used to determine whether the hyperlink type is one of the built-in types or a custom type.

public  StringgetLinkType()
     Returns the hyperlink type.

Field Detail
HYPERLINK_TARGET_BLANK
final public static byte HYPERLINK_TARGET_BLANK(Code)
Constant useful for specifying that the hyperlink will be opened in a new window.



HYPERLINK_TARGET_SELF
final public static byte HYPERLINK_TARGET_SELF(Code)
Constant useful for specifying that the hyperlink will be opened in the same window.



HYPERLINK_TYPE_CUSTOM
final public static byte HYPERLINK_TYPE_CUSTOM(Code)
Custom hyperlink type.

The specific type is determined by JRHyperlink.getLinkType() getLinkType() .




HYPERLINK_TYPE_LOCAL_ANCHOR
final public static byte HYPERLINK_TYPE_LOCAL_ANCHOR(Code)
Constant useful for specifying that the hyperlink points to a local anchor, specified by the hyperlink anchor expression.
See Also:   JRHyperlink.getHyperlinkAnchorExpression



HYPERLINK_TYPE_LOCAL_PAGE
final public static byte HYPERLINK_TYPE_LOCAL_PAGE(Code)
Constant useful for specifying that the hyperlink points to a 1 based page index within the current document.



HYPERLINK_TYPE_NONE
final public static byte HYPERLINK_TYPE_NONE(Code)
Constant useful for specifying that the element does not contain a hyperlink. This is the default value for a hyperlink type.



HYPERLINK_TYPE_NULL
final public static byte HYPERLINK_TYPE_NULL(Code)
Not set hyperlink type.



HYPERLINK_TYPE_REFERENCE
final public static byte HYPERLINK_TYPE_REFERENCE(Code)
Constant useful for specifying that the hyperlink points to an external resource specified by the hyperlink reference expression.
See Also:   JRHyperlink.getHyperlinkReferenceExpression



HYPERLINK_TYPE_REMOTE_ANCHOR
final public static byte HYPERLINK_TYPE_REMOTE_ANCHOR(Code)
Constant useful for specifying that the hyperlink points to a remote anchor (specified by the hyperlink anchor expression) within an external document (specified by the hyperlink reference expression).
See Also:   JRHyperlink.getHyperlinkAnchorExpression
See Also:   JRHyperlink.getHyperlinkReferenceExpression



HYPERLINK_TYPE_REMOTE_PAGE
final public static byte HYPERLINK_TYPE_REMOTE_PAGE(Code)
Constant useful for specifying that the hyperlink points to a 1 based page index within an external document (specified by the hyperlink reference expression).





Method Detail
getHyperlinkAnchorExpression
public JRExpression getHyperlinkAnchorExpression()(Code)
Returns the expression whose value represents the anchor. It is only used when the hyperlink type is anchor.



getHyperlinkPageExpression
public JRExpression getHyperlinkPageExpression()(Code)
Returns an integer representing the page index of the link. It is only used when the hyperlink type is page. If the expression does not evaluate to an integer, an exception will be thrown.



getHyperlinkParameters
public JRHyperlinkParameter[] getHyperlinkParameters()(Code)
Returns the list of hyperlink parameters.

The parameters can be used by custom hyperlink types to generate dynamic links.

the list of hyperlink parameters



getHyperlinkReferenceExpression
public JRExpression getHyperlinkReferenceExpression()(Code)
Returns the expression whose value represents the hyperlink reference. It is only used when the hyperlink type is reference or anchor



getHyperlinkTarget
public byte getHyperlinkTarget()(Code)
Retrieves the hyperlink target for the element. one of the hyperlink target constants



getHyperlinkTooltipExpression
public JRExpression getHyperlinkTooltipExpression()(Code)
Returns the expression which will generate the hyperlink tooltip. the expression which will generate the hyperlink tooltip



getHyperlinkType
public byte getHyperlinkType()(Code)
Retrieves the hyperlink type for the element.

The actual hyperlink type is determined by JRHyperlink.getLinkType() getLinkType() . This method can is used to determine whether the hyperlink type is one of the built-in types or a custom type. When hyperlink is of custom type, JRHyperlink.HYPERLINK_TYPE_CUSTOM HYPERLINK_TYPE_CUSTOM is returned.

one of the hyperlink type constants
See Also:   JRHyperlink.getLinkType()



getLinkType
public String getLinkType()(Code)
Returns the hyperlink type.

The type can be one of the built-in types (Reference, LocalAnchor, LocalPage, RemoteAnchor, RemotePage), or can be an arbitrary type.

the hyperlink type



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.