Class FlashPrintElement
- java.lang.Object
-
- net.sf.jasperreports.engine.export.FlashPrintElement
-
public final class FlashPrintElement extends Object
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:
FlashHtmlHandler
-
-
Field Summary
Fields Modifier and Type Field Description static 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 PatternLINK_PATTERNDeprecated.Replaced byHyperlinkUtil.LINK_PATTERN.static StringPARAMETER_FLASH_VAR_PREFIXDeprecated.The prefix of parameter names that acts as Flash variables.static StringPARAMETER_SWF_URLDeprecated.The name of the parameter that provides the URL of the SWF movie.static StringPROPERTY_ALLOW_SCRIPT_ACCESSDeprecated.Property that determines the value of the allowScriptAccess parameter for Flash elements.static 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, 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 Detail
-
FLASH_ELEMENT_NAME
public static final 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 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 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 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 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 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, 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
public static String makeLinkParameterName(JRPrintHyperlink hyperlink)
Deprecated.
-
makeLinkPlaceholder
public static String makeLinkPlaceholder(JRPrintHyperlink hyperlink)
Deprecated.Replaced byHyperlinkUtil.makeLinkPlaceholder(JRPrintHyperlink).
-
makeLinkPlaceholder
public static String makeLinkPlaceholder(String linkId)
Deprecated.Replaced byHyperlinkUtil.makeLinkPlaceholder(String).
-
resolveLinks
public static String resolveLinks(String text, JRGenericPrintElement element, JRHyperlinkProducer linkProducer, boolean prepareForSerialization)
Deprecated.
-
-