public class WPFFlowDocumentScrollViewer extends WPFControl
Modifier | Constructor and Description |
---|---|
protected |
WPFFlowDocumentScrollViewer(JtfObjectHandle handle,
Desktop desktop)
Creates a new WPFFlowDocumentScrollViewer with a JtfObjectHandle.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canDecreaseZoom()
Gets a value that indicates whether the Zoom level can be decreased.
|
boolean |
canIncreaseZoom()
Gets a value that indicates whether the Zoom level can be increased.
|
void |
decreaseZoom()
Decreases the zoom.
|
double |
getMaxZoom()
Gets the maximum allowable Zoom level for the FlowDocumentScrollViewer.
|
double |
getMinZoom()
Gets the minimum allowable Zoom level for the FlowDocumentScrollViewer.
|
String |
getSelection()
Gets the selected content of the FlowDocumentScrollViewer.
|
String |
getText()
Gets the text of the whole Document.
|
double |
getZoom()
Gets the current zoom level for the FlowDocumentScrollViewer.
|
double |
getZoomIncrement()
Gets the zoom increment.
|
void |
increaseZoom()
Increases the zoom.
|
void |
select(String text)
Selects a range of text.
|
void |
select(String text,
int occurrence)
Selects a range of text.
|
void |
toggleFindDialog()
Toggles the Find dialog.
|
getFontFamily, getFontSize, getTabIndex, isTabStop
getActualHeight, getActualWidth, getMaximumScrollPosition, getName, getScrollPosition, pointFromScreen, pointToScreen, scroll, scrollToPosition
bringIntoView, click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, getToolTip, isEnabled, isFocused, mouseMove, mouseMove, openContextMenu, openContextMenu, openContextMenuSelect, openContextMenuSelect, openContextMenuSelect, openContextMenuSelect, pressKeys, pressKeys, pressMouse, pressMouse, pressMouse, pressMouse, releaseKeys, releaseKeys, releaseMouse, releaseMouse, releaseMouse, releaseMouse, setFocus, 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 WPFFlowDocumentScrollViewer(JtfObjectHandle handle, Desktop desktop)
handle
- the handle that identifies the WPFFlowDocumentScrollViewerdesktop
- the desktop on which this object livespublic void decreaseZoom()
public void increaseZoom()
public void select(String text)
text
- the text to be selectedpublic void select(String text, int occurrence)
text
- the text to be selectedoccurrence
- the zero based occurrence of the specified text to be selected. The value is zero-based.public void toggleFindDialog()
public boolean canDecreaseZoom()
public boolean canIncreaseZoom()
public double getMaxZoom()
public double getMinZoom()
public String getSelection()
public String getText()
getText
in class TestObject
public double getZoom()
public double getZoomIncrement()
Copyright 2009-2012 Micro Focus. All Rights Reserved.