| java.lang.Object net.sf.jasperreports.engine.JRHyperlinkHelper
JRHyperlinkHelper | public class JRHyperlinkHelper (Code) | | Utility class that manages built-in hyperlink types.
author: Lucian Chirita (lucianc@users.sourceforge.net) version: $Id: JRHyperlinkHelper.java 1720 2007-05-07 10:02:56Z lucianc $ |
getHyperlinkType | public static byte getHyperlinkType(JRHyperlink hyperlink)(Code) | | Returns the built-in hyperlink type, or
JRHyperlink.HYPERLINK_TYPE_CUSTOM JRHyperlink.HYPERLINK_TYPE_CUSTOM if the type is not a built-in type.
Parameters: hyperlink - the hyperlink object the hyperlink type |
getHyperlinkType | public static byte getHyperlinkType(String linkType)(Code) | | Returns the built-in hyperlink type, or
JRHyperlink.HYPERLINK_TYPE_CUSTOM JRHyperlink.HYPERLINK_TYPE_CUSTOM if the type is not a built-in type.
Parameters: linkType - the link type the hyperlink type |
getLinkType | public static String getLinkType(byte hyperlinkType)(Code) | | Returns the link type associated with a built-in type.
Parameters: hyperlinkType - the built-in type the String link type |
isEmpty | public static boolean isEmpty(JRHyperlink hyperlink)(Code) | | Decides whether a hyperlink is empty or not.
The hyperlink is considered empty when it's null or when
its type is
JRHyperlink.HYPERLINK_TYPE_NONE HYPERLINK_TYPE_NONE and it doesn't include a tooltip expression
Parameters: hyperlink - the hyperlink whether the hyperlink is empty |
|
|