public class SparkTextArea extends SparkSkinnableTextBase
Modifier | Constructor and Description |
---|---|
protected |
SparkTextArea(JtfObjectHandle handle,
Desktop desktop)
使用 JtfObjectHandle 创建新 SparkTextArea。
|
Modifier and Type | Method and Description |
---|---|
void |
dragCancel()
取消拖动操作时触发的事件。
|
void |
dragCancel(ModifierKey keyModifier)
取消拖动操作时触发的事件。
|
void |
dragDrop(String action)
放置已拖动项目时触发的事件。
|
void |
dragDrop(String action,
String draggedItem)
放置已拖动项目时触发的事件。
|
void |
dragDrop(String action,
String draggedItem,
ModifierKey keyModifier)
放置已拖动项目时触发的事件。
|
void |
dragStart(String draggedItem)
拖放操作开始时触发的事件。
|
void |
dragStart(String draggedItem,
ModifierKey keyModifier)
拖放操作开始时触发的事件。
|
double |
getHeightInLines()
获取 控件的默认高度(以行计量)。
|
double |
getWidthInChars()
获取 控件的默认宽度(以 em 单位计量)。
|
getColumnNames, getFirstVisibleRow, getImeMode, getLastVisibleRow, getMaxChars, getMaxWidth, getNumColumns, getNumRows, getRestrict, getSelectionActivePosition, getSelectionAnchorPosition, getSelectionHighlighting, getText, getValues, input, isDisplayAsPassword, isEditable, isEnableIME, isSelectable, mouseScroll, mouseScroll, selectText, type, type
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, 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 SparkTextArea(JtfObjectHandle handle, Desktop desktop)
handle
- 可确定 SparkTextArea 的句柄desktop
- 此对象所在的桌面public void dragCancel()
public void dragCancel(ModifierKey keyModifier)
keyModifier
- 表示当此操作发生时所按下的键或键组合的常数(如果有),其中包括:flexAlt、flexControl、flexControlAlt、flexControlShift、flexControlShiftAlt、flexShift 或 flexShiftAlt。例如,如果按下了 Shift 和 Alt 键,则值应是 flexShiftAlt。public void dragDrop(String action)
action
- 所需的操作,其中包括 DragManager.COPY、DragManager.LINK、DragManager.MOVE、DragManager.NONEpublic void dragDrop(String action, String draggedItem)
action
- 所需的操作,其中包括 DragManager.COPY、DragManager.LINK、DragManager.MOVE、DragManager.NONEdraggedItem
- 可拖动的列表项目public void dragDrop(String action, String draggedItem, ModifierKey keyModifier)
action
- 所需的操作,其中包括 DragManager.COPY、DragManager.LINK、DragManager.MOVE、DragManager.NONEdraggedItem
- 可拖动的列表项目keyModifier
- 表示当此操作发生时所按下的键或键组合的常数(如果有),其中包括:flexAlt、flexControl、flexControlAlt、flexControlShift、flexControlShiftAlt、flexShift 或 flexShiftAlt。例如,如果按下了 Shift 和 Alt 键,则值应是 flexShiftAlt。public void dragStart(String draggedItem)
draggedItem
- 可拖动的列表项目public void dragStart(String draggedItem, ModifierKey keyModifier)
draggedItem
- 可拖动的列表项目keyModifier
- 表示当此操作发生时所按下的键或键组合的常数(如果有),其中包括:flexAlt、flexControl、flexControlAlt、flexControlShift、flexControlShiftAlt、flexShift 或 flexShiftAlt。例如,如果按下了 Shift 和 Alt 键,则值应是 flexShiftAlt。public double getHeightInLines()
public double getWidthInChars()
Copyright 2009-2012 Micro Focus. All Rights Reserved.