net.sf.jasperreports.engine.util
Class FlashUtils
java.lang.Object
net.sf.jasperreports.engine.util.FlashUtils
public class FlashUtils
- extends Object
Utility methods related to Flash objects.
- Version:
- $Id: FlashUtils.java 5050 2012-03-12 10:11:26Z teodord $
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlashUtils
public FlashUtils()
encodeFlashVariable
public static String encodeFlashVariable(String text)
- Encodes a text used as Flash variable.
- Parameters:
text - the text to encode
- Returns:
- the encoded text
getAllowScriptAccess
public static String getAllowScriptAccess(JRExporterContext context,
JRGenericPrintElement element)
- Determines the allowScriptAccess parameter for a Flash element.
- Parameters:
context - element -
- Returns:
- the value of the allowScriptAccess parameter to use for the element
- See Also:
FlashPrintElement.PROPERTY_ALLOW_SCRIPT_ACCESS
Copyright © 2012. All Rights Reserved.