|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.jemmy.operators.Operator
org.netbeans.jemmy.operators.ComponentOperator
org.netbeans.jemmy.operators.ContainerOperator
org.netbeans.jemmy.operators.JComponentOperator
org.netbeans.jemmy.operators.JTextComponentOperator
org.netbeans.jemmy.operators.JEditorPaneOperator
org.netbeans.jemmy.operators.JTextPaneOperator
public class JTextPaneOperator
Timeouts used:
JTextComponentOperator.PushKeyTimeout - time between key pressing and releasing during text typing
JTextComponentOperator.BetweenKeysTimeout - time to sleep between two chars typing
JTextComponentOperator.ChangeCaretPositionTimeout - maximum time to chenge caret position
JTextComponentOperator.TypeTextTimeout - maximum time to type text
ComponentOperator.WaitComponentTimeout - time to wait component displayed
ComponentOperator.WaitFocusTimeout - time to wait component focus
JScrollBarOperator.OneScrollClickTimeout - time for one scroll click
JScrollBarOperator.WholeScrollTimeout - time for the whole scrolling
.
Timeouts
Nested Class Summary | |
---|---|
static class |
JTextPaneOperator.JTextPaneFinder
Checks component type. |
Nested classes/interfaces inherited from class org.netbeans.jemmy.operators.JEditorPaneOperator |
---|
JEditorPaneOperator.JEditorPaneFinder |
Nested classes/interfaces inherited from class org.netbeans.jemmy.operators.JTextComponentOperator |
---|
JTextComponentOperator.JTextComponentByTextFinder, JTextComponentOperator.JTextComponentFinder, JTextComponentOperator.NoSuchTextException, JTextComponentOperator.TextChooser |
Nested classes/interfaces inherited from class org.netbeans.jemmy.operators.JComponentOperator |
---|
JComponentOperator.JComponentByTipFinder, JComponentOperator.JComponentFinder |
Nested classes/interfaces inherited from class org.netbeans.jemmy.operators.ContainerOperator |
---|
ContainerOperator.ContainerFinder |
Nested classes/interfaces inherited from class org.netbeans.jemmy.operators.Operator |
---|
Operator.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 |
Field Summary |
---|
Fields inherited from class org.netbeans.jemmy.operators.JEditorPaneOperator |
---|
CONTENT_TYPE_DPROP |
Fields inherited from class org.netbeans.jemmy.operators.JTextComponentOperator |
---|
IS_EDITABLE_DPROP, modifiersPressed, SELECTED_TEXT_DPROP, TEXT_DPROP |
Fields inherited from class org.netbeans.jemmy.operators.JComponentOperator |
---|
A11Y_DATA, A11Y_DESCRIPTION_DPROP, A11Y_NAME_DPROP, TOOLTIP_TEXT_DPROP |
Fields inherited from class org.netbeans.jemmy.operators.ComponentOperator |
---|
HEIGHT_DPROP, IS_SHOWING_DPROP, IS_VISIBLE_DPROP, NAME_DPROP, WIDTH_DPROP, X_DPROP, Y_DPROP |
Fields inherited from class org.netbeans.jemmy.operators.Operator |
---|
CLASS_DPROP, TO_STRING_DPROP |
Constructor Summary | |
---|---|
JTextPaneOperator(ContainerOperator cont)
Constructor. |
|
JTextPaneOperator(ContainerOperator cont,
ComponentChooser chooser)
Constructs a JTextPaneOperator object. |
|
JTextPaneOperator(ContainerOperator cont,
ComponentChooser chooser,
int index)
Constructs a JTextPaneOperator object. |
|
JTextPaneOperator(ContainerOperator cont,
int index)
Constructor. |
|
JTextPaneOperator(ContainerOperator cont,
java.lang.String text)
Constructor. |
|
JTextPaneOperator(ContainerOperator cont,
java.lang.String text,
int index)
Constructor. |
|
JTextPaneOperator(javax.swing.JTextPane b)
Constructor. |
Method Summary | |
---|---|
javax.swing.text.Style |
addStyle(java.lang.String string,
javax.swing.text.Style style)
Maps JTextPane.addStyle(String, Style) through queue |
static javax.swing.JTextPane |
findJTextPane(java.awt.Container cont,
ComponentChooser chooser)
Searches JTextPane in container. |
static javax.swing.JTextPane |
findJTextPane(java.awt.Container cont,
ComponentChooser chooser,
int index)
Searches JTextPane in container. |
static javax.swing.JTextPane |
findJTextPane(java.awt.Container cont,
java.lang.String text,
boolean ce,
boolean ccs)
Searches JTextPane by text. |
static javax.swing.JTextPane |
findJTextPane(java.awt.Container cont,
java.lang.String text,
boolean ce,
boolean ccs,
int index)
Searches JTextPane by text. |
javax.swing.text.AttributeSet |
getCharacterAttributes()
Maps JTextPane.getCharacterAttributes() through queue |
javax.swing.text.MutableAttributeSet |
getInputAttributes()
Maps JTextPane.getInputAttributes() through queue |
javax.swing.text.Style |
getLogicalStyle()
Maps JTextPane.getLogicalStyle() through queue |
javax.swing.text.AttributeSet |
getParagraphAttributes()
Maps JTextPane.getParagraphAttributes() through queue |
javax.swing.text.Style |
getStyle(java.lang.String string)
Maps JTextPane.getStyle(String) through queue |
javax.swing.text.StyledDocument |
getStyledDocument()
Maps JTextPane.getStyledDocument() through queue |
void |
insertComponent(java.awt.Component component)
Maps JTextPane.insertComponent(Component) through queue |
void |
insertIcon(javax.swing.Icon icon)
Maps JTextPane.insertIcon(Icon) through queue |
void |
removeStyle(java.lang.String string)
Maps JTextPane.removeStyle(String) through queue |
void |
setCharacterAttributes(javax.swing.text.AttributeSet attributeSet,
boolean b)
Maps JTextPane.setCharacterAttributes(AttributeSet, boolean) through queue |
void |
setLogicalStyle(javax.swing.text.Style style)
Maps JTextPane.setLogicalStyle(Style) through queue |
void |
setParagraphAttributes(javax.swing.text.AttributeSet attributeSet,
boolean b)
Maps JTextPane.setParagraphAttributes(AttributeSet, boolean) through queue |
void |
setStyledDocument(javax.swing.text.StyledDocument styledDocument)
Maps JTextPane.setStyledDocument(StyledDocument) through queue |
static javax.swing.JTextPane |
waitJTextPane(java.awt.Container cont,
ComponentChooser chooser)
Waits JTextPane in container. |
static javax.swing.JTextPane |
waitJTextPane(java.awt.Container cont,
ComponentChooser chooser,
int index)
Waits JTextPane in container. |
static javax.swing.JTextPane |
waitJTextPane(java.awt.Container cont,
java.lang.String text,
boolean ce,
boolean ccs)
Waits JTextPane by text. |
static javax.swing.JTextPane |
waitJTextPane(java.awt.Container cont,
java.lang.String text,
boolean ce,
boolean ccs,
int index)
Waits JTextPane by text. |
Methods inherited from class org.netbeans.jemmy.operators.JEditorPaneOperator |
---|
addHyperlinkListener, findJEditorPane, findJEditorPane, findJEditorPane, findJEditorPane, fireHyperlinkUpdate, getContentType, getDump, getEditorKit, getEditorKitForContentType, getPage, read, removeHyperlinkListener, setContentType, setEditorKit, setEditorKitForContentType, setPage, setPage, usePageNavigationKeys, waitJEditorPane, waitJEditorPane, waitJEditorPane, waitJEditorPane |
Methods inherited from class org.netbeans.jemmy.operators.ContainerOperator |
---|
add, 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, waitSubComponent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JTextPaneOperator(javax.swing.JTextPane b)
b
- a componentpublic JTextPaneOperator(ContainerOperator cont, ComponentChooser chooser, int index)
cont
- a containerchooser
- a component chooser specifying searching criteria.index
- an index between appropriate ones.public JTextPaneOperator(ContainerOperator cont, ComponentChooser chooser)
cont
- a containerchooser
- a component chooser specifying searching criteria.public JTextPaneOperator(ContainerOperator cont, java.lang.String text, int index)
cont
- a containertext
- Button text.index
- Ordinal component index.Operator.isCaptionEqual(String, String, boolean, boolean)
public JTextPaneOperator(ContainerOperator cont, java.lang.String text)
cont
- a containertext
- Button text.Operator.isCaptionEqual(String, String, boolean, boolean)
public JTextPaneOperator(ContainerOperator cont, int index)
cont
- a containerindex
- Ordinal component index.public JTextPaneOperator(ContainerOperator cont)
cont
- a containerMethod Detail |
---|
public static javax.swing.JTextPane findJTextPane(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.JTextPane findJTextPane(java.awt.Container cont, ComponentChooser chooser)
cont
- Container to search component in.chooser
- a component chooser specifying searching criteria.
public static javax.swing.JTextPane findJTextPane(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.JTextPane findJTextPane(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.JTextPane waitJTextPane(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.JTextPane waitJTextPane(java.awt.Container cont, ComponentChooser chooser)
cont
- Container to search component in.chooser
- a component chooser specifying searching criteria.
public static javax.swing.JTextPane waitJTextPane(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.JTextPane waitJTextPane(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 javax.swing.text.Style addStyle(java.lang.String string, javax.swing.text.Style style)
JTextPane.addStyle(String, Style)
through queue
public javax.swing.text.AttributeSet getCharacterAttributes()
JTextPane.getCharacterAttributes()
through queue
public javax.swing.text.MutableAttributeSet getInputAttributes()
JTextPane.getInputAttributes()
through queue
public javax.swing.text.Style getLogicalStyle()
JTextPane.getLogicalStyle()
through queue
public javax.swing.text.AttributeSet getParagraphAttributes()
JTextPane.getParagraphAttributes()
through queue
public javax.swing.text.Style getStyle(java.lang.String string)
JTextPane.getStyle(String)
through queue
public javax.swing.text.StyledDocument getStyledDocument()
JTextPane.getStyledDocument()
through queue
public void insertComponent(java.awt.Component component)
JTextPane.insertComponent(Component)
through queue
public void insertIcon(javax.swing.Icon icon)
JTextPane.insertIcon(Icon)
through queue
public void removeStyle(java.lang.String string)
JTextPane.removeStyle(String)
through queue
public void setCharacterAttributes(javax.swing.text.AttributeSet attributeSet, boolean b)
JTextPane.setCharacterAttributes(AttributeSet, boolean)
through queue
public void setLogicalStyle(javax.swing.text.Style style)
JTextPane.setLogicalStyle(Style)
through queue
public void setParagraphAttributes(javax.swing.text.AttributeSet attributeSet, boolean b)
JTextPane.setParagraphAttributes(AttributeSet, boolean)
through queue
public void setStyledDocument(javax.swing.text.StyledDocument styledDocument)
JTextPane.setStyledDocument(StyledDocument)
through queue
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |