Class FlashPrintElement
java.lang.Object
net.sf.jasperreports.engine.export.FlashPrintElement
Deprecated.
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.The name of Flash generic elements.static final JRGenericElementTypeDeprecated.The qualified type of Flash generic elements.protected static final intDeprecated.Replaced byHyperlinkUtil.LINK_PARAM_NAME_GROUP.protected static final PatternDeprecated.Replaced byHyperlinkUtil.LINK_PATTERN.static final StringDeprecated.The prefix of parameter names that acts as Flash variables.static final StringDeprecated.The name of the parameter that provides the URL of the SWF movie.static final StringDeprecated.Property that determines the value of the allowScriptAccess parameter for Flash elements.static final StringDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic GenericElementHandlerBundleDeprecated.Returns the bundle of export handlers for Flash elements.static JRGenericPrintElementmakeFlashElement(JRPrintElement template, String swfUrl, Map<String, Object> flashVars, Map<String, Object> elementParameters) Deprecated.Creates a Flash generic element by copying all base element attributes from a template instance.static StringmakeLinkParameterName(JRPrintHyperlink hyperlink) Deprecated.static StringmakeLinkPlaceholder(String linkId) Deprecated.Replaced byHyperlinkUtil.makeLinkPlaceholder(String).static StringmakeLinkPlaceholder(JRPrintHyperlink hyperlink) Deprecated.Replaced byHyperlinkUtil.makeLinkPlaceholder(JRPrintHyperlink).static StringresolveLinks(String text, JRGenericPrintElement element, JRHyperlinkProducer linkProducer, boolean prepareForSerialization) Deprecated.
-
Field Details
-
FLASH_ELEMENT_NAME
Deprecated.The name of Flash generic elements.- See Also:
-
FLASH_ELEMENT_TYPE
Deprecated.The qualified type of Flash generic elements. -
PARAMETER_SWF_URL
Deprecated.The name of the parameter that provides the URL of the SWF movie.- See Also:
-
PARAMETER_FLASH_VAR_PREFIX
Deprecated.The prefix of parameter names that acts as Flash variables.- See Also:
-
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:
-
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:
-
LINK_PATTERN
Deprecated.Replaced byHyperlinkUtil.LINK_PATTERN. -
LINK_PARAM_NAME_GROUP
protected static final int LINK_PARAM_NAME_GROUPDeprecated.Replaced byHyperlinkUtil.LINK_PARAM_NAME_GROUP.- See Also:
-
-
Method Details
-
getHandlerBundle
Deprecated.Returns the bundle of export handlers for Flash elements.- Returns:
- Flash elements export handler bundle
-
makeFlashElement
public static JRGenericPrintElement makeFlashElement(JRPrintElement template, String swfUrl, Map<String, Object> flashVars, Map<String, 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
Deprecated. -
makeLinkPlaceholder
Deprecated.Replaced byHyperlinkUtil.makeLinkPlaceholder(JRPrintHyperlink). -
makeLinkPlaceholder
Deprecated.Replaced byHyperlinkUtil.makeLinkPlaceholder(String). -
resolveLinks
public static String resolveLinks(String text, JRGenericPrintElement element, JRHyperlinkProducer linkProducer, boolean prepareForSerialization) Deprecated.
-