public class JEditorPaneOperator extends JTextComponentOperator
Timeouts| Modifier and Type | Class and Description |
|---|---|
static class |
JEditorPaneOperator.JEditorPaneFinder
Checks component type.
|
JTextComponentOperator.JTextComponentByTextFinder, JTextComponentOperator.JTextComponentFinder, JTextComponentOperator.NoSuchTextException, JTextComponentOperator.TextChooserJComponentOperator.JComponentByTipFinder, JComponentOperator.JComponentFinderContainerOperator.ContainerFinderOperator.ComponentVisualizer, Operator.DefaultPathParser, Operator.DefaultStringComparator, Operator.Finder, Operator.MapAction, Operator.MapBooleanAction, Operator.MapByteAction, Operator.MapCharacterAction, Operator.MapDoubleAction, Operator.MapFloatAction, Operator.MapIntegerAction, Operator.MapLongAction, Operator.MapVoidAction, Operator.NoBlockingAction, Operator.PathParser, Operator.StringComparator| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTENT_TYPE_DPROP
Identifier for a "content type" property.
|
IS_EDITABLE_DPROP, modifiersPressed, SELECTED_TEXT_DPROP, TEXT_DPROPA11Y_DATA, A11Y_DESCRIPTION_DPROP, A11Y_NAME_DPROP, TOOLTIP_TEXT_DPROPHEIGHT_DPROP, IS_SHOWING_DPROP, IS_VISIBLE_DPROP, NAME_DPROP, WIDTH_DPROP, X_DPROP, Y_DPROPCLASS_DPROP, TO_STRING_DPROP| Constructor and Description |
|---|
JEditorPaneOperator(ContainerOperator cont)
Constructor.
|
JEditorPaneOperator(ContainerOperator cont,
ComponentChooser chooser)
Constructs a JEditorPaneOperator object.
|
JEditorPaneOperator(ContainerOperator cont,
ComponentChooser chooser,
int index)
Constructs a JEditorPaneOperator object.
|
JEditorPaneOperator(ContainerOperator cont,
int index)
Constructor.
|
JEditorPaneOperator(ContainerOperator cont,
java.lang.String text)
Constructor.
|
JEditorPaneOperator(ContainerOperator cont,
java.lang.String text,
int index)
Constructor.
|
JEditorPaneOperator(javax.swing.JEditorPane b)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addHyperlinkListener(javax.swing.event.HyperlinkListener hyperlinkListener)
Maps
JEditorPane.addHyperlinkListener(HyperlinkListener) through queue |
static javax.swing.JEditorPane |
findJEditorPane(java.awt.Container cont,
ComponentChooser chooser)
Searches JEditorPane in container.
|
static javax.swing.JEditorPane |
findJEditorPane(java.awt.Container cont,
ComponentChooser chooser,
int index)
Searches JEditorPane in container.
|
static javax.swing.JEditorPane |
findJEditorPane(java.awt.Container cont,
java.lang.String text,
boolean ce,
boolean ccs)
Searches JEditorPane by text.
|
static javax.swing.JEditorPane |
findJEditorPane(java.awt.Container cont,
java.lang.String text,
boolean ce,
boolean ccs,
int index)
Searches JEditorPane by text.
|
void |
fireHyperlinkUpdate(javax.swing.event.HyperlinkEvent hyperlinkEvent)
Maps
JEditorPane.fireHyperlinkUpdate(HyperlinkEvent) through queue |
java.lang.String |
getContentType()
Maps
JEditorPane.getContentType() through queue |
java.util.Hashtable |
getDump()
Returns information about component.
|
javax.swing.text.EditorKit |
getEditorKit()
Maps
JEditorPane.getEditorKit() through queue |
javax.swing.text.EditorKit |
getEditorKitForContentType(java.lang.String string)
Maps
JEditorPane.getEditorKitForContentType(String) through queue |
java.net.URL |
getPage()
Maps
JEditorPane.getPage() through queue |
void |
read(java.io.InputStream inputStream,
java.lang.Object object)
Maps
JEditorPane.read(InputStream, Object) through queue |
void |
removeHyperlinkListener(javax.swing.event.HyperlinkListener hyperlinkListener)
Maps
JEditorPane.removeHyperlinkListener(HyperlinkListener) through queue |
void |
setContentType(java.lang.String string)
Maps
JEditorPane.setContentType(String) through queue |
void |
setEditorKit(javax.swing.text.EditorKit editorKit)
Maps
JEditorPane.setEditorKit(EditorKit) through queue |
void |
setEditorKitForContentType(java.lang.String string,
javax.swing.text.EditorKit editorKit)
Maps
JEditorPane.setEditorKitForContentType(String, EditorKit) through queue |
void |
setPage(java.lang.String string)
Maps
JEditorPane.setPage(String) through queue |
void |
setPage(java.net.URL uRL)
Maps
JEditorPane.setPage(URL) through queue |
void |
usePageNavigationKeys(boolean yesOrNo)
Deprecated.
vlue set by this method is not used anymore:
all navigating is performed by TextDriver.
|
static javax.swing.JEditorPane |
waitJEditorPane(java.awt.Container cont,
ComponentChooser chooser)
Waits JEditorPane in container.
|
static javax.swing.JEditorPane |
waitJEditorPane(java.awt.Container cont,
ComponentChooser chooser,
int index)
Waits JEditorPane in container.
|
static javax.swing.JEditorPane |
waitJEditorPane(java.awt.Container cont,
java.lang.String text,
boolean ce,
boolean ccs)
Waits JEditorPane by text.
|
static javax.swing.JEditorPane |
waitJEditorPane(java.awt.Container cont,
java.lang.String text,
boolean ce,
boolean ccs,
int index)
Waits JEditorPane by text.
|
addCaretListener, changeCaretPosition, changeCaretPosition, changeCaretPosition, clearText, copy, copyEnvironment, cut, enterText, findJTextComponent, findJTextComponent, findJTextComponent, findJTextComponent, getActions, getCaret, getCaretColor, getCaretPosition, getDisabledTextColor, getDisplayedText, getDocument, getFocusAccelerator, getHighlighter, getKeymap, getMargin, getOutput, getPositionByText, getPositionByText, getPositionByText, getPositionByText, getPreferredScrollableViewportSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getSelectedText, getSelectedTextColor, getSelectionColor, getSelectionEnd, getSelectionStart, getText, getText, getTimeouts, getUI, isEditable, modelToView, moveCaretPosition, paste, read, removeCaretListener, replaceSelection, scrollToPosition, select, selectAll, selectText, selectText, selectText, setCaret, setCaretColor, setCaretPosition, setDisabledTextColor, setDocument, setEditable, setFocusAccelerator, setHighlighter, setKeymap, setMargin, setOutput, setSelectedTextColor, setSelectionColor, setSelectionEnd, setSelectionStart, setText, setTimeouts, setUI, typeText, typeText, viewToModel, waitCaretPosition, waitJTextComponent, waitJTextComponent, waitJTextComponent, waitJTextComponent, waitText, waitText, writeaddAncestorListener, addVetoableChangeListener, computeVisibleRect, createToolTip, findJComponent, findJComponent, findJComponent, findJComponent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getActionForKeyStroke, getAutoscrolls, getBorder, getCenterXForClick, getCenterYForClick, getClientProperty, getConditionForKeyStroke, getDebugGraphicsOptions, getInsets, getNextFocusableComponent, getRegisteredKeyStrokes, getRootPane, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getUIClassID, getVisibleRect, getWindowContainerOperator, grabFocus, isFocusCycleRoot, isManagingFocus, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintImmediately, paintImmediately, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, requestDefaultFocus, resetKeyboardActions, revalidate, scrollRectToVisible, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, showToolTip, unregisterKeyboardAction, updateUI, waitJComponent, waitJComponent, waitJComponent, waitJComponent, waitToolTipadd, add, add, add, add, addContainerListener, createSubOperator, createSubOperator, findComponentAt, findComponentAt, findContainer, findContainer, findContainer, findContainer, findContainerUnder, findContainerUnder, findSubComponent, findSubComponent, getComponent, getComponentCount, getComponents, getInsets, getLayout, isAncestorOf, paintComponents, printComponents, remove, remove, removeAll, removeContainerListener, setLayout, waitContainer, waitContainer, waitContainer, waitContainer, waitSubComponent, waitSubComponentactivateWindow, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, checkImage, checkImage, clickForPopup, clickForPopup, clickForPopup, clickForPopup, clickMouse, clickMouse, clickMouse, clickMouse, clickMouse, clickMouse, clickMouse, contains, contains, createImage, createImage, dispatchEvent, doLayout, dragMouse, dragMouse, dragMouse, dragNDrop, dragNDrop, dragNDrop, enableInputMethods, enterMouse, exitMouse, findComponent, findComponent, findComponents, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getCenterX, getCenterY, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getContainer, getContainers, getCursor, getDropTarget, getEventDispatcher, getFocus, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getSize, getSource, getToolkit, getTreeLock, getWidth, getWindow, getX, getY, hasFocus, imageUpdate, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, list, list, list, list, list, makeComponentVisible, moveMouse, paint, paintAll, prepareImage, prepareImage, pressKey, pressKey, pressMouse, pressMouse, print, printAll, pushKey, pushKey, releaseKey, releaseKey, releaseMouse, releaseMouse, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, transferFocus, typedKey, typeKey, typeKey, typeKey, update, validate, waitComponent, waitComponent, waitComponent, waitComponent, waitComponentEnabled, waitComponentShowing, waitComponentVisible, waitHasFocus, wtComponentEnabledaddOperatorPackage, addToDump, addToDump, createOperator, getCharBindingMap, getCharKey, getCharModifiers, getCharsKeys, getCharsKeys, getCharsModifiers, getCharsModifiers, getComparator, getDefaultComponentVisualizer, getDefaultMouseButton, getDefaultPathParser, getDefaultStringComparator, getDefaultVerification, getEnvironmentOperator, getParentPath, getParentPath, getPathParser, getPopupMouseButton, getProperties, getQueueTool, getVerification, getVisualizer, isCaptionEqual, isCaptionEqual, isCaptionEqual, lockQueue, parseString, parseString, printDump, produceNoBlocking, produceNoBlocking, produceTimeRestricted, produceTimeRestricted, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, setCharBindingMap, setComparator, setDefaultComponentVisualizer, setDefaultPathParser, setDefaultStringComparator, setDefaultVerification, setPathParser, setProperties, setVerification, setVisualizer, toStringSource, unlockAndThrow, unlockQueue, waitStatepublic static final java.lang.String CONTENT_TYPE_DPROP
getDump(),
Constant Field Valuespublic JEditorPaneOperator(javax.swing.JEditorPane b)
b - a componentpublic JEditorPaneOperator(ContainerOperator cont, ComponentChooser chooser, int index)
cont - a containerchooser - a component chooser specifying searching criteria.index - an index between appropriate ones.public JEditorPaneOperator(ContainerOperator cont, ComponentChooser chooser)
cont - a containerchooser - a component chooser specifying searching criteria.public JEditorPaneOperator(ContainerOperator cont, java.lang.String text, int index)
cont - a containertext - Button text.index - Ordinal component index.TimeoutExpiredExceptionOperator.isCaptionEqual(String, String, boolean, boolean)public JEditorPaneOperator(ContainerOperator cont, java.lang.String text)
cont - a containertext - Button text.TimeoutExpiredExceptionOperator.isCaptionEqual(String, String, boolean, boolean)public JEditorPaneOperator(ContainerOperator cont, int index)
cont - a containerindex - Ordinal component index.TimeoutExpiredExceptionpublic JEditorPaneOperator(ContainerOperator cont)
cont - a containerTimeoutExpiredExceptionpublic static javax.swing.JEditorPane findJEditorPane(java.awt.Container cont,
ComponentChooser chooser,
int index)
cont - Container to search component in.chooser - a component chooser specifying searching criteria.index - Ordinal component index.public static javax.swing.JEditorPane findJEditorPane(java.awt.Container cont,
ComponentChooser chooser)
cont - Container to search component in.chooser - a component chooser specifying searching criteria.public static javax.swing.JEditorPane findJEditorPane(java.awt.Container cont,
java.lang.String text,
boolean ce,
boolean ccs,
int index)
cont - Container to search component in.text - Component text.ce - Compare text exactly.ccs - Compare text case sensitively.index - Ordinal component index.Operator.isCaptionEqual(String, String, boolean, boolean)public static javax.swing.JEditorPane findJEditorPane(java.awt.Container cont,
java.lang.String text,
boolean ce,
boolean ccs)
cont - Container to search component in.text - Component text.ce - Compare text exactly.ccs - Compare text case sensitively.Operator.isCaptionEqual(String, String, boolean, boolean)public static javax.swing.JEditorPane waitJEditorPane(java.awt.Container cont,
ComponentChooser chooser,
int index)
cont - Container to search component in.chooser - a component chooser specifying searching criteria.index - Ordinal component index.TimeoutExpiredExceptionpublic static javax.swing.JEditorPane waitJEditorPane(java.awt.Container cont,
ComponentChooser chooser)
cont - Container to search component in.chooser - a component chooser specifying searching criteria.TimeoutExpiredExceptionpublic static javax.swing.JEditorPane waitJEditorPane(java.awt.Container cont,
java.lang.String text,
boolean ce,
boolean ccs,
int index)
cont - Container to search component in.text - Component text.ce - Compare text exactly.ccs - Compare text case sensitively.index - Ordinal component index.TimeoutExpiredExceptionOperator.isCaptionEqual(String, String, boolean, boolean)public static javax.swing.JEditorPane waitJEditorPane(java.awt.Container cont,
java.lang.String text,
boolean ce,
boolean ccs)
cont - Container to search component in.text - Component text.ce - Compare text exactly.ccs - Compare text case sensitively.TimeoutExpiredExceptionOperator.isCaptionEqual(String, String, boolean, boolean)public void usePageNavigationKeys(boolean yesOrNo)
yesOrNo - whether to use "PageUp" and "PageDown"public java.util.Hashtable getDump()
getDump in class JTextComponentOperatorpublic void addHyperlinkListener(javax.swing.event.HyperlinkListener hyperlinkListener)
JEditorPane.addHyperlinkListener(HyperlinkListener) through queuepublic void fireHyperlinkUpdate(javax.swing.event.HyperlinkEvent hyperlinkEvent)
JEditorPane.fireHyperlinkUpdate(HyperlinkEvent) through queuepublic java.lang.String getContentType()
JEditorPane.getContentType() through queuepublic javax.swing.text.EditorKit getEditorKit()
JEditorPane.getEditorKit() through queuepublic javax.swing.text.EditorKit getEditorKitForContentType(java.lang.String string)
JEditorPane.getEditorKitForContentType(String) through queuepublic java.net.URL getPage()
JEditorPane.getPage() through queuepublic void read(java.io.InputStream inputStream,
java.lang.Object object)
JEditorPane.read(InputStream, Object) through queuepublic void removeHyperlinkListener(javax.swing.event.HyperlinkListener hyperlinkListener)
JEditorPane.removeHyperlinkListener(HyperlinkListener) through queuepublic void setContentType(java.lang.String string)
JEditorPane.setContentType(String) through queuepublic void setEditorKit(javax.swing.text.EditorKit editorKit)
JEditorPane.setEditorKit(EditorKit) through queuepublic void setEditorKitForContentType(java.lang.String string,
javax.swing.text.EditorKit editorKit)
JEditorPane.setEditorKitForContentType(String, EditorKit) through queuepublic void setPage(java.lang.String string)
JEditorPane.setPage(String) through queuepublic void setPage(java.net.URL uRL)
JEditorPane.setPage(URL) through queue