Package org.netbeans.jemmy.operators
Class Operator.Finder
java.lang.Object
org.netbeans.jemmy.operators.Operator.Finder
- All Implemented Interfaces:
ComponentChooser
- Direct Known Subclasses:
AbstractButtonOperator.AbstractButtonFinder,ButtonOperator.ButtonFinder,CheckboxOperator.CheckboxFinder,ChoiceOperator.ChoiceFinder,ContainerOperator.ContainerFinder,DialogOperator.DialogFinder,FrameOperator.FrameFinder,JButtonOperator.JButtonFinder,JCheckBoxMenuItemOperator.JCheckBoxMenuItemFinder,JCheckBoxOperator.JCheckBoxFinder,JColorChooserOperator.JColorChooserFinder,JComboBoxOperator.JComboBoxFinder,JComponentOperator.JComponentFinder,JDialogOperator.JDialogFinder,JEditorPaneOperator.JEditorPaneFinder,JFileChooserOperator.JFileChooserFinder,JFrameOperator.JFrameFinder,JLabelOperator.JLabelFinder,JListOperator.JListFinder,JMenuBarOperator.JMenuBarFinder,JMenuItemOperator.JMenuItemFinder,JMenuOperator.JMenuFinder,JPasswordFieldOperator.JPasswordFieldFinder,JPopupMenuOperator.JPopupMenuFinder,JProgressBarOperator.JProgressBarFinder,JRadioButtonMenuItemOperator.JRadioButtonMenuItemFinder,JRadioButtonOperator.JRadioButtonFinder,JScrollBarOperator.JScrollBarFinder,JScrollPaneOperator.JScrollPaneFinder,JSliderOperator.JSliderFinder,JSpinnerOperator.JSpinnerFinder,JSplitPaneOperator.JSplitPaneFinder,JTabbedPaneOperator.JTabbedPaneFinder,JTableOperator.JTableFinder,JTextAreaOperator.JTextAreaFinder,JTextComponentOperator.JTextComponentFinder,JTextFieldOperator.JTextFieldFinder,JTextPaneOperator.JTextPaneFinder,JToggleButtonOperator.JToggleButtonFinder,JTreeOperator.JTreeFinder,LabelOperator.LabelFinder,ListOperator.ListFinder,ScrollbarOperator.ScrollbarFinder,ScrollPaneOperator.ScrollPaneFinder,TextAreaOperator.TextAreaFinder,TextComponentOperator.TextComponentFinder,TextFieldOperator.TextFieldFinder
- Enclosing class:
Operator
Allows to bind a compponent by a component type.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs Finder.Finder(Class clz, ComponentChooser subchooser) Constructs Finder. -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckComponent(Component comp) Check if the component argument meets the search criteria.Returns searched component description.
-
Constructor Details
-
Finder
Constructs Finder.- Parameters:
clz- a component class.subchooser- other searching criteria.
-
Finder
Constructs Finder.- Parameters:
clz- a component class.
-
-
Method Details
-
checkComponent
Description copied from interface:ComponentChooserCheck if the component argument meets the search criteria.- Specified by:
checkComponentin interfaceComponentChooser- Parameters:
comp- Component to check.- Returns:
truewhen the component conforms to the search criteria;falseotherwise.
-
getDescription
Description copied from interface:ComponentChooserReturns searched component description.- Specified by:
getDescriptionin interfaceComponentChooser- Returns:
- a String representing the description value
-