Package org.netbeans.jemmy
Interface ComponentChooser
-
- All Known Subinterfaces:
WindowJob
- All Known Implementing Classes:
AbstractButtonOperator.AbstractButtonByLabelFinder,AbstractButtonOperator.AbstractButtonFinder,AccessibilityChooser,AccessibleDescriptionChooser,AccessibleNameChooser,ButtonOperator.ButtonByLabelFinder,ButtonOperator.ButtonFinder,CheckboxOperator.CheckboxByLabelFinder,CheckboxOperator.CheckboxFinder,ChoiceOperator.ChoiceBySelectedItemFinder,ChoiceOperator.ChoiceFinder,ContainerOperator.ContainerFinder,DialogOperator.DialogByTitleFinder,DialogOperator.DialogFinder,FrameOperator.FrameByTitleFinder,FrameOperator.FrameFinder,JButtonOperator.JButtonFinder,JCheckBoxMenuItemOperator.JCheckBoxMenuItemByLabelFinder,JCheckBoxMenuItemOperator.JCheckBoxMenuItemFinder,JCheckBoxOperator.JCheckBoxFinder,JColorChooserOperator.JColorChooserFinder,JComboBoxOperator.JComboBoxByItemFinder,JComboBoxOperator.JComboBoxFinder,JComponentOperator.JComponentByTipFinder,JComponentOperator.JComponentFinder,JDialogOperator.JDialogFinder,JEditorPaneOperator.JEditorPaneFinder,JFileChooserOperator.JFileChooserFinder,JFileChooserOperator.JFileChooserJDialogFinder,JFrameOperator.JFrameFinder,JInternalFrameOperator.JInternalFrameByTitleFinder,JInternalFrameOperator.JInternalFrameFinder,JLabelOperator.JLabelByLabelFinder,JLabelOperator.JLabelFinder,JListOperator.JListByItemFinder,JListOperator.JListFinder,JMenuBarOperator.JMenuBarFinder,JMenuItemOperator.JMenuItemByLabelFinder,JMenuItemOperator.JMenuItemFinder,JMenuOperator.JMenuByLabelFinder,JMenuOperator.JMenuFinder,JPasswordFieldOperator.JPasswordFieldFinder,JPopupMenuOperator.JPopupMenuFinder,JPopupMenuOperator.JPopupWindowFinder,JProgressBarOperator.JProgressBarFinder,JRadioButtonMenuItemOperator.JRadioButtonMenuItemByLabelFinder,JRadioButtonMenuItemOperator.JRadioButtonMenuItemFinder,JRadioButtonOperator.JRadioButtonFinder,JScrollBarOperator.JScrollBarFinder,JScrollPaneOperator.JScrollPaneFinder,JSliderOperator.JSliderFinder,JSpinnerOperator.JSpinnerByTextFinder,JSpinnerOperator.JSpinnerFinder,JSplitPaneOperator.JSplitPaneFinder,JTabbedPaneOperator.JTabbedPaneByItemFinder,JTabbedPaneOperator.JTabbedPaneFinder,JTableHeaderOperator.JTableHeaderFinder,JTableOperator.JTableByCellFinder,JTableOperator.JTableFinder,JTextAreaOperator.JTextAreaFinder,JTextComponentOperator.JTextComponentByTextFinder,JTextComponentOperator.JTextComponentFinder,JTextFieldOperator.JTextFieldFinder,JTextPaneOperator.JTextPaneFinder,JToggleButtonOperator.JToggleButtonFinder,JTreeOperator.JTreeByItemFinder,JTreeOperator.JTreeFinder,LabelOperator.LabelByLabelFinder,LabelOperator.LabelFinder,ListOperator.ListByItemFinder,ListOperator.ListFinder,NameComponentChooser,Operator.Finder,PropChooser,ScrollbarOperator.ScrollbarFinder,ScrollPaneOperator.ScrollPaneFinder,StringPropChooser,TextAreaOperator.TextAreaByTextFinder,TextAreaOperator.TextAreaFinder,TextComponentOperator.TextComponentByTextFinder,TextComponentOperator.TextComponentFinder,TextFieldOperator.TextFieldByTextFinder,TextFieldOperator.TextFieldFinder,WindowManager.ModalDialogChoosingJob
public interface ComponentChooserThis interface should be implemented to define the criteria used to search for a component.- Author:
- Alexandre Iline (alexandre.iline@sun.com)
- See Also:
ComponentSearcher,WindowWaiter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancheckComponent(java.awt.Component comp)Check if the component argument meets the search criteria.java.lang.StringgetDescription()Returns searched component description.
-
-
-
Method Detail
-
checkComponent
boolean checkComponent(java.awt.Component comp)
Check if the component argument meets the search criteria.- Parameters:
comp- Component to check.- Returns:
truewhen the component conforms to the search criteria;falseotherwise.
-
getDescription
java.lang.String getDescription()
Returns searched component description.- Returns:
- a String representing the description value
-
-