Package io.guise.framework.platform.web
Class WebFlashDepictor<C extends Flash>
java.lang.Object
io.guise.framework.platform.AbstractDepictor<C>
io.guise.framework.platform.AbstractComponentDepictor<C>
io.guise.framework.platform.web.AbstractWebComponentDepictor<C>
io.guise.framework.platform.web.AbstractSimpleWebComponentDepictor<C>
io.guise.framework.platform.web.WebFlashDepictor<C>
- Type Parameters:
C
- The type of component being depicted.
- All Implemented Interfaces:
ComponentDepictor<C>
,Depictor<C>
,WebComponentDepictor<C>
,WebDepictor<C>
Strategy for rendering a Flash component as an XHTML
<object>
element.- Author:
- Garret Wilson
-
Nested Class Summary
Nested classes/interfaces inherited from class io.guise.framework.platform.AbstractComponentDepictor
AbstractComponentDepictor.DepictedCompositeComponentListener
Nested classes/interfaces inherited from class io.guise.framework.platform.AbstractDepictor
AbstractDepictor.DepictedPropertyChangeListener
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The "allowScriptAccess" parameter.static final String
The "allowScriptAccess" parameter "always" value.static final String
The "allowScriptAccess" parameter "never" value.static final String
The "allowScriptAccess" parameter "sameDomain" value.static final String
The Shockwave Flash player class ID.static final com.globalmentor.net.MediaType
The media type for Flash objects.static final String
The "movie" parameter.static final String
The "quality" parameter.static final String
The "quality" parameter "high" value.static final URI
The HTTPS URI to the swflash.cab file.static final URI
The URI to the swflash.cab file.static final String
The URI parameter specifying the version of the swflash.cab file to retrieve.static final String
The "wmode" parameter.Fields inherited from class io.guise.framework.platform.web.AbstractWebComponentDepictor
BODY_END_PATTERN, BODY_START_PATTERN
Fields inherited from class io.guise.framework.platform.AbstractComponentDepictor
childPropertyChangeListener
Fields inherited from interface io.guise.framework.platform.Depictor
GENERAL_PROPERTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Depicts the body of the component.static URI
getSWFlashCabURI
(String version, boolean secure) Returns A URI appropriate for accessing the swflash.cab file at an optionally secure location with the given version.Methods inherited from class io.guise.framework.platform.web.AbstractSimpleWebComponentDepictor
depictBegin, getOuterStyles
Methods inherited from class io.guise.framework.platform.web.AbstractWebComponentDepictor
addFlowStyleIDs, decorateID, depict, depictEnd, getBackgroundColor, getBaseStyleIDs, getBodyStyleIDs, getBodyStyles, getColor, getDepictContext, getDepictName, getLabelStyles, getLabelStyles, getLabelStyles, getLocalName, getNamespaceURI, getPlatform, hasLabelContent, hasLabelContent, hasLabelContent, hasLabelContent, isEmptyElementAllowed, isMouseListener, writeBodyIDClassAttributes, writeClassAttribute, writeDirectionAttribute, writeDirectionAttribute, writeErrorMessage, writeFloatClear, writeIDAttribute, writeIDClassAttributes, writeLabel, writeLabelContent, writeLabelContent, writeLabelContent, writeLabelContent, writeLabelContent, writeLabelContent, writeParameterInputs, writeStyleAttribute, writeText
Methods inherited from class io.guise.framework.platform.AbstractComponentDepictor
depictChild, depictChildren, depictedObjectPropertyChange, getDepictedCompositeComponentListener, getErrorMessage, installed, processEvent, uninstalled
Methods inherited from class io.guise.framework.platform.AbstractDepictor
getDepictedObject, getDepictedPropertyChangeListener, getIgnoredProperties, getModifiedProperties, getSession, isDepicted, setDepicted, setPropertyModified
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.guise.framework.platform.Depictor
getDepictedObject, getSession, installed, isDepicted, processEvent, setDepicted, uninstalled
-
Field Details
-
FLASH_MEDIA_TYPE
public static final com.globalmentor.net.MediaType FLASH_MEDIA_TYPEThe media type for Flash objects. -
ALLOW_SCRIPT_ACCESS_PARAMETER
The "allowScriptAccess" parameter. -
ALLOW_SCRIPT_ACCESS_PARAMETER_ALWAYS
The "allowScriptAccess" parameter "always" value.- See Also:
-
ALLOW_SCRIPT_ACCESS_PARAMETER_NEVER
The "allowScriptAccess" parameter "never" value.- See Also:
-
ALLOW_SCRIPT_ACCESS_PARAMETER_SAME_DOMAIN
The "allowScriptAccess" parameter "sameDomain" value.- See Also:
-
MOVIE_PARAMETER
The "movie" parameter.- See Also:
-
QUALITY_PARAMETER
The "quality" parameter.- See Also:
-
QUALITY_PARAMETER_HIGH
The "quality" parameter "high" value.- See Also:
-
WMODE_PARAMETER
The "wmode" parameter.- See Also:
-
FLASH_CLASS_ID
The Shockwave Flash player class ID.- See Also:
-
SWFLASH_CAB_URI
The URI to the swflash.cab file. -
SWFLASH_CAB_SECURE_URI
The HTTPS URI to the swflash.cab file. -
SWFLASH_CAB_URI_VERSION_PARAMETER
The URI parameter specifying the version of the swflash.cab file to retrieve.- See Also:
-
-
Constructor Details
-
WebFlashDepictor
public WebFlashDepictor()Default constructor using the XHTML<object>
element.
-
-
Method Details
-
getSWFlashCabURI
Returns A URI appropriate for accessing the swflash.cab file at an optionally secure location with the given version.- Parameters:
version
- The version of the file to retrieve.secure
- Whether a secure URI should be retrieved.- Returns:
- A URI to the swflash.cab file.
-
depictBody
Description copied from class:AbstractWebComponentDepictor
Depicts the body of the component.This version depicts the children of the component.
This version increases and decreases the indention level before and after depicting the children, respectively.
- Overrides:
depictBody
in classAbstractWebComponentDepictor<C extends Flash>
- Throws:
IOException
- if there is an error updating the depiction.- See Also:
-