|
|||||||||
| 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.AbstractButtonOperator
org.netbeans.jemmy.operators.JToggleButtonOperator
org.netbeans.jemmy.operators.JCheckBoxOperator
public class JCheckBoxOperator
Timeouts used:
AbstractButtonOperator.PushButtonTimeout - time between button pressing and releasing
ComponentOperator.WaitComponentTimeout - time to wait button displayed
ComponentOperator.WaitComponentEnabledTimeout - time to wait button enabled
.
Timeouts| Nested Class Summary | |
|---|---|
static class |
JCheckBoxOperator.JCheckBoxFinder
Checks component type. |
| Nested classes/interfaces inherited from class org.netbeans.jemmy.operators.JToggleButtonOperator |
|---|
JToggleButtonOperator.JToggleButtonFinder |
| Nested classes/interfaces inherited from class org.netbeans.jemmy.operators.AbstractButtonOperator |
|---|
AbstractButtonOperator.AbstractButtonByLabelFinder, AbstractButtonOperator.AbstractButtonFinder |
| 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.MapDoubleAction, Operator.MapFloatAction, Operator.MapCharacterAction, Operator.MapIntegerAction, Operator.MapLongAction, Operator.MapVoidAction, Operator.NoBlockingAction, Operator.PathParser, Operator.StringComparator |
| Field Summary |
|---|
| Fields inherited from class org.netbeans.jemmy.operators.AbstractButtonOperator |
|---|
IS_SELECTED_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 | |
|---|---|
JCheckBoxOperator(ContainerOperator cont)
Constructor. |
|
JCheckBoxOperator(ContainerOperator cont,
ComponentChooser chooser)
Constructs a JCheckBoxOperator object. |
|
JCheckBoxOperator(ContainerOperator cont,
ComponentChooser chooser,
int index)
Constructs a JCheckBoxOperator object. |
|
JCheckBoxOperator(ContainerOperator cont,
int index)
Constructor. |
|
JCheckBoxOperator(ContainerOperator cont,
java.lang.String text)
Constructor. |
|
JCheckBoxOperator(ContainerOperator cont,
java.lang.String text,
int index)
Constructor. |
|
JCheckBoxOperator(javax.swing.JCheckBox b)
Constructor. |
|
| Method Summary | |
|---|---|
static javax.swing.JCheckBox |
findJCheckBox(java.awt.Container cont,
ComponentChooser chooser)
Searches 0'th JCheckBox in container. |
static javax.swing.JCheckBox |
findJCheckBox(java.awt.Container cont,
ComponentChooser chooser,
int index)
Searches JCheckBox in container. |
static javax.swing.JCheckBox |
findJCheckBox(java.awt.Container cont,
java.lang.String text,
boolean ce,
boolean ccs)
Searches JCheckBox by text. |
static javax.swing.JCheckBox |
findJCheckBox(java.awt.Container cont,
java.lang.String text,
boolean ce,
boolean ccs,
int index)
Searches JCheckBox by text. |
static javax.swing.JCheckBox |
waitJCheckBox(java.awt.Container cont,
ComponentChooser chooser)
Waits 0'th JCheckBox in container. |
static javax.swing.JCheckBox |
waitJCheckBox(java.awt.Container cont,
ComponentChooser chooser,
int index)
Waits JCheckBox in container. |
static javax.swing.JCheckBox |
waitJCheckBox(java.awt.Container cont,
java.lang.String text,
boolean ce,
boolean ccs)
Waits JCheckBox by text. |
static javax.swing.JCheckBox |
waitJCheckBox(java.awt.Container cont,
java.lang.String text,
boolean ce,
boolean ccs,
int index)
Waits JCheckBox by text. |
| Methods inherited from class org.netbeans.jemmy.operators.JToggleButtonOperator |
|---|
findJToggleButton, findJToggleButton, findJToggleButton, findJToggleButton, prepareToClick, waitJToggleButton, waitJToggleButton, waitJToggleButton, waitJToggleButton |
| 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 JCheckBoxOperator(javax.swing.JCheckBox b)
b - a component
public JCheckBoxOperator(ContainerOperator cont,
ComponentChooser chooser,
int index)
cont - a containerchooser - a component chooser specifying searching criteria.index - an index between appropriate ones.
public JCheckBoxOperator(ContainerOperator cont,
ComponentChooser chooser)
cont - a containerchooser - a component chooser specifying searching criteria.
public JCheckBoxOperator(ContainerOperator cont,
java.lang.String text,
int index)
cont - a containertext - Button text.index - Ordinal component index.
TimeoutExpiredExceptionOperator.isCaptionEqual(String, String, boolean, boolean)
public JCheckBoxOperator(ContainerOperator cont,
java.lang.String text)
cont - a containertext - Button text.
TimeoutExpiredExceptionOperator.isCaptionEqual(String, String, boolean, boolean)
public JCheckBoxOperator(ContainerOperator cont,
int index)
cont - a containerindex - Ordinal component index.
TimeoutExpiredExceptionpublic JCheckBoxOperator(ContainerOperator cont)
cont - a container
TimeoutExpiredException| Method Detail |
|---|
public static javax.swing.JCheckBox findJCheckBox(java.awt.Container cont,
ComponentChooser chooser,
int index)
cont - Container to search component in.chooser - org.netbeans.jemmy.ComponentChooser implementation.index - Ordinal component index.
public static javax.swing.JCheckBox findJCheckBox(java.awt.Container cont,
ComponentChooser chooser)
cont - Container to search component in.chooser - org.netbeans.jemmy.ComponentChooser implementation.
public static javax.swing.JCheckBox findJCheckBox(java.awt.Container cont,
java.lang.String text,
boolean ce,
boolean ccs,
int index)
cont - Container to search component in.text - Button text. If null, contents is not checked.ce - Compare text exactly.ccs - Compare text case sensitively.index - Ordinal component index.
Operator.isCaptionEqual(String, String, boolean, boolean)
public static javax.swing.JCheckBox findJCheckBox(java.awt.Container cont,
java.lang.String text,
boolean ce,
boolean ccs)
cont - Container to search component in.text - Button text. If null, contents is not checked.ce - Compare text exactly.ccs - Compare text case sensitively.
Operator.isCaptionEqual(String, String, boolean, boolean)
public static javax.swing.JCheckBox waitJCheckBox(java.awt.Container cont,
ComponentChooser chooser,
int index)
cont - Container to search component in.chooser - org.netbeans.jemmy.ComponentChooser implementation.index - Ordinal component index.
TimeoutExpiredException
public static javax.swing.JCheckBox waitJCheckBox(java.awt.Container cont,
ComponentChooser chooser)
cont - Container to search component in.chooser - org.netbeans.jemmy.ComponentChooser implementation.
TimeoutExpiredException
public static javax.swing.JCheckBox waitJCheckBox(java.awt.Container cont,
java.lang.String text,
boolean ce,
boolean ccs,
int index)
cont - Container to search component in.text - Button text. If null, contents is not checked.ce - Compare text exactly.ccs - Compare text case sensitively.index - Ordinal component index.
TimeoutExpiredExceptionOperator.isCaptionEqual(String, String, boolean, boolean)
public static javax.swing.JCheckBox waitJCheckBox(java.awt.Container cont,
java.lang.String text,
boolean ce,
boolean ccs)
cont - Container to search component in.text - Button text. If null, contents is not checked.ce - Compare text exactly.ccs - Compare text case sensitively.
TimeoutExpiredExceptionOperator.isCaptionEqual(String, String, boolean, boolean)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||