|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.actf.model.flash.FlashPlayer
public class FlashPlayer
Default implementation of IFlashPlayer
FlashPlayerFactory
Field Summary |
---|
Method Summary | |
---|---|
Object |
callMethod(IASNode targetNode,
String method)
Call ActionScript method of target IASNode |
Object |
callMethod(IASNode targetNode,
String method,
Object[] args)
Call ActionScript method of target IASNode |
boolean |
clearAllMarkers()
Clear all markers |
FlashMSAAObject |
getAccessible()
|
IASNode[] |
getChildren(IASNode parentNode,
boolean visual,
boolean debugMode)
Get children of specified parent IASNode |
String |
getContentURL()
|
IDispatch |
getDispatch()
|
IASNode |
getNodeAtDepthWithPath(String path,
int depth)
Get IASNode at specified depth and path |
IASNode |
getNodeFromPath(String path)
Get IASNode at specified path |
String |
getPlayerProperty(String propertyName)
Get Property from FlashPlayer Node |
String |
getPlayerVersion()
|
Object |
getProperty(String path,
String prop)
Get Property value at specified path |
IASNode |
getRootNode()
|
String |
getStatus()
|
int |
getSWFVersion()
|
int |
getWindow()
|
String |
getWMode()
|
boolean |
hasChild(IASNode parentNode,
boolean visual,
boolean debugMode)
|
boolean |
isReady()
|
boolean |
isVisible()
|
void |
repairFlash()
Repair flash content |
IASNode[] |
searchSound()
|
IASNode[] |
searchVideo()
|
boolean |
setFocus(String target)
Focus specified target |
boolean |
setMarker(IASNode node)
Set marker on the specified IASNode position |
boolean |
setMarker(Number x,
Number y,
Number width,
Number height)
Set marker at specified position and size |
void |
setPlayerProperty(String propertyName,
String value)
Set Property to FlashPlayer Node |
void |
setProperty(String path,
String prop,
Object value)
Set Property value at specified path |
IASNode[] |
translateWithPath(String path)
|
boolean |
unsetMarker()
Unset current marker |
boolean |
updateTarget()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public FlashMSAAObject getAccessible()
getAccessible
in interface IFlashPlayer
FlashMSAAObject
public boolean isReady()
isReady
in interface IFlashPlayer
public boolean isVisible()
isVisible
in interface IFlashPlayer
public IASNode getRootNode()
getRootNode
in interface IASBridge
IASNode
public IASNode getNodeFromPath(String path)
IASBridge
IASNode
at specified path
getNodeFromPath
in interface IASBridge
path
- target path
IASNode
or null if not availablepublic IASNode getNodeAtDepthWithPath(String path, int depth)
IASBridge
IASNode
at specified depth and path
getNodeAtDepthWithPath
in interface IASBridge
path
- target pathdepth
- target depth
IASNode
or null if not availablepublic IASNode[] translateWithPath(String path)
translateWithPath
in interface IASBridge
path
- target path
public boolean hasChild(IASNode parentNode, boolean visual, boolean debugMode)
hasChild
in interface IASBridge
parentNode
- target parent IASNode
visual
- getInnerNodes
method)debugMode
- public IASNode[] getChildren(IASNode parentNode, boolean visual, boolean debugMode)
IASBridge
IASNode
getChildren
in interface IASBridge
parentNode
- target parent nodevisual
- getInnerNodes
method)debugMode
- IASNode
arraypublic IASNode[] searchVideo()
searchVideo
in interface IASBridge
IASNode
arraypublic IASNode[] searchSound()
searchSound
in interface IASBridge
IASNode
arraypublic boolean setMarker(Number x, Number y, Number width, Number height)
IASBridge
setMarker
in interface IASBridge
x
- x coordinatesy
- y coordinateswidth
- widthheight
- height
public boolean setMarker(IASNode node)
IASBridge
IASNode
position
setMarker
in interface IASBridge
node
- target IASNode
public boolean unsetMarker()
IASBridge
unsetMarker
in interface IASBridge
public boolean clearAllMarkers()
IASBridge
clearAllMarkers
in interface IASBridge
public boolean setFocus(String target)
IASBridge
setFocus
in interface IASBridge
target
- full instance name of the node
IASNode.getTarget()
,
IFlashConst.M_SET_FOCUS
public Object getProperty(String path, String prop)
IASBridge
getProperty
in interface IASBridge
path
- target pathprop
- target property name
public void setProperty(String path, String prop, Object value)
IASBridge
setProperty
in interface IASBridge
path
- target pathprop
- target property namevalue
- target property valuepublic boolean updateTarget()
updateTarget
in interface IASBridge
public void repairFlash()
IASBridge
repairFlash
in interface IASBridge
public Object callMethod(IASNode targetNode, String method)
IASBridge
IASNode
callMethod
in interface IASBridge
targetNode
- target nodemethod
- target method
public Object callMethod(IASNode targetNode, String method, Object[] args)
IASBridge
IASNode
callMethod
in interface IASBridge
targetNode
- target nodemethod
- target methodargs
- arguments
public String getStatus()
getStatus
in interface IFlashPlayer
public String getWMode()
getWMode
in interface IFlashPlayer
public void setPlayerProperty(String propertyName, String value)
IFlashPlayer
setPlayerProperty
in interface IFlashPlayer
propertyName
- target property namevalue
- property value to setpublic String getPlayerProperty(String propertyName)
IFlashPlayer
getPlayerProperty
in interface IFlashPlayer
propertyName
- target property name
public int getWindow()
getWindow
in interface IFlashPlayer
FlashMSAAObject.getWindow()
public IDispatch getDispatch()
getDispatch
in interface IFlashPlayer
public String getPlayerVersion()
getPlayerVersion
in interface IFlashPlayer
public String getContentURL()
getContentURL
in interface IFlashPlayer
public int getSWFVersion()
getSWFVersion
in interface IFlashPlayer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |