public class SapLabel extends SapComponent
Modifier | Constructor and Description |
---|---|
protected |
SapLabel(JtfObjectHandle handle,
Desktop desktop)
Creates a new SapLabel with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
int |
getCharLeft()
Gets the left coordinate of the label in character metric.
|
int |
getCharTop()
Gets the top coordinate of the label in character metric.
|
int |
getCharWidth()
Gets the width of the element in character metric.
|
int |
getColorIndex()
Gets the color index of the label.
|
String |
getDisplayedText()
Gets the text of the label.
|
int |
getMaxlength()
Gets the maximum text length of the label in code units.
|
boolean |
isColorInverse()
Gets whether the inverse color style is set for the label.
|
boolean |
isHighlighted()
Gets whether the label has the 'highlighted' flag assigned.
|
boolean |
isHotspot()
Gets whether a mouse click on the label causes a round trip.
|
boolean |
isLeftLabel()
Gets whether the component has the 'assign left' flag assigned.
|
boolean |
isListElement()
Gets whether the element is on an ABAP list.
|
boolean |
isNumerical()
Gets whether the label may only contain numbers.
|
boolean |
isRightLabel()
Gets whether the component has the 'assign right' flag assigned.
|
getAccessibilityText, getAccessibilityTextOnRequest, getAccessibilityTooltip, getDefaultTooltip, getHeight, getIconName, getLeft, getName, getScreenLeft, getScreenTop, getTooltip, getTop, getWidth, isChangeable, isFocused, isModified, isSymbolFont, setFocus, showContextMenu
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 SapLabel(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the SapLabeldesktop
- the desktop on which this object livespublic int getCharLeft()
public int getCharTop()
public int getCharWidth()
public int getColorIndex()
public boolean isColorInverse()
public String getDisplayedText()
public boolean isHighlighted()
public boolean isHotspot()
public boolean isLeftLabel()
public boolean isListElement()
public boolean isRightLabel()
public int getMaxlength()
public boolean isNumerical()
Copyright 2009-2012 Micro Focus. All Rights Reserved.