| java.lang.Object org.netbeans.jemmy.operators.Operator org.netbeans.jemmy.operators.ComponentOperator org.netbeans.jemmy.operators.ContainerOperator org.netbeans.jemmy.operators.JComponentOperator org.netbeans.jemmy.operators.JFileChooserOperator
JFileChooserOperator | public class JFileChooserOperator extends JComponentOperator implements Timeoutable,Outputable(Code) | | Class provides methods to cover main JFileChooser component functionality.
author: Alexandre Iline (alexandre.iline@sun.com) |
Inner Class :public static class JFileChooserJDialogFinder implements ComponentChooser | |
Inner Class :public static class JFileChooserFinder extends Finder | |
Method Summary | |
public boolean | accept(File file) | public void | addActionListener(ActionListener actionListener) | public void | addChoosableFileFilter(FileFilter fileFilter) | public void | approve() Pushes approve button. | public void | approveSelection() | public void | cancel() Pushes cancel button. | public void | cancelSelection() | public void | changeToParentDirectory() | public boolean | checkFileDisplayed(String file, StringComparator comparator) Checks if file is currently displayed in the list.
Parameters: file - File name (foo.c). | public boolean | checkFileDisplayed(String file, boolean ce, boolean cc) Checks if file is currently displayed in the list.
Parameters: file - File name (foo.c). | public boolean | checkFileDisplayed(String file) Checks if file is currently displayed in the list.
Parameters: file - File name (foo.c). | public void | chooseFile(String fileName) Types file name into text field and pushes approve button. | public void | clickOnFile(int index, int clickCount) Clicks on file in the list. | public void | clickOnFile(String file, StringComparator comparator, int clickCount) Clicks on file in the list.
Parameters: file - File name (foo.c). | public void | clickOnFile(String file, boolean ce, boolean cc, int clickCount) Clicks on file in the list.
Parameters: file - File name (foo.c). | public void | clickOnFile(String file, int clickCount) Clicks on file in the list.
Parameters: file - File name (foo.c). | public void | clickOnFile(String file, StringComparator comparator) Clicks on file in the list.
Parameters: file - File name (foo.c). | public void | clickOnFile(String file, boolean ce, boolean cc) Clicks 1 time on file in the list.
Parameters: file - File name (foo.c). | public void | clickOnFile(String file) Clicks 1 time on file in the list.
Parameters: file - File name (foo.c). | public void | ensureFileIsVisible(File file) | public File | enterSubDir(String dir, StringComparator comparator) Enters into subdirectory. | public File | enterSubDir(String dir, boolean ce, boolean cc) Enters into subdir curently displayed in the list.
Parameters: dir - Directory name (tmp1). | public File | enterSubDir(String dir) Enters into subdir curently displayed in the list.
Parameters: dir - Directory name (tmp1). | public static JFileChooser | findJFileChooser(Container cont) Searches JFileChooser in container. | public static JFileChooser | findJFileChooser() Searches currently opened JFileChooser. | public static JDialog | findJFileChooserDialog() Searches currently opened JDilog with JFileChooser inside. | public FileFilter | getAcceptAllFileFilter() | public JComponent | getAccessory() | public JButton | getApproveButton() Returns approve button. | public int | getApproveButtonMnemonic() | public String | getApproveButtonText() | public String | getApproveButtonToolTipText() | public JButton | getCancelButton() Returns cancel button. | public FileFilter[] | getChoosableFileFilters() | public File | getCurrentDirectory() | public String | getDescription(File file) | public JToggleButton | getDetailsToggleButton() Returns a toggle button being used to switch to detals view. | public String | getDialogTitle() | public int | getDialogType() | public int | getFileCount() Return count of files currently displayed. | public FileFilter | getFileFilter() | public JList | getFileList() Returns file list. | public int | getFileSelectionMode() | public FileSystemView | getFileSystemView() | public JComboBox | getFileTypesCombo() Returns combo box containing file types (lower). | public FileView | getFileView() | public File[] | getFiles() Return files currently displayed. | public JButton | getHomeButton() Returns "Home" button. | public Icon | getIcon(File file) | public JToggleButton | getListToggleButton() Returns a toggle button being used to switch to list view. | public String | getName(File file) | public TestOut | getOutput() | public JComboBox | getPathCombo() Returns combo box containing path (upper). | public JTextField | getPathField() Returns field which can be used to type path. | public File | getSelectedFile() | public File[] | getSelectedFiles() | public Timeouts | getTimeouts() | public String | getTypeDescription(File file) | public FileChooserUI | getUI() | public JButton | getUpLevelButton() Returns "Up One Level" button. | public File | goHome() Pushes "Home" button. | public File | goUpLevel() Pushes "Up One Level" button. | public boolean | isDirectorySelectionEnabled() | public boolean | isFileHidingEnabled() | public boolean | isFileSelectionEnabled() | public boolean | isMultiSelectionEnabled() | public boolean | isTraversable(File file) | public void | removeActionListener(ActionListener actionListener) | public boolean | removeChoosableFileFilter(FileFilter fileFilter) | public void | rescanCurrentDirectory() | public void | resetChoosableFileFilters() | public void | selectFile(String file, StringComparator comparator) Selects a file curently in the list.
Parameters: file - File name (foo.c). | public void | selectFile(String file, boolean ce, boolean cc) Selects a file curently in the list.
Parameters: file - File name (foo.c). | public void | selectFile(String file) Selects a file curently in the list.
Parameters: file - File name (foo.c). | public void | selectFileType(String filter, StringComparator comparator) Selects file type from the combo box below. | public void | selectFileType(String filter, boolean ce, boolean cc) Selects file type from the combo box below.
Parameters: filter - a pattern for choosing a file type. Parameters: ce - Compare exactly. | public void | selectFileType(String filter) Selects file type from the combo box below. | public void | selectPathDirectory(String dir, StringComparator comparator) Selects directory from the combo box above.
Parameters: dir - Directory name (tmp1). | public void | selectPathDirectory(String dir, boolean ce, boolean cc) Selects directory from the combo box above.
Parameters: dir - Directory name (tmp1). | public void | selectPathDirectory(String dir) Selects directory from the combo box above.
Parameters: dir - Directory name (tmp1). | public void | setAccessory(JComponent jComponent) | public void | setApproveButtonMnemonic(char c) | public void | setApproveButtonMnemonic(int i) | public void | setApproveButtonText(String string) | public void | setApproveButtonToolTipText(String string) | public void | setCurrentDirectory(File file) | public void | setDialogTitle(String string) | public void | setDialogType(int i) | public void | setFileFilter(FileFilter fileFilter) | public void | setFileHidingEnabled(boolean b) | public void | setFileSelectionMode(int i) | public void | setFileSystemView(FileSystemView fileSystemView) | public void | setFileView(FileView fileView) | public void | setMultiSelectionEnabled(boolean b) | public void | setOutput(TestOut out) | public void | setSelectedFile(File file) | public void | setSelectedFiles(File[] file) | public void | setTimeouts(Timeouts timeouts) | public int | showDialog(Component component, String string) | public int | showOpenDialog(Component component) | public int | showSaveDialog(Component component) | public void | waitFileCount(int count) Waits for the file list to have required number of items. | public void | waitFileDisplayed(String fileName) Waits for a file to be displayed in the file list. | public static JFileChooser | waitJFileChooser(Container cont) Searches JFileChooser in container. | public static JFileChooser | waitJFileChooser() Waits currently opened JFileChooser. | public static JDialog | waitJFileChooserDialog() Waits currently opened JDilog with JFileChooser inside. |
JFileChooserOperator | public JFileChooserOperator(JFileChooser comp)(Code) | | Constructor.
Parameters: comp - a component |
JFileChooserOperator | public JFileChooserOperator(Operator env)(Code) | | Constructor.
Waits component first.
Constructor can be used in complicated cases when
output or timeouts should differ from default.
Parameters: env - an operator to get environment from. |
JFileChooserOperator | public JFileChooserOperator()(Code) | | Constructor.
Waits component first.
|
accept | public boolean accept(File file)(Code) | | Maps JFileChooser.accept(File) through queue
|
addActionListener | public void addActionListener(ActionListener actionListener)(Code) | | Maps JFileChooser.addActionListener(ActionListener) through queue
|
addChoosableFileFilter | public void addChoosableFileFilter(FileFilter fileFilter)(Code) | | Maps JFileChooser.addChoosableFileFilter(FileFilter) through queue
|
approve | public void approve()(Code) | | Pushes approve button.
|
approveSelection | public void approveSelection()(Code) | | Maps JFileChooser.approveSelection() through queue
|
cancel | public void cancel()(Code) | | Pushes cancel button.
|
cancelSelection | public void cancelSelection()(Code) | | Maps JFileChooser.cancelSelection() through queue
|
changeToParentDirectory | public void changeToParentDirectory()(Code) | | Maps JFileChooser.changeToParentDirectory() through queue
|
checkFileDisplayed | public boolean checkFileDisplayed(String file, StringComparator comparator)(Code) | | Checks if file is currently displayed in the list.
Parameters: file - File name (foo.c). Do not use full path (/tmp/foo.c) here. Parameters: comparator - a comparator defining string comparision criteria true if file is displayed. |
checkFileDisplayed | public boolean checkFileDisplayed(String file, boolean ce, boolean cc)(Code) | | Checks if file is currently displayed in the list.
Parameters: file - File name (foo.c). Do not use full path (/tmp/foo.c) here. Parameters: ce - Compare exactly. If true, text can be a substring of caption. Parameters: cc - Compare case sensitively. If true, both text and caption are true if file is displayed. |
checkFileDisplayed | public boolean checkFileDisplayed(String file)(Code) | | Checks if file is currently displayed in the list.
Parameters: file - File name (foo.c). Do not use full path (/tmp/foo.c) here. true if file is displayed. |
chooseFile | public void chooseFile(String fileName)(Code) | | Types file name into text field and pushes approve button.
Parameters: fileName - a file to choose. |
clickOnFile | public void clickOnFile(int index, int clickCount)(Code) | | Clicks on file in the list.
Parameters: index - Ordinal file index. Parameters: clickCount - click count |
clickOnFile | public void clickOnFile(String file, StringComparator comparator, int clickCount)(Code) | | Clicks on file in the list.
Parameters: file - File name (foo.c). Do not use full path (/tmp/foo.c) here. Parameters: comparator - a comparator defining string comparision criteria Parameters: clickCount - click count |
clickOnFile | public void clickOnFile(String file, boolean ce, boolean cc, int clickCount)(Code) | | Clicks on file in the list.
Parameters: file - File name (foo.c). Do not use full path (/tmp/foo.c) here. Parameters: ce - Compare exactly. If true, text can be a substring of caption. Parameters: cc - Compare case sensitively. If true, both text and caption are Parameters: clickCount - click count See Also: ComponentOperator.isCaptionEqual(StringStringbooleanboolean) |
ensureFileIsVisible | public void ensureFileIsVisible(File file)(Code) | | Maps JFileChooser.ensureFileIsVisible(File) through queue
|
enterSubDir | public File enterSubDir(String dir, StringComparator comparator)(Code) | | Enters into subdirectory.
Parameters: dir - A directory to enter into. Parameters: comparator - a comparator defining string comparision criteria new current directory |
enterSubDir | public File enterSubDir(String dir, boolean ce, boolean cc)(Code) | | Enters into subdir curently displayed in the list.
Parameters: dir - Directory name (tmp1). Do not use full path (/tmp/tmp1) here. Parameters: ce - Compare exactly. If true, text can be a substring of caption. Parameters: cc - Compare case sensitively. If true, both text and caption are new current directory See Also: JFileChooserOperator.clickOnFile |
enterSubDir | public File enterSubDir(String dir)(Code) | | Enters into subdir curently displayed in the list.
Parameters: dir - Directory name (tmp1). Do not use full path (/tmp/tmp1) here. new current directory See Also: JFileChooserOperator.clickOnFile |
findJFileChooser | public static JFileChooser findJFileChooser(Container cont)(Code) | | Searches JFileChooser in container.
Parameters: cont - a container a component instance |
findJFileChooser | public static JFileChooser findJFileChooser()(Code) | | Searches currently opened JFileChooser.
a component instance |
findJFileChooserDialog | public static JDialog findJFileChooserDialog()(Code) | | Searches currently opened JDilog with JFileChooser inside.
a component instance |
getAcceptAllFileFilter | public FileFilter getAcceptAllFileFilter()(Code) | | Maps JFileChooser.getAcceptAllFileFilter() through queue
|
getAccessory | public JComponent getAccessory()(Code) | | Maps JFileChooser.getAccessory() through queue
|
getApproveButton | public JButton getApproveButton()(Code) | | Returns approve button.
an approve button. |
getApproveButtonMnemonic | public int getApproveButtonMnemonic()(Code) | | Maps JFileChooser.getApproveButtonMnemonic() through queue
|
getApproveButtonText | public String getApproveButtonText()(Code) | | Maps JFileChooser.getApproveButtonText() through queue
|
getApproveButtonToolTipText | public String getApproveButtonToolTipText()(Code) | | Maps JFileChooser.getApproveButtonToolTipText() through queue
|
getCancelButton | public JButton getCancelButton()(Code) | | Returns cancel button.
a cancel button. |
getChoosableFileFilters | public FileFilter[] getChoosableFileFilters()(Code) | | Maps JFileChooser.getChoosableFileFilters() through queue
|
getCurrentDirectory | public File getCurrentDirectory()(Code) | | Maps JFileChooser.getCurrentDirectory() through queue
|
getDescription | public String getDescription(File file)(Code) | | Maps JFileChooser.getDescription(File) through queue
|
getDetailsToggleButton | public JToggleButton getDetailsToggleButton()(Code) | | Returns a toggle button being used to switch to detals view.
a "list mode" button. |
getDialogTitle | public String getDialogTitle()(Code) | | Maps JFileChooser.getDialogTitle() through queue
|
getDialogType | public int getDialogType()(Code) | | Maps JFileChooser.getDialogType() through queue
|
getFileCount | public int getFileCount()(Code) | | Return count of files currently displayed.
a number of items in the file list. |
getFileFilter | public FileFilter getFileFilter()(Code) | | Maps JFileChooser.getFileFilter() through queue
|
getFileList | public JList getFileList()(Code) | | Returns file list.
a list being used to display directory content. |
getFileSelectionMode | public int getFileSelectionMode()(Code) | | Maps JFileChooser.getFileSelectionMode() through queue
|
getFileSystemView | public FileSystemView getFileSystemView()(Code) | | Maps JFileChooser.getFileSystemView() through queue
|
getFileTypesCombo | public JComboBox getFileTypesCombo()(Code) | | Returns combo box containing file types (lower).
JComboBox being used to show file types. |
getFileView | public FileView getFileView()(Code) | | Maps JFileChooser.getFileView() through queue
|
getFiles | public File[] getFiles()(Code) | | Return files currently displayed.
an array of items from the file list. |
getHomeButton | public JButton getHomeButton()(Code) | | Returns "Home" button.
a "home" button. |
getIcon | public Icon getIcon(File file)(Code) | | Maps JFileChooser.getIcon(File) through queue
|
getListToggleButton | public JToggleButton getListToggleButton()(Code) | | Returns a toggle button being used to switch to list view.
a "list mode" button. |
getName | public String getName(File file)(Code) | | Maps JFileChooser.getName(File) through queue
|
getPathCombo | public JComboBox getPathCombo()(Code) | | Returns combo box containing path (upper).
JComboBox being used to show directories. |
getPathField | public JTextField getPathField()(Code) | | Returns field which can be used to type path.
a text field being used for path typing. |
getSelectedFile | public File getSelectedFile()(Code) | | Maps JFileChooser.getSelectedFile() through queue
|
getSelectedFiles | public File[] getSelectedFiles()(Code) | | Maps JFileChooser.getSelectedFiles() through queue
|
getTypeDescription | public String getTypeDescription(File file)(Code) | | Maps JFileChooser.getTypeDescription(File) through queue
|
getUpLevelButton | public JButton getUpLevelButton()(Code) | | Returns "Up One Level" button.
a "Up One Level" button. |
goHome | public File goHome()(Code) | | Pushes "Home" button.
new current directory |
goUpLevel | public File goUpLevel()(Code) | | Pushes "Up One Level" button.
new current directory |
isDirectorySelectionEnabled | public boolean isDirectorySelectionEnabled()(Code) | | Maps JFileChooser.isDirectorySelectionEnabled() through queue
|
isFileHidingEnabled | public boolean isFileHidingEnabled()(Code) | | Maps JFileChooser.isFileHidingEnabled() through queue
|
isFileSelectionEnabled | public boolean isFileSelectionEnabled()(Code) | | Maps JFileChooser.isFileSelectionEnabled() through queue
|
isMultiSelectionEnabled | public boolean isMultiSelectionEnabled()(Code) | | Maps JFileChooser.isMultiSelectionEnabled() through queue
|
isTraversable | public boolean isTraversable(File file)(Code) | | Maps JFileChooser.isTraversable(File) through queue
|
removeActionListener | public void removeActionListener(ActionListener actionListener)(Code) | | Maps JFileChooser.removeActionListener(ActionListener) through queue
|
removeChoosableFileFilter | public boolean removeChoosableFileFilter(FileFilter fileFilter)(Code) | | Maps JFileChooser.removeChoosableFileFilter(FileFilter) through queue
|
rescanCurrentDirectory | public void rescanCurrentDirectory()(Code) | | Maps JFileChooser.rescanCurrentDirectory() through queue
|
resetChoosableFileFilters | public void resetChoosableFileFilters()(Code) | | Maps JFileChooser.resetChoosableFileFilters() through queue
|
selectFile | public void selectFile(String file, StringComparator comparator)(Code) | | Selects a file curently in the list.
Parameters: file - File name (foo.c). Do not use full path (/tmp/foo.c) here. Parameters: comparator - a comparator defining string comparision criteria See Also: JFileChooserOperator.clickOnFile |
selectFile | public void selectFile(String file, boolean ce, boolean cc)(Code) | | Selects a file curently in the list.
Parameters: file - File name (foo.c). Do not use full path (/tmp/foo.c) here. Parameters: ce - Compare exactly. If true, text can be a substring of caption. Parameters: cc - Compare case sensitively. If true, both text and caption are See Also: JFileChooserOperator.clickOnFile |
selectFileType | public void selectFileType(String filter, StringComparator comparator)(Code) | | Selects file type from the combo box below.
Parameters: filter - a pattern for choosing a file type. Parameters: comparator - a comparator defining string comparision criteria |
selectFileType | public void selectFileType(String filter, boolean ce, boolean cc)(Code) | | Selects file type from the combo box below.
Parameters: filter - a pattern for choosing a file type. Parameters: ce - Compare exactly. If true, text can be a substring of caption. Parameters: cc - Compare case sensitively. If true, both text and caption are |
selectFileType | public void selectFileType(String filter)(Code) | | Selects file type from the combo box below.
Parameters: filter - a pattern for choosing a file type. |
selectPathDirectory | public void selectPathDirectory(String dir, StringComparator comparator)(Code) | | Selects directory from the combo box above.
Parameters: dir - Directory name (tmp1). Do not use full path (/tmp/tmp1) here. Parameters: comparator - a comparator defining string comparision criteria |
selectPathDirectory | public void selectPathDirectory(String dir, boolean ce, boolean cc)(Code) | | Selects directory from the combo box above.
Parameters: dir - Directory name (tmp1). Do not use full path (/tmp/tmp1) here. Parameters: ce - Compare exactly. If true, text can be a substring of caption. Parameters: cc - Compare case sensitively. If true, both text and caption are |
selectPathDirectory | public void selectPathDirectory(String dir)(Code) | | Selects directory from the combo box above.
Parameters: dir - Directory name (tmp1). Do not use full path (/tmp/tmp1) here. |
setAccessory | public void setAccessory(JComponent jComponent)(Code) | | Maps JFileChooser.setAccessory(JComponent) through queue
|
setApproveButtonMnemonic | public void setApproveButtonMnemonic(char c)(Code) | | Maps JFileChooser.setApproveButtonMnemonic(char) through queue
|
setApproveButtonMnemonic | public void setApproveButtonMnemonic(int i)(Code) | | Maps JFileChooser.setApproveButtonMnemonic(int) through queue
|
setApproveButtonText | public void setApproveButtonText(String string)(Code) | | Maps JFileChooser.setApproveButtonText(String) through queue
|
setApproveButtonToolTipText | public void setApproveButtonToolTipText(String string)(Code) | | Maps JFileChooser.setApproveButtonToolTipText(String) through queue
|
setCurrentDirectory | public void setCurrentDirectory(File file)(Code) | | Maps JFileChooser.setCurrentDirectory(File) through queue
|
setDialogTitle | public void setDialogTitle(String string)(Code) | | Maps JFileChooser.setDialogTitle(String) through queue
|
setDialogType | public void setDialogType(int i)(Code) | | Maps JFileChooser.setDialogType(int) through queue
|
setFileFilter | public void setFileFilter(FileFilter fileFilter)(Code) | | Maps JFileChooser.setFileFilter(FileFilter) through queue
|
setFileHidingEnabled | public void setFileHidingEnabled(boolean b)(Code) | | Maps JFileChooser.setFileHidingEnabled(boolean) through queue
|
setFileSelectionMode | public void setFileSelectionMode(int i)(Code) | | Maps JFileChooser.setFileSelectionMode(int) through queue
|
setFileSystemView | public void setFileSystemView(FileSystemView fileSystemView)(Code) | | Maps JFileChooser.setFileSystemView(FileSystemView) through queue
|
setFileView | public void setFileView(FileView fileView)(Code) | | Maps JFileChooser.setFileView(FileView) through queue
|
setMultiSelectionEnabled | public void setMultiSelectionEnabled(boolean b)(Code) | | Maps JFileChooser.setMultiSelectionEnabled(boolean) through queue
|
setSelectedFile | public void setSelectedFile(File file)(Code) | | Maps JFileChooser.setSelectedFile(File) through queue
|
setSelectedFiles | public void setSelectedFiles(File[] file)(Code) | | Maps JFileChooser.setSelectedFiles(File[]) through queue
|
showDialog | public int showDialog(Component component, String string)(Code) | | Maps JFileChooser.showDialog(Component, String) through queue
|
showOpenDialog | public int showOpenDialog(Component component)(Code) | | Maps JFileChooser.showOpenDialog(Component) through queue
|
showSaveDialog | public int showSaveDialog(Component component)(Code) | | Maps JFileChooser.showSaveDialog(Component) through queue
|
waitFileCount | public void waitFileCount(int count)(Code) | | Waits for the file list to have required number of items.
Parameters: count - Number of files to wait. |
waitFileDisplayed | public void waitFileDisplayed(String fileName)(Code) | | Waits for a file to be displayed in the file list.
Parameters: fileName - a file to wait. |
waitJFileChooser | public static JFileChooser waitJFileChooser(Container cont)(Code) | | Searches JFileChooser in container.
Parameters: cont - a container a component instance |
waitJFileChooser | public static JFileChooser waitJFileChooser()(Code) | | Waits currently opened JFileChooser.
a component instance |
waitJFileChooserDialog | public static JDialog waitJFileChooserDialog()(Code) | | Waits currently opened JDilog with JFileChooser inside.
a component instance |
Methods inherited from org.netbeans.jemmy.operators.JComponentOperator | public void addAncestorListener(AncestorListener ancestorListener)(Code)(Java Doc) public void addVetoableChangeListener(VetoableChangeListener vetoableChangeListener)(Code)(Java Doc) public void computeVisibleRect(Rectangle rectangle)(Code)(Java Doc) public JToolTip createToolTip()(Code)(Java Doc) public static JComponent findJComponent(Container cont, ComponentChooser chooser, int index)(Code)(Java Doc) public static JComponent findJComponent(Container cont, ComponentChooser chooser)(Code)(Java Doc) public static JComponent findJComponent(Container cont, String toolTipText, boolean ce, boolean ccs, int index)(Code)(Java Doc) public static JComponent findJComponent(Container cont, String toolTipText, boolean ce, boolean ccs)(Code)(Java Doc) public void firePropertyChange(String string, byte b, byte b1)(Code)(Java Doc) public void firePropertyChange(String string, char c, char c1)(Code)(Java Doc) public void firePropertyChange(String string, double d, double d1)(Code)(Java Doc) public void firePropertyChange(String string, float f, float f1)(Code)(Java Doc) public void firePropertyChange(String string, int i, int i1)(Code)(Java Doc) public void firePropertyChange(String string, long l, long l1)(Code)(Java Doc) public void firePropertyChange(String string, short s, short s1)(Code)(Java Doc) public void firePropertyChange(String string, boolean b, boolean b1)(Code)(Java Doc) public AccessibleContext getAccessibleContext()(Code)(Java Doc) public ActionListener getActionForKeyStroke(KeyStroke keyStroke)(Code)(Java Doc) public boolean getAutoscrolls()(Code)(Java Doc) public Border getBorder()(Code)(Java Doc) public int getCenterXForClick()(Code)(Java Doc) public int getCenterYForClick()(Code)(Java Doc) public Object getClientProperty(Object object)(Code)(Java Doc) public int getConditionForKeyStroke(KeyStroke keyStroke)(Code)(Java Doc) public int getDebugGraphicsOptions()(Code)(Java Doc) public Hashtable getDump()(Code)(Java Doc) public Insets getInsets(Insets insets)(Code)(Java Doc) public Component getNextFocusableComponent()(Code)(Java Doc) public TestOut getOutput()(Code)(Java Doc) public KeyStroke[] getRegisteredKeyStrokes()(Code)(Java Doc) public JRootPane getRootPane()(Code)(Java Doc) public Timeouts getTimeouts()(Code)(Java Doc) public Point getToolTipLocation(MouseEvent mouseEvent)(Code)(Java Doc) public String getToolTipText()(Code)(Java Doc) public String getToolTipText(MouseEvent mouseEvent)(Code)(Java Doc) public Container getTopLevelAncestor()(Code)(Java Doc) public String getUIClassID()(Code)(Java Doc) public Rectangle getVisibleRect()(Code)(Java Doc) public ContainerOperator getWindowContainerOperator()(Code)(Java Doc) public void grabFocus()(Code)(Java Doc) public boolean isFocusCycleRoot()(Code)(Java Doc) public boolean isManagingFocus()(Code)(Java Doc) public boolean isOptimizedDrawingEnabled()(Code)(Java Doc) public boolean isPaintingTile()(Code)(Java Doc) public boolean isRequestFocusEnabled()(Code)(Java Doc) public boolean isValidateRoot()(Code)(Java Doc) public void paintImmediately(int i, int i1, int i2, int i3)(Code)(Java Doc) public void paintImmediately(Rectangle rectangle)(Code)(Java Doc) public void putClientProperty(Object object, Object object1)(Code)(Java Doc) public void registerKeyboardAction(ActionListener actionListener, String string, KeyStroke keyStroke, int i)(Code)(Java Doc) public void registerKeyboardAction(ActionListener actionListener, KeyStroke keyStroke, int i)(Code)(Java Doc) public void removeAncestorListener(AncestorListener ancestorListener)(Code)(Java Doc) public void removeVetoableChangeListener(VetoableChangeListener vetoableChangeListener)(Code)(Java Doc) public void repaint(Rectangle rectangle)(Code)(Java Doc) public boolean requestDefaultFocus()(Code)(Java Doc) public void resetKeyboardActions()(Code)(Java Doc) public void revalidate()(Code)(Java Doc) public void scrollRectToVisible(Rectangle rectangle)(Code)(Java Doc) public void setAlignmentX(float f)(Code)(Java Doc) public void setAlignmentY(float f)(Code)(Java Doc) public void setAutoscrolls(boolean b)(Code)(Java Doc) public void setBorder(Border border)(Code)(Java Doc) public void setDebugGraphicsOptions(int i)(Code)(Java Doc) public void setDoubleBuffered(boolean b)(Code)(Java Doc) public void setMaximumSize(Dimension dimension)(Code)(Java Doc) public void setMinimumSize(Dimension dimension)(Code)(Java Doc) public void setNextFocusableComponent(Component component)(Code)(Java Doc) public void setOpaque(boolean b)(Code)(Java Doc) public void setOutput(TestOut out)(Code)(Java Doc) public void setPreferredSize(Dimension dimension)(Code)(Java Doc) public void setRequestFocusEnabled(boolean b)(Code)(Java Doc) public void setTimeouts(Timeouts timeouts)(Code)(Java Doc) public void setToolTipText(String string)(Code)(Java Doc) public JToolTip showToolTip()(Code)(Java Doc) public void unregisterKeyboardAction(KeyStroke keyStroke)(Code)(Java Doc) public void updateUI()(Code)(Java Doc) public static JComponent waitJComponent(Container cont, ComponentChooser chooser, int index)(Code)(Java Doc) public static JComponent waitJComponent(Container cont, ComponentChooser chooser)(Code)(Java Doc) public static JComponent waitJComponent(Container cont, String toolTipText, boolean ce, boolean ccs, int index)(Code)(Java Doc) public static JComponent waitJComponent(Container cont, String toolTipText, boolean ce, boolean ccs)(Code)(Java Doc) public JToolTip waitToolTip()(Code)(Java Doc)
|
Methods inherited from org.netbeans.jemmy.operators.ContainerOperator | public Component add(Component component)(Code)(Java Doc) public Component add(Component component, int i)(Code)(Java Doc) public void add(Component component, Object object)(Code)(Java Doc) public void add(Component component, Object object, int i)(Code)(Java Doc) public Component add(String string, Component component)(Code)(Java Doc) public void addContainerListener(ContainerListener containerListener)(Code)(Java Doc) public ComponentOperator createSubOperator(ComponentChooser chooser, int index)(Code)(Java Doc) public ComponentOperator createSubOperator(ComponentChooser chooser)(Code)(Java Doc) public Component findComponentAt(int i, int i1)(Code)(Java Doc) public Component findComponentAt(Point point)(Code)(Java Doc) public static Container findContainer(Container cont, ComponentChooser chooser, int index)(Code)(Java Doc) public static Container findContainer(Container cont, ComponentChooser chooser)(Code)(Java Doc) public static Container findContainer(Container cont, int index)(Code)(Java Doc) public static Container findContainer(Container cont)(Code)(Java Doc) public static Container findContainerUnder(Component comp, ComponentChooser chooser)(Code)(Java Doc) public static Container findContainerUnder(Component comp)(Code)(Java Doc) public Component findSubComponent(ComponentChooser chooser, int index)(Code)(Java Doc) public Component findSubComponent(ComponentChooser chooser)(Code)(Java Doc) public Component getComponent(int i)(Code)(Java Doc) public int getComponentCount()(Code)(Java Doc) public Component[] getComponents()(Code)(Java Doc) public Insets getInsets()(Code)(Java Doc) public LayoutManager getLayout()(Code)(Java Doc) public TestOut getOutput()(Code)(Java Doc) public Timeouts getTimeouts()(Code)(Java Doc) public boolean isAncestorOf(Component component)(Code)(Java Doc) public void paintComponents(Graphics graphics)(Code)(Java Doc) public void printComponents(Graphics graphics)(Code)(Java Doc) public void remove(int i)(Code)(Java Doc) public void remove(Component component)(Code)(Java Doc) public void removeAll()(Code)(Java Doc) public void removeContainerListener(ContainerListener containerListener)(Code)(Java Doc) public void setLayout(LayoutManager layoutManager)(Code)(Java Doc) public void setOutput(TestOut out)(Code)(Java Doc) public void setTimeouts(Timeouts timeouts)(Code)(Java Doc) public static Container waitContainer(Container cont, ComponentChooser chooser, int index)(Code)(Java Doc) public static Container waitContainer(Container cont, ComponentChooser chooser)(Code)(Java Doc) public static Container waitContainer(Container cont, int index)(Code)(Java Doc) public static Container waitContainer(Container cont)(Code)(Java Doc) public Component waitSubComponent(ComponentChooser chooser, int index)(Code)(Java Doc) public Component waitSubComponent(ComponentChooser chooser)(Code)(Java Doc)
|
Methods inherited from org.netbeans.jemmy.operators.ComponentOperator | public void activateWindow()(Code)(Java Doc) public void add(PopupMenu popupMenu)(Code)(Java Doc) public void addComponentListener(ComponentListener componentListener)(Code)(Java Doc) public void addFocusListener(FocusListener focusListener)(Code)(Java Doc) public void addInputMethodListener(InputMethodListener inputMethodListener)(Code)(Java Doc) public void addKeyListener(KeyListener keyListener)(Code)(Java Doc) public void addMouseListener(MouseListener mouseListener)(Code)(Java Doc) public void addMouseMotionListener(MouseMotionListener mouseMotionListener)(Code)(Java Doc) public void addNotify()(Code)(Java Doc) public void addPropertyChangeListener(PropertyChangeListener propertyChangeListener)(Code)(Java Doc) public void addPropertyChangeListener(String string, PropertyChangeListener propertyChangeListener)(Code)(Java Doc) public int checkImage(Image image, int i, int i1, ImageObserver imageObserver)(Code)(Java Doc) public int checkImage(Image image, ImageObserver imageObserver)(Code)(Java Doc) public void clickForPopup(int x, int y, int mouseButton)(Code)(Java Doc) public void clickForPopup(int x, int y)(Code)(Java Doc) public void clickForPopup(int mouseButton)(Code)(Java Doc) public void clickForPopup()(Code)(Java Doc) public void clickMouse(int x, int y, int clickCount, int mouseButton, int modifiers, boolean forPopup)(Code)(Java Doc) public void clickMouse(int x, int y, int clickCount, int mouseButton, int modifiers)(Code)(Java Doc) public void clickMouse(int x, int y, int clickCount, int mouseButton)(Code)(Java Doc) public void clickMouse(int x, int y, int clickCount)(Code)(Java Doc) public void clickMouse(int clickCount, int mouseButton)(Code)(Java Doc) public void clickMouse(int clickCount)(Code)(Java Doc) public void clickMouse()(Code)(Java Doc) public boolean contains(int i, int i1)(Code)(Java Doc) public boolean contains(Point point)(Code)(Java Doc) public void copyEnvironment(Operator anotherOperator)(Code)(Java Doc) public Image createImage(int i, int i1)(Code)(Java Doc) public Image createImage(ImageProducer imageProducer)(Code)(Java Doc) public void dispatchEvent(AWTEvent aWTEvent)(Code)(Java Doc) public void doLayout()(Code)(Java Doc) public void dragMouse(int x, int y, int mouseButton, int modifiers)(Code)(Java Doc) public void dragMouse(int x, int y, int mouseButton)(Code)(Java Doc) public void dragMouse(int x, int y)(Code)(Java Doc) public void dragNDrop(int start_x, int start_y, int end_x, int end_y, int mouseButton, int modifiers)(Code)(Java Doc) public void dragNDrop(int start_x, int start_y, int end_x, int end_y, int mouseButton)(Code)(Java Doc) public void dragNDrop(int start_x, int start_y, int end_x, int end_y)(Code)(Java Doc) public void enableInputMethods(boolean b)(Code)(Java Doc) public void enterMouse()(Code)(Java Doc) public void exitMouse()(Code)(Java Doc) public static Component findComponent(Container cont, ComponentChooser chooser, int index)(Code)(Java Doc) public static Component findComponent(Container cont, ComponentChooser chooser)(Code)(Java Doc) public float getAlignmentX()(Code)(Java Doc) public float getAlignmentY()(Code)(Java Doc) public Color getBackground()(Code)(Java Doc) public Rectangle getBounds()(Code)(Java Doc) public Rectangle getBounds(Rectangle rectangle)(Code)(Java Doc) public int getCenterX()(Code)(Java Doc) public int getCenterXForClick()(Code)(Java Doc) public int getCenterY()(Code)(Java Doc) public int getCenterYForClick()(Code)(Java Doc) public ColorModel getColorModel()(Code)(Java Doc) public Component getComponentAt(int i, int i1)(Code)(Java Doc) public Component getComponentAt(Point point)(Code)(Java Doc) public ComponentOrientation getComponentOrientation()(Code)(Java Doc) public Container getContainer(ComponentChooser chooser)(Code)(Java Doc) public Container[] getContainers()(Code)(Java Doc) public Cursor getCursor()(Code)(Java Doc) public DropTarget getDropTarget()(Code)(Java Doc) public Hashtable getDump()(Code)(Java Doc) public EventDispatcher getEventDispatcher()(Code)(Java Doc) public void getFocus()(Code)(Java Doc) public Font getFont()(Code)(Java Doc) public FontMetrics getFontMetrics(Font font)(Code)(Java Doc) public Color getForeground()(Code)(Java Doc) public Graphics getGraphics()(Code)(Java Doc) public int getHeight()(Code)(Java Doc) public InputContext getInputContext()(Code)(Java Doc) public InputMethodRequests getInputMethodRequests()(Code)(Java Doc) public Locale getLocale()(Code)(Java Doc) public Point getLocation()(Code)(Java Doc) public Point getLocation(Point point)(Code)(Java Doc) public Point getLocationOnScreen()(Code)(Java Doc) public Dimension getMaximumSize()(Code)(Java Doc) public Dimension getMinimumSize()(Code)(Java Doc) public String getName()(Code)(Java Doc) public TestOut getOutput()(Code)(Java Doc) public Container getParent()(Code)(Java Doc) public Dimension getPreferredSize()(Code)(Java Doc) public Dimension getSize()(Code)(Java Doc) public Dimension getSize(Dimension dimension)(Code)(Java Doc) public Component getSource()(Code)(Java Doc) public Timeouts getTimeouts()(Code)(Java Doc) public Toolkit getToolkit()(Code)(Java Doc) public Object getTreeLock()(Code)(Java Doc) public int getWidth()(Code)(Java Doc) public Window getWindow()(Code)(Java Doc) public int getX()(Code)(Java Doc) public int getY()(Code)(Java Doc) public boolean hasFocus()(Code)(Java Doc) public boolean imageUpdate(Image image, int i, int i1, int i2, int i3, int i4)(Code)(Java Doc) public void invalidate()(Code)(Java Doc) public boolean isDisplayable()(Code)(Java Doc) public boolean isDoubleBuffered()(Code)(Java Doc) public boolean isEnabled()(Code)(Java Doc) public boolean isFocusTraversable()(Code)(Java Doc) public boolean isLightweight()(Code)(Java Doc) public boolean isOpaque()(Code)(Java Doc) public boolean isShowing()(Code)(Java Doc) public boolean isValid()(Code)(Java Doc) public boolean isVisible()(Code)(Java Doc) public void list()(Code)(Java Doc) public void list(PrintStream printStream)(Code)(Java Doc) public void list(PrintStream printStream, int i)(Code)(Java Doc) public void list(PrintWriter printWriter)(Code)(Java Doc) public void list(PrintWriter printWriter, int i)(Code)(Java Doc) public void makeComponentVisible()(Code)(Java Doc) public void moveMouse(int x, int y)(Code)(Java Doc) public void paint(Graphics graphics)(Code)(Java Doc) public void paintAll(Graphics graphics)(Code)(Java Doc) public boolean prepareImage(Image image, int i, int i1, ImageObserver imageObserver)(Code)(Java Doc) public boolean prepareImage(Image image, ImageObserver imageObserver)(Code)(Java Doc) public void pressKey(int keyCode, int modifiers)(Code)(Java Doc) public void pressKey(int keyCode)(Code)(Java Doc) public void pressMouse(int x, int y)(Code)(Java Doc) public void pressMouse()(Code)(Java Doc) public void print(Graphics graphics)(Code)(Java Doc) public void printAll(Graphics graphics)(Code)(Java Doc) public void pushKey(int keyCode, int modifiers)(Code)(Java Doc) public void pushKey(int keyCode)(Code)(Java Doc) public void releaseKey(int keyCode, int modifiers)(Code)(Java Doc) public void releaseKey(int keyCode)(Code)(Java Doc) public void releaseMouse(int x, int y)(Code)(Java Doc) public void releaseMouse()(Code)(Java Doc) public void remove(MenuComponent menuComponent)(Code)(Java Doc) public void removeComponentListener(ComponentListener componentListener)(Code)(Java Doc) public void removeFocusListener(FocusListener focusListener)(Code)(Java Doc) public void removeInputMethodListener(InputMethodListener inputMethodListener)(Code)(Java Doc) public void removeKeyListener(KeyListener keyListener)(Code)(Java Doc) public void removeMouseListener(MouseListener mouseListener)(Code)(Java Doc) public void removeMouseMotionListener(MouseMotionListener mouseMotionListener)(Code)(Java Doc) public void removeNotify()(Code)(Java Doc) public void removePropertyChangeListener(PropertyChangeListener propertyChangeListener)(Code)(Java Doc) public void removePropertyChangeListener(String string, PropertyChangeListener propertyChangeListener)(Code)(Java Doc) public void repaint()(Code)(Java Doc) public void repaint(int i, int i1, int i2, int i3)(Code)(Java Doc) public void repaint(long l)(Code)(Java Doc) public void repaint(long l, int i, int i1, int i2, int i3)(Code)(Java Doc) public void requestFocus()(Code)(Java Doc) public void setBackground(Color color)(Code)(Java Doc) public void setBounds(int i, int i1, int i2, int i3)(Code)(Java Doc) public void setBounds(Rectangle rectangle)(Code)(Java Doc) public void setComponentOrientation(ComponentOrientation componentOrientation)(Code)(Java Doc) public void setCursor(Cursor cursor)(Code)(Java Doc) public void setDropTarget(DropTarget dropTarget)(Code)(Java Doc) public void setEnabled(boolean b)(Code)(Java Doc) public void setFont(Font font)(Code)(Java Doc) public void setForeground(Color color)(Code)(Java Doc) public void setLocale(Locale locale)(Code)(Java Doc) public void setLocation(int i, int i1)(Code)(Java Doc) public void setLocation(Point point)(Code)(Java Doc) public void setName(String string)(Code)(Java Doc) public void setOutput(TestOut out)(Code)(Java Doc) public void setSize(int i, int i1)(Code)(Java Doc) public void setSize(Dimension dimension)(Code)(Java Doc) public void setTimeouts(Timeouts timeouts)(Code)(Java Doc) public void setVisible(boolean b)(Code)(Java Doc) public void transferFocus()(Code)(Java Doc) public void typeKey(int keyCode, char keyChar, int modifiers)(Code)(Java Doc) public void typeKey(char keyChar, int modifiers)(Code)(Java Doc) public void typeKey(char keyChar)(Code)(Java Doc) public void update(Graphics graphics)(Code)(Java Doc) public void validate()(Code)(Java Doc) public static Component waitComponent(Container cont, ComponentChooser chooser, int index)(Code)(Java Doc) public static Component waitComponent(Container cont, ComponentChooser chooser)(Code)(Java Doc) protected static Component waitComponent(ContainerOperator contOper, ComponentChooser chooser, int index)(Code)(Java Doc) protected static Component waitComponent(Container cont, ComponentChooser chooser, int index, Timeouts timeouts, TestOut output)(Code)(Java Doc) public void waitComponentEnabled() throws InterruptedException(Code)(Java Doc) public void waitComponentShowing(boolean visibility)(Code)(Java Doc) public void waitComponentVisible(boolean visibility)(Code)(Java Doc) public void waitHasFocus()(Code)(Java Doc) public void wtComponentEnabled()(Code)(Java Doc)
|
Methods inherited from org.netbeans.jemmy.operators.Operator | public static void addOperatorPackage(String pkgName)(Code)(Java Doc) protected String[] addToDump(Hashtable table, String title, Object[] items)(Code)(Java Doc) protected String[] addToDump(Hashtable table, String title, Object[][] items)(Code)(Java Doc) public void copyEnvironment(Operator anotherOperator)(Code)(Java Doc) public static ComponentOperator createOperator(Component comp)(Code)(Java Doc) public CharBindingMap getCharBindingMap()(Code)(Java Doc) public int getCharKey(char c)(Code)(Java Doc) public int getCharModifiers(char c)(Code)(Java Doc) public int[] getCharsKeys(char[] c)(Code)(Java Doc) public int[] getCharsKeys(String s)(Code)(Java Doc) public int[] getCharsModifiers(char[] c)(Code)(Java Doc) public int[] getCharsModifiers(String s)(Code)(Java Doc) public StringComparator getComparator()(Code)(Java Doc) public static ComponentVisualizer getDefaultComponentVisualizer()(Code)(Java Doc) public static int getDefaultMouseButton()(Code)(Java Doc) public static PathParser getDefaultPathParser()(Code)(Java Doc) public static StringComparator getDefaultStringComparator()(Code)(Java Doc) public static boolean getDefaultVerification()(Code)(Java Doc) public Hashtable getDump()(Code)(Java Doc) public static Operator getEnvironmentOperator()(Code)(Java Doc) public TestOut getOutput()(Code)(Java Doc) public String[] getParentPath(String path)(Code)(Java Doc) public ComponentChooser[] getParentPath(ComponentChooser path)(Code)(Java Doc) public PathParser getPathParser()(Code)(Java Doc) public static int getPopupMouseButton()(Code)(Java Doc) public JemmyProperties getProperties()(Code)(Java Doc) public QueueTool getQueueTool()(Code)(Java Doc) abstract public Component getSource()(Code)(Java Doc) public Timeouts getTimeouts()(Code)(Java Doc) public boolean getVerification()(Code)(Java Doc) public ComponentVisualizer getVisualizer()(Code)(Java Doc) public static boolean isCaptionEqual(String caption, String match, boolean ce, boolean ccs)(Code)(Java Doc) public static boolean isCaptionEqual(String caption, String match, StringComparator comparator)(Code)(Java Doc) public boolean isCaptionEqual(String caption, String match)(Code)(Java Doc) protected void lockQueue()(Code)(Java Doc) public String[] parseString(String path)(Code)(Java Doc) public String[] parseString(String path, String delim)(Code)(Java Doc) public void printDump()(Code)(Java Doc) protected void produceNoBlocking(NoBlockingAction action, Object param)(Code)(Java Doc) protected void produceNoBlocking(NoBlockingAction action)(Code)(Java Doc) protected Object produceTimeRestricted(Action action, Object param, long wholeTime)(Code)(Java Doc) protected Object produceTimeRestricted(Action action, long wholeTime)(Code)(Java Doc) protected Object runMapping(MapAction action)(Code)(Java Doc) protected char runMapping(MapCharacterAction action)(Code)(Java Doc) protected byte runMapping(MapByteAction action)(Code)(Java Doc) protected int runMapping(MapIntegerAction action)(Code)(Java Doc) protected long runMapping(MapLongAction action)(Code)(Java Doc) protected float runMapping(MapFloatAction action)(Code)(Java Doc) protected double runMapping(MapDoubleAction action)(Code)(Java Doc) protected boolean runMapping(MapBooleanAction action)(Code)(Java Doc) protected void runMapping(MapVoidAction action)(Code)(Java Doc) public void setCharBindingMap(CharBindingMap map)(Code)(Java Doc) public void setComparator(StringComparator comparator)(Code)(Java Doc) public static ComponentVisualizer setDefaultComponentVisualizer(ComponentVisualizer visualizer)(Code)(Java Doc) public static PathParser setDefaultPathParser(PathParser parser)(Code)(Java Doc) public static StringComparator setDefaultStringComparator(StringComparator comparator)(Code)(Java Doc) public static boolean setDefaultVerification(boolean verification)(Code)(Java Doc) public void setOutput(TestOut out)(Code)(Java Doc) public void setPathParser(PathParser parser)(Code)(Java Doc) public JemmyProperties setProperties(JemmyProperties properties)(Code)(Java Doc) public void setTimeouts(Timeouts timeouts)(Code)(Java Doc) public boolean setVerification(boolean verification)(Code)(Java Doc) public void setVisualizer(ComponentVisualizer vo)(Code)(Java Doc) public String toStringSource()(Code)(Java Doc) protected void unlockAndThrow(Exception e)(Code)(Java Doc) protected void unlockQueue()(Code)(Java Doc) public void waitState(ComponentChooser state)(Code)(Java Doc)
|
|
|