public class SparkGroupBase extends FlexObject
Modifier | Constructor and Description |
---|---|
protected |
SparkGroupBase(JtfObjectHandle handle,
Desktop desktop)
Creates a new SparkGroupBase with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
void |
dragCancel()
Dispatched when a drag operation is cancelled.
|
void |
dragCancel(ModifierKey keyModifier)
Dispatched when a drag operation is cancelled.
|
void |
dragDrop(String action)
Dispatched when the dragged item is dropped.
|
void |
dragDrop(String action,
String draggedItem)
Dispatched when the dragged item is dropped.
|
void |
dragDrop(String action,
String draggedItem,
ModifierKey keyModifier)
Dispatched when the dragged item is dropped.
|
void |
dragStart(String draggedItem)
Dispatched when the drag/drop operation begins.
|
void |
dragStart(String draggedItem,
ModifierKey keyModifier)
Dispatched when the drag/drop operation begins.
|
List<String> |
getColumnNames()
Gets a list containing the names of all columns in the data.
|
double |
getContentHeight()
Gets the height of the viewport's content.
|
double |
getContentWidth()
Gets the width of the viewport's contents.
|
int |
getFirstVisibleRow()
Gets the index of the first visible child.
|
double |
getHorizontalScrollPosition()
Gets the x coordinate of the origin of the viewport in the component's coordinate system, where the default value is (0,0) corresponding to the upper-left corner of the component.
|
int |
getLastVisibleRow()
Gets the index of the last visible child.
|
String |
getMaskType()
Gets the mask type.
|
int |
getNumColumns()
Gets the total number of columns in the data available.
|
int |
getNumElements()
Gets the number of visual elements in this container.
|
int |
getNumRows()
Gets the total number of rows of data available.
|
String |
getResizeMode()
Gets the ResizeMode for this container.
|
List<List<String>> |
getValues(int start,
int end)
Returns a matrix containing the automation values of all parts of the components.
|
double |
getVerticalScrollPosition()
Gets the y coordinate of the origin of the viewport in the component's coordinate system, where the default value is (0,0) corresponding to the upper-left corner of the component.
|
boolean |
isAutoLayout()
Gets a value whether measurement and layout are done when the position or size of a child is changed.
|
boolean |
isClipAndEnableScrolling()
Gets a value whether to clip the children to the boundaries of the viewport.
|
boolean |
isLuminosityClip()
Gets a value whether the luminosity mask clips the masked content.
|
boolean |
isLuminosityInvert()
Gets a value that controls the calculation of the RGB color value of a graphic element being masked by a luminosity mask.
|
boolean |
isMouseEnabledWhereTransparent()
Gets a value whether the entire bounds of the Group respond to mouse events such as click and roll over.
|
void |
mouseScroll()
Dispatched when the mouse is used to move the scroll bars on this container.
|
void |
mouseScroll(int delta)
Dispatched when the mouse is used to move the scroll bars on this container.
|
void |
scroll(int position,
FlexScrollDirection direction,
FlexScrollDetail detail)
Dispatched when the container's scroll events occur.
|
void |
type(String keyCode)
Dispatched when the user presses a key.
|
void |
type(String keyCode,
ModifierKey keyModifier)
Dispatched when the user presses a key.
|
changeFocus, changeFocus, changeFocus, getAutomationClassName, getAutomationIndex, getAutomationName, getClassName, getCurrentState, getErrorColor, getErrorString, getId, getNumAutomationChildren, getPercentHeight, getPercentWidth, getScaleX, getScaleY, getThemeColor, getToolTip, isEnabled, isFocusEnabled, isUseHandCursor, move, move, move, setFocus
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 SparkGroupBase(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the SparkGroupBasedesktop
- the desktop on which this object livespublic void dragCancel()
public void dragCancel(ModifierKey keyModifier)
keyModifier
- a constant that indicates which key or key combination, if any, was pressed while this operation took place. One of: flexAlt, flexControl, flexControlAlt, flexControlShift, flexControlShiftAlt, flexShift, or flexShiftAlt. For example, if the Shift and Alt keys were pressed, then the value would be flexShiftAlt.public void dragDrop(String action)
action
- the requested action. One of DragManager.COPY, DragManager.LINK, DragManager.MOVE, DragManager.NONE.public void dragDrop(String action, String draggedItem)
action
- the requested action. One of DragManager.COPY, DragManager.LINK, DragManager.MOVE, DragManager.NONE.draggedItem
- the object being draggedpublic void dragDrop(String action, String draggedItem, ModifierKey keyModifier)
action
- the requested action. One of DragManager.COPY, DragManager.LINK, DragManager.MOVE, DragManager.NONE.draggedItem
- the object being draggedkeyModifier
- a constant that indicates which key or key combination, if any, was pressed while this operation took place. One of: flexAlt, flexControl, flexControlAlt, flexControlShift, flexControlShiftAlt, flexShift, or flexShiftAlt. For example, if the Shift and Alt keys were pressed, then the value would be flexShiftAlt.public void dragStart(String draggedItem)
draggedItem
- the object being draggedpublic void dragStart(String draggedItem, ModifierKey keyModifier)
draggedItem
- the object being draggedkeyModifier
- a constant that indicates which key or key combination, if any, was pressed while this operation took place. One of: flexAlt, flexControl, flexControlAlt, flexControlShift, flexControlShiftAlt, flexShift, or flexShiftAlt. For example, if the Shift and Alt keys were pressed, then the value would be flexShiftAlt.public List<List<String>> getValues(int start, int end)
start
- the index of the starting child. The default value is 0.end
- the index of the ending child. The default value is 0.public void mouseScroll()
public void mouseScroll(int delta)
delta
- the amount to scrollpublic void scroll(int position, FlexScrollDirection direction, FlexScrollDetail detail)
position
- the new scroll positiondirection
- the direction of motion: ScrollEventDirection.VERTICAL or ScrollEventDirection.HORIZONTAL.detail
- provides the details of the scroll activity. For most scroll activities the value is one of the listed constants, such as THUMB_TRACK. If the event indicates that the scrollbar has moved up, down, left, or right, the value is the string concatenation of the amount of motion (such as "Line" or "Page") and the constant that indicates the direction, such as LEFT.public void type(String keyCode)
keyCode
- the key code value of the key pressedpublic void type(String keyCode, ModifierKey keyModifier)
keyCode
- the key code value of the key pressedkeyModifier
- a constant that indicates which key or key combination, if any, was pressed while this operation took place. One of: flexAlt, flexControl, flexControlAlt, flexControlShift, flexControlShiftAlt, flexShift, or flexShiftAlt. For example, if the Shift and Alt keys were pressed, then the value would be flexShiftAlt.public boolean isAutoLayout()
public boolean isClipAndEnableScrolling()
public List<String> getColumnNames()
public double getContentHeight()
public double getContentWidth()
public int getFirstVisibleRow()
public double getHorizontalScrollPosition()
public int getLastVisibleRow()
public boolean isLuminosityClip()
public boolean isLuminosityInvert()
public String getMaskType()
public boolean isMouseEnabledWhereTransparent()
public int getNumColumns()
public int getNumElements()
public int getNumRows()
public String getResizeMode()
public double getVerticalScrollPosition()
Copyright 2009-2012 Micro Focus. All Rights Reserved.