public class FlexUIMovieClip extends FlexDisplayObject
The UIMovieClip class implements the interfaces necessary for a Flash component to be used like a normal Flex component. Therefore, a subclass of UIMovieClip can be used as a child of a Flex container or as a skin, and it can respond to events, define view states and transitions, and work with effects in the same way as can any Flex component.
Modifier | Constructor and Description |
---|---|
protected |
FlexUIMovieClip(JtfObjectHandle handle,
Desktop desktop)
Creates a new FlexUIMovieClip with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
void |
changeFocus()
Defines the value of the type property of a keyFocusChange event object.
|
void |
changeFocus(boolean shiftKey)
Defines the value of the type property of a keyFocusChange event object.
|
void |
changeFocus(boolean shiftKey,
String keyCode)
Defines the value of the type property of a keyFocusChange event object.
|
String |
getAutomationClassName()
Gets a string containing the automation class name for the element.
|
String |
getAutomationIndex()
Gets a string containing the automation index for the element.
|
String |
getAutomationName()
Gets the name that can be used as an identifier for this object.
|
String |
getClassName()
Gets the name of this instance's class, such as "Button".
|
String |
getCurrentState()
Gets the current state of this component.
|
Color |
getErrorColor()
Gets the color of the component highlight when validation fails.
|
String |
getErrorString()
Gets the text that is displayed by a component's error tip when a component is monitored and validation fails.
|
String |
getId()
Gets the ID of the component.
|
int |
getNumAutomationChildren()
Gets the number of automation children this container has.
|
double |
getPercentHeight()
Gets the number that specifies the height of a component as a percentage of its parent's size.
|
double |
getPercentWidth()
Gets the number that specifies the width of a component as a percentage of its parent's size.
|
double |
getScaleX()
Gets the horizontal scale (percentage) of the object as applied from the registration point.
|
double |
getScaleY()
Gets the vertical scale (percentage) of an object as applied from the registration point of the object.
|
Color |
getThemeColor()
Gets the theme color of a component.
|
String |
getToolTip()
Gets the text to display in the ToolTip.
|
boolean |
isEnabled()
Gets whether a movie clip is enabled.
|
boolean |
isFocusEnabled()
Gets whether the component can receive focus when selected.
|
boolean |
isUseHandCursor()
Gets whether the pointing hand (hand cursor) appears when the mouse rolls over a sprite in which the buttonMode property is set to true.
|
void |
setFocus()
Called by the FocusManager when the component receives focus.
|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getAlpha, getHeight, getStyle, getTabIndex, getWidth, getX, getY, isMouseEnabled, isTabChildren, isTabEnabled, isVisible, mouseMove, mouseMove, nativeToString, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, typeKeys, typeKeys, typeKeys, typePasswordKeys, typePasswordKeys, typePasswordKeys
captureBitmap, captureBitmap, exists, exists, generateLocator, getChildren, getDynamicMethodList, getParent, getPropertyList, getRect, getRect, getText, getValue, highlightObject, highlightObject, highlightObject, invokeMethods, textCapture, textCapture, textClick, textClick, textClick, textClick, textClick, textClick, textExists, textExists, textExists, textExists, textExists, textRectangle, textRectangle, textRectangle, textRectangle, textRectangle, waitForChildDisappearance, waitForChildDisappearance, waitForDisappearance, waitForDisappearance, waitForObject, waitForObject, waitForProperty, waitForProperty
equals, exists, find, find, findAll, findAll, getCustomTypeName, getDesktop, getHandle, getLocator, getProperty, getTypeName, hashCode, imageClick, imageClick, imageClick, imageClick, imageClick, imageClick, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageClickFile, imageExists, imageExists, imageExists, imageExistsFile, imageExistsFile, imageExistsFile, imageRectangle, imageRectangle, imageRectangle, imageRectangleFile, imageRectangleFile, imageRectangleFile, invoke, preventFinalLocator, setProperty, toString
protected FlexUIMovieClip(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the FlexUIMovieClipdesktop
- the desktop on which this object livespublic void changeFocus()
public void changeFocus(boolean shiftKey)
shiftKey
- true if the Shift key modifier is activated; false otherwisepublic void changeFocus(boolean shiftKey, String keyCode)
shiftKey
- true if the Shift key modifier is activated; false otherwisekeyCode
- the key code value of the key pressed to trigger a keyFocusChange eventpublic void setFocus()
public String getAutomationClassName()
public String getAutomationIndex()
public String getAutomationName()
public String getClassName()
public String getCurrentState()
For UIMovieClip, the value of the currentState property is the current frame label.
public boolean isEnabled()
The default value is true. If enabled is set to false, the movie clip's Over, Down, and Up frames are disabled. The movie clip continues to receive events (for example, mouseDown, mouseUp, keyDown, and keyUp).
public Color getErrorColor()
public String getErrorString()
public boolean isFocusEnabled()
public String getId()
This value becomes the instance name of the object and should not contain any white space or special characters. Each component throughout an application should have a unique name. Assigning a meaningful name can make scripts more readable. For example, set the value of a button to close_button rather than b1 or button1.
public int getNumAutomationChildren()
public double getPercentHeight()
public double getPercentWidth()
public double getScaleX()
public double getScaleY()
public Color getThemeColor()
public String getToolTip()
public boolean isUseHandCursor()
The default value is true. If useHandCursor is set to true, the pointing hand used for buttons appears when the mouse rolls over a button sprite. If useHandCursor is false, the arrow pointer is used instead.
Copyright 2009-2012 Micro Focus. All Rights Reserved.