|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.smartgwt.client.widgets.BaseWidget
com.smartgwt.client.widgets.Canvas
com.smartgwt.client.widgets.plugins.BrowserPlugin
com.smartgwt.client.widgets.plugins.Flashlet
public class Flashlet
ISC abstraction for Flashlets.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled |
| Field Summary |
|---|
| Fields inherited from class com.smartgwt.client.widgets.BaseWidget |
|---|
config, configOnly, id, isElementSet, scClassName |
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
Flashlet()
|
|
Flashlet(JavaScriptObject jsObj)
|
|
| Method Summary | |
|---|---|
protected JavaScriptObject |
create()
|
static Boolean |
flashAvailable()
Is Shockwave flash installed on this browser? |
String |
getClassID()
This attribute specifies the clsid of the outer <object> tag. |
String |
getCodeBase()
This attribute specifies the minimum version of the flash player required to show this flashlet. |
static int |
getFlashVersion()
Which version of Flash is installed on this browser? |
String |
getName()
Sets the 'name' attribute on the flashlet object. |
static Flashlet |
getOrCreateRef(JavaScriptObject jsObj)
|
Map |
getParams()
A map of key/value pairs to pass to the flashlet as parameters. |
Element |
getPluginHandle()
Returns a handle to the flashlet DOM element (valid only after the component has been drawn). |
String |
getPluginsPage()
This attribute specifies the page the user should go to to get the plugin required to view this flashlet. |
String |
getSrc()
Location from which to load the Flashlet. |
void |
setClassID(String classID)
This attribute specifies the clsid of the outer <object> tag. |
void |
setCodeBase(String codeBase)
This attribute specifies the minimum version of the flash player required to show this flashlet. |
static void |
setDefaultProperties(Flashlet flashletProperties)
Class level method to set the default properties of this class. |
void |
setName(String name)
Sets the 'name' attribute on the flashlet object. |
void |
setParams(Map params)
A map of key/value pairs to pass to the flashlet as parameters. |
void |
setPluginsPage(String pluginsPage)
This attribute specifies the page the user should go to to get the plugin required to view this flashlet. |
void |
setSrc(String src)
Location from which to load the Flashlet. |
| Methods inherited from class com.smartgwt.client.widgets.plugins.BrowserPlugin |
|---|
setDefaultProperties |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
| Methods inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
addStyleDependentName, ensureDebugId, ensureDebugId, ensureDebugId, getStyleElement, getStyleName, getStylePrimaryName, getStylePrimaryName, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setVisible, sinkBitlessEvent, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.google.gwt.event.shared.HasHandlers |
|---|
fireEvent |
| Constructor Detail |
|---|
public Flashlet()
public Flashlet(JavaScriptObject jsObj)
| Method Detail |
|---|
public static Flashlet getOrCreateRef(JavaScriptObject jsObj)
protected JavaScriptObject create()
create in class BrowserPlugin
public void setClassID(String classID)
throws IllegalStateException
The default classID is: "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
classID - classID Default value is see below
IllegalStateException - this property cannot be changed after the component has been createdpublic String getClassID()
The default classID is: "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
public void setCodeBase(String codeBase)
throws IllegalStateException
The default codeBase is: "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
codeBase - codeBase Default value is see below
IllegalStateException - this property cannot be changed after the component has been createdpublic String getCodeBase()
The default codeBase is: "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
public void setName(String name)
throws IllegalStateException
Flashlet.getPluginHandle to get a handle to the element.
name - name Default value is null
IllegalStateException - this property cannot be changed after the component has been createdgetPluginHandle()public String getName()
Flashlet.getPluginHandle to get a handle to the element.
getPluginHandle()
public void setPluginsPage(String pluginsPage)
throws IllegalStateException
The default pluginsPage is: "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
pluginsPage - pluginsPage Default value is see below
IllegalStateException - this property cannot be changed after the component has been createdpublic String getPluginsPage()
The default pluginsPage is: "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
public void setSrc(String src)
throws IllegalStateException
src - src Default value is null
IllegalStateException - this property cannot be changed after the component has been createdpublic String getSrc()
public static Boolean flashAvailable()
public static int getFlashVersion()
public static void setDefaultProperties(Flashlet flashletProperties)
Note: This method is intended for setting default attributes only and will effect all instances of the underlying class (including those automatically generated in JavaScript). This method should not be used to apply standard EventHandlers or override methods for a class - use a custom subclass instead.
flashletProperties - properties that should be used as new defaults when instances of this class are created
public void setParams(Map params)
throws IllegalStateException
params - params Default value is null
IllegalStateException - this property cannot be changed after the component has been createdpublic Map getParams()
public Element getPluginHandle()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||