Class FlashPrintElement
- java.lang.Object
-
- net.sf.jasperreports.engine.export.FlashPrintElement
-
public final class FlashPrintElement extends java.lang.ObjectDeprecated.To be removed.Utility class that creates generic print elements of Flash type.Such an element has a parameter that provides the URL of the SWF movie, and a list of parameters that acts a Flash variables.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
FlashHtmlHandler
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFLASH_ELEMENT_NAMEDeprecated.The name of Flash generic elements.static JRGenericElementTypeFLASH_ELEMENT_TYPEDeprecated.The qualified type of Flash generic elements.protected static intLINK_PARAM_NAME_GROUPDeprecated.Replaced byHyperlinkUtil.LINK_PARAM_NAME_GROUP.protected static java.util.regex.PatternLINK_PATTERNDeprecated.Replaced byHyperlinkUtil.LINK_PATTERN.static java.lang.StringPARAMETER_FLASH_VAR_PREFIXDeprecated.The prefix of parameter names that acts as Flash variables.static java.lang.StringPARAMETER_SWF_URLDeprecated.The name of the parameter that provides the URL of the SWF movie.static java.lang.StringPROPERTY_ALLOW_SCRIPT_ACCESSDeprecated.Property that determines the value of the allowScriptAccess parameter for Flash elements.static java.lang.StringPROPERTY_IGNORE_SIZEDeprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static GenericElementHandlerBundlegetHandlerBundle()Deprecated.Returns the bundle of export handlers for Flash elements.static JRGenericPrintElementmakeFlashElement(JRPrintElement template, java.lang.String swfUrl, java.util.Map<java.lang.String,java.lang.Object> flashVars, java.util.Map<java.lang.String,java.lang.Object> elementParameters)Deprecated.Creates a Flash generic element by copying all base element attributes from a template instance.static java.lang.StringmakeLinkParameterName(JRPrintHyperlink hyperlink)Deprecated.static java.lang.StringmakeLinkPlaceholder(java.lang.String linkId)Deprecated.Replaced byHyperlinkUtil.makeLinkPlaceholder(String).static java.lang.StringmakeLinkPlaceholder(JRPrintHyperlink hyperlink)Deprecated.Replaced byHyperlinkUtil.makeLinkPlaceholder(JRPrintHyperlink).static java.lang.StringresolveLinks(java.lang.String text, JRGenericPrintElement element, JRHyperlinkProducer linkProducer, boolean prepareForSerialization)Deprecated.
-
-
-
Field Detail
-
FLASH_ELEMENT_NAME
public static final java.lang.String FLASH_ELEMENT_NAME
Deprecated.The name of Flash generic elements.- See Also:
- Constant Field Values
-
FLASH_ELEMENT_TYPE
public static final JRGenericElementType FLASH_ELEMENT_TYPE
Deprecated.The qualified type of Flash generic elements.
-
PARAMETER_SWF_URL
public static final java.lang.String PARAMETER_SWF_URL
Deprecated.The name of the parameter that provides the URL of the SWF movie.- See Also:
- Constant Field Values
-
PARAMETER_FLASH_VAR_PREFIX
public static final java.lang.String PARAMETER_FLASH_VAR_PREFIX
Deprecated.The prefix of parameter names that acts as Flash variables.- See Also:
- Constant Field Values
-
PROPERTY_IGNORE_SIZE
@Deprecated public static final java.lang.String PROPERTY_IGNORE_SIZE
Deprecated.Boolean property used to avoid setting the width and height of the SWFLoader control in the Flash report viewer.Defaults to
false.- See Also:
- Constant Field Values
-
PROPERTY_ALLOW_SCRIPT_ACCESS
public static final java.lang.String PROPERTY_ALLOW_SCRIPT_ACCESS
Deprecated.Property that determines the value of the allowScriptAccess parameter for Flash elements.The property can be set at element, report and system levels.
- See Also:
- Constant Field Values
-
LINK_PATTERN
protected static final java.util.regex.Pattern LINK_PATTERN
Deprecated.Replaced byHyperlinkUtil.LINK_PATTERN.
-
LINK_PARAM_NAME_GROUP
protected static final int LINK_PARAM_NAME_GROUP
Deprecated.Replaced byHyperlinkUtil.LINK_PARAM_NAME_GROUP.- See Also:
- Constant Field Values
-
-
Method Detail
-
getHandlerBundle
public static GenericElementHandlerBundle getHandlerBundle()
Deprecated.Returns the bundle of export handlers for Flash elements.- Returns:
- Flash elements export handler bundle
-
makeFlashElement
public static JRGenericPrintElement makeFlashElement(JRPrintElement template, java.lang.String swfUrl, java.util.Map<java.lang.String,java.lang.Object> flashVars, java.util.Map<java.lang.String,java.lang.Object> elementParameters)
Deprecated.Creates a Flash generic element by copying all base element attributes from a template instance.- Parameters:
template- the element from which to copy base attributesswfUrl- the URL of the SWF movieflashVars- a map of Flash variableselementParameters- additional parameters to be set on the Flash element. Hyperlink objects need to be set as element parameters.- Returns:
- a Flash generic element
-
makeLinkParameterName
public static java.lang.String makeLinkParameterName(JRPrintHyperlink hyperlink)
Deprecated.
-
makeLinkPlaceholder
public static java.lang.String makeLinkPlaceholder(JRPrintHyperlink hyperlink)
Deprecated.Replaced byHyperlinkUtil.makeLinkPlaceholder(JRPrintHyperlink).
-
makeLinkPlaceholder
public static java.lang.String makeLinkPlaceholder(java.lang.String linkId)
Deprecated.Replaced byHyperlinkUtil.makeLinkPlaceholder(String).
-
resolveLinks
public static java.lang.String resolveLinks(java.lang.String text, JRGenericPrintElement element, JRHyperlinkProducer linkProducer, boolean prepareForSerialization)Deprecated.
-
-