com.vaadin.client.ui.
Class VFlash
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.LabelBase<String>
-
- com.google.gwt.user.client.ui.Label
-
- com.google.gwt.user.client.ui.HTML
-
- com.vaadin.client.ui.VFlash
-
All Implemented Interfaces:
com.google.gwt.editor.client.IsEditor<com.google.gwt.editor.client.LeafValueEditor<String>>, com.google.gwt.event.dom.client.HasAllDragAndDropHandlers, com.google.gwt.event.dom.client.HasAllGestureHandlers, com.google.gwt.event.dom.client.HasAllMouseHandlers, com.google.gwt.event.dom.client.HasAllTouchHandlers, com.google.gwt.event.dom.client.HasClickHandlers, com.google.gwt.event.dom.client.HasDoubleClickHandlers, com.google.gwt.event.dom.client.HasDragEndHandlers, com.google.gwt.event.dom.client.HasDragEnterHandlers, com.google.gwt.event.dom.client.HasDragHandlers, com.google.gwt.event.dom.client.HasDragLeaveHandlers, com.google.gwt.event.dom.client.HasDragOverHandlers, com.google.gwt.event.dom.client.HasDragStartHandlers, com.google.gwt.event.dom.client.HasDropHandlers, com.google.gwt.event.dom.client.HasGestureChangeHandlers, com.google.gwt.event.dom.client.HasGestureEndHandlers, com.google.gwt.event.dom.client.HasGestureStartHandlers, com.google.gwt.event.dom.client.HasMouseDownHandlers, com.google.gwt.event.dom.client.HasMouseMoveHandlers, com.google.gwt.event.dom.client.HasMouseOutHandlers, com.google.gwt.event.dom.client.HasMouseOverHandlers, com.google.gwt.event.dom.client.HasMouseUpHandlers, com.google.gwt.event.dom.client.HasMouseWheelHandlers, com.google.gwt.event.dom.client.HasTouchCancelHandlers, com.google.gwt.event.dom.client.HasTouchEndHandlers, com.google.gwt.event.dom.client.HasTouchMoveHandlers, com.google.gwt.event.dom.client.HasTouchStartHandlers, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.i18n.client.HasDirection, com.google.gwt.i18n.shared.HasDirectionEstimator, com.google.gwt.safehtml.client.HasSafeHtml, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasAutoHorizontalAlignment, com.google.gwt.user.client.ui.HasDirectionalHtml, com.google.gwt.user.client.ui.HasDirectionalSafeHtml, com.google.gwt.user.client.ui.HasDirectionalText, com.google.gwt.user.client.ui.HasHorizontalAlignment, com.google.gwt.user.client.ui.HasHTML, com.google.gwt.user.client.ui.HasText, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWordWrap, com.google.gwt.user.client.ui.IsWidget, com.google.gwt.user.client.ui.SourcesClickEvents, com.google.gwt.user.client.ui.SourcesMouseEvents
Deprecated.
No modern browsers support Flash content anymore.
@Deprecated public class VFlash extends com.google.gwt.user.client.ui.HTML
Widget class for the Flash component.
Author:
Vaadin Ltd
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
-
-
Field Summary
Fields Modifier and Type Field and Description protected String
altText
Deprecated.
protected String
archive
Deprecated.
protected String
classId
Deprecated.
static String
CLASSNAME
Deprecated.
Default classname for this widget.
protected String
codebase
Deprecated.
protected String
codetype
Deprecated.
protected Map<String,String>
embedParams
Deprecated.
protected String
height
Deprecated.
protected boolean
needsRebuild
Deprecated.
Determines whether
rebuildIfNeeded()
does anything.protected String
source
Deprecated.
protected String
standby
Deprecated.
protected String
width
Deprecated.
-
Constructor Summary
Constructors Constructor and Description VFlash()
Deprecated.
Default constructor.
-
Method Summary
All Methods Modifier and Type Method and Description protected String
createFlashEmbed()
Deprecated.
Creates the embed String.
void
rebuildIfNeeded()
Deprecated.
Call this after changing values of widget.
void
setAlternateText(String altText)
Deprecated.
Sets this component's alternate text that can be presented instead of the component's normal content for accessibility purposes.
void
setArchive(String archive)
Deprecated.
This attribute may be used to specify a space-separated list of URIs for archives containing resources relevant to the object, which may include the resources specified by the classid and data attributes.
void
setClassId(String classId)
Deprecated.
Set the class id that is required for ActiveX to recognize the flash.
void
setCodebase(String codebase)
Deprecated.
This attribute specifies the base path used to resolve relative URIs specified by the classid, data, and archive attributes.
void
setCodetype(String codetype)
Deprecated.
This attribute specifies the content type of data expected when downloading the object specified by classid.
void
setEmbedParams(Map<String,String> params)
Deprecated.
Sets the map of object parameters.
void
setHeight(String height)
Deprecated.
void
setSlotHeightAndWidth(int slotOffsetHeight, int slotOffsetWidth)
Deprecated.
Set dimensions of the containing layout slot so that the size of the embed object can be calculated from percentages if needed.
void
setSource(String source)
Deprecated.
Set the resource representing the Flash content that should be displayed.
void
setStandby(String standby)
Deprecated.
Sets standby.
void
setWidth(String width)
Deprecated.
-
Methods inherited from class com.google.gwt.user.client.ui.HTML
getHTML, getTextOrHtml, setHTML, setHTML, setHTML, setHTML, wrap
-
Methods inherited from class com.google.gwt.user.client.ui.Label
addClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, asEditor, getDirection, getText, getTextDirection, removeClickListener, removeMouseListener, removeMouseWheelListener, setDirection, setText, setText
-
Methods inherited from class com.google.gwt.user.client.ui.LabelBase
getAutoHorizontalAlignment, getDirectionEstimator, getHorizontalAlignment, getWordWrap, setAutoHorizontalAlignment, setDirectionEstimator, setDirectionEstimator, setHorizontalAlignment, setWordWrap, updateHorizontalAlignment
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, sinkBitlessEvent, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CLASSNAME
public static final String CLASSNAME
Deprecated.
Default classname for this widget.
See Also:
-
source
protected String source
Deprecated.
See Also:
-
altText
protected String altText
Deprecated.
See Also:
-
classId
protected String classId
Deprecated.
See Also:
-
codebase
protected String codebase
Deprecated.
See Also:
-
codetype
protected String codetype
Deprecated.
See Also:
-
standby
protected String standby
Deprecated.
See Also:
-
archive
protected String archive
Deprecated.
See Also:
-
needsRebuild
protected boolean needsRebuild
Deprecated.
Determines whether
rebuildIfNeeded()
does anything.
-
width
protected String width
Deprecated.
See Also:
-
height
protected String height
Deprecated.
See Also:
-
-
Method Detail
-
setSource
public void setSource(String source)
Deprecated.
Set the resource representing the Flash content that should be displayed.
Parameters:
source
- the resource URL
-
setAlternateText
public void setAlternateText(String altText)
Deprecated.
Sets this component's alternate text that can be presented instead of the component's normal content for accessibility purposes.
Parameters:
altText
- a short, human-readable description of this component's content
-
setClassId
public void setClassId(String classId)
Deprecated.
Set the class id that is required for ActiveX to recognize the flash. This is a predefined value which ActiveX recognizes and must be the given value.
Parameters:
classId
- the classId
-
setCodebase
public void setCodebase(String codebase)
Deprecated.
This attribute specifies the base path used to resolve relative URIs specified by the classid, data, and archive attributes. The default value is the base URI of the current document.
Parameters:
codebase
- The base pathSee Also:
-
setCodetype
public void setCodetype(String codetype)
Deprecated.
This attribute specifies the content type of data expected when downloading the object specified by classid. This attribute is optional but recommended when classid is specified since it allows the user agent to avoid loading information for unsupported content types. The default value is the value of the type attribute.
Parameters:
codetype
- the codetype to set.
-
setStandby
public void setStandby(String standby)
Deprecated.
Sets standby.
Parameters:
standby
- the standby text
-
setArchive
public void setArchive(String archive)
Deprecated.
This attribute may be used to specify a space-separated list of URIs for archives containing resources relevant to the object, which may include the resources specified by the classid and data attributes. Preloading archives will generally result in reduced load times for objects. Archives specified as relative URIs should be interpreted relative to the codebase attribute.
Parameters:
archive
- Space-separated list of URIs with resources relevant to the object
-
rebuildIfNeeded
public void rebuildIfNeeded()
Deprecated.
Call this after changing values of widget. It will rebuild embedding structure if needed.
-
setWidth
public void setWidth(String width)
Deprecated.
Overrides:
setWidth
in classcom.google.gwt.user.client.ui.UIObject
-
setHeight
public void setHeight(String height)
Deprecated.
Overrides:
setHeight
in classcom.google.gwt.user.client.ui.UIObject
-
setEmbedParams
public void setEmbedParams(Map<String,String> params)
Deprecated.
Sets the map of object parameters. Parameters are optional information, and they are passed to the instantiated object. Parameters are are stored as name value pairs. Calling this method for a second time overrides the previously given map.
Parameters:
params
- the parameter map
-
setSlotHeightAndWidth
public void setSlotHeightAndWidth(int slotOffsetHeight, int slotOffsetWidth)
Deprecated.
Set dimensions of the containing layout slot so that the size of the embed object can be calculated from percentages if needed. Triggers embed resizing if percentage sizes are in use.
Parameters:
slotOffsetHeight
- offset height of the layout slotslotOffsetWidth
- offset width of the layout slotSince:
7.7.8
-
createFlashEmbed
protected String createFlashEmbed()
Deprecated.
Creates the embed String.
Returns:
the embed String
-
-