public class WidgetUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WidgetUtil.FlashObject
Parameters for embedding a flash movie in an html page.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
FLASH_VERSION
The minimum flash player version.
|
| Constructor and Description |
|---|
WidgetUtil() |
| Modifier and Type | Method and Description |
|---|---|
static HTML |
createApplet(String ident,
String archive,
String clazz,
int width,
int height,
boolean mayScript,
String[] params)
Creates the HTML to display a Java applet for the browser on which we're running.
|
static HTML |
createApplet(String ident,
String archive,
String clazz,
String width,
String height,
boolean mayScript,
String[] params)
Creates the HTML to display a Java applet for the browser on which we're running.
|
static HTML |
createContainer(WidgetUtil.FlashObject obj)
Creates the HTML to display a Flash movie for the browser on which we're running.
|
static String |
createDefinition(WidgetUtil.FlashObject obj) |
static HTML |
createFlashContainer(String ident,
String movie,
int width,
int height,
String flashVars)
Creates the HTML to display a Flash movie for the browser on which we're running.
|
static HTML |
createFlashContainer(String ident,
String movie,
String width,
String height,
String flashVars)
Creates the HTML to display a Flash movie for the browser on which we're running.
|
static String |
createFlashObjectDefinition(String ident,
String movie,
int width,
int height,
String flashVars)
Creates an HTML string that represents the Flash object for the current browser.
|
static String |
createFlashObjectDefinition(String ident,
String movie,
String width,
String height,
String flashVars)
Creates an HTML string that represents the Flash object for the current browser.
|
static Element |
createParam(String name,
String value)
Creates a tag with the supplied name and value.
|
static HTML |
createTransparentFlashContainer(String ident,
String movie,
int width,
int height,
String flashVars)
Creates the HTML to display a transparent Flash movie for the browser on which we're running.
|
static HTML |
createTransparentFlashContainer(String ident,
String movie,
String width,
String height,
String flashVars)
Creates the HTML to display a transparent Flash movie for the browser on which we're running.
|
static HTML |
embedFlashObject(Panel container,
String htmlString)
Given an HTML string that defines a Flash object, creates a new DOM node for it and adds it
to the appropriate container.
|
static String |
ensurePixels(String value)
Chops off any non-numeric suffix.
|
static Widget |
makeShim(int width,
int height)
Makes a widget that takes up horizontal and or vertical space.
|
public static String FLASH_VERSION
public static HTML createTransparentFlashContainer(String ident, String movie, int width, int height, String flashVars)
flashVars - a pre-URLEncoded string containing flash variables, or null.
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16417public static HTML createTransparentFlashContainer(String ident, String movie, String width, String height, String flashVars)
flashVars - a pre-URLEncoded string containing flash variables, or null.
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16417public static HTML createFlashContainer(String ident, String movie, int width, int height, String flashVars)
flashVars - a pre-URLEncoded string containing flash variables, or null.
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16417public static HTML createFlashContainer(String ident, String movie, String width, String height, String flashVars)
flashVars - a pre-URLEncoded string containing flash variables, or null.
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16417public static HTML createContainer(WidgetUtil.FlashObject obj)
public static String createFlashObjectDefinition(String ident, String movie, int width, int height, String flashVars)
flashVars - a pre-URLEncoded string containing flash variables, or null.
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16417public static String createFlashObjectDefinition(String ident, String movie, String width, String height, String flashVars)
flashVars - a pre-URLEncoded string containing flash variables, or null.
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16417public static String createDefinition(WidgetUtil.FlashObject obj)
public static HTML embedFlashObject(Panel container, String htmlString)
public static HTML createApplet(String ident, String archive, String clazz, int width, int height, boolean mayScript, String[] params)
public static HTML createApplet(String ident, String archive, String clazz, String width, String height, boolean mayScript, String[] params)
public static Element createParam(String name, String value)
public static Widget makeShim(int width, int height)
Copyright © 2013. All Rights Reserved.