public class ClasspathCustomEditorOperator extends NbDialogOperator
org.netbeans.jemmy.operators.JDialogOperator.JDialogFinderorg.netbeans.jemmy.operators.DialogOperator.DialogByTitleFinder, org.netbeans.jemmy.operators.DialogOperator.DialogFinderorg.netbeans.jemmy.operators.ContainerOperator.ContainerFinderorg.netbeans.jemmy.operators.Operator.ComponentVisualizer, org.netbeans.jemmy.operators.Operator.DefaultPathParser, org.netbeans.jemmy.operators.Operator.DefaultStringComparator, org.netbeans.jemmy.operators.Operator.Finder, org.netbeans.jemmy.operators.Operator.MapAction, org.netbeans.jemmy.operators.Operator.MapBooleanAction, org.netbeans.jemmy.operators.Operator.MapByteAction, org.netbeans.jemmy.operators.Operator.MapCharacterAction, org.netbeans.jemmy.operators.Operator.MapDoubleAction, org.netbeans.jemmy.operators.Operator.MapFloatAction, org.netbeans.jemmy.operators.Operator.MapIntegerAction, org.netbeans.jemmy.operators.Operator.MapLongAction, org.netbeans.jemmy.operators.Operator.MapVoidAction, org.netbeans.jemmy.operators.Operator.NoBlockingAction, org.netbeans.jemmy.operators.Operator.PathParser, org.netbeans.jemmy.operators.Operator.StringComparatorIS_MODAL_DPROP, IS_RESIZABLE_DPROP, TITLE_DPROPHEIGHT_DPROP, IS_SHOWING_DPROP, IS_VISIBLE_DPROP, NAME_DPROP, WIDTH_DPROP, X_DPROP, Y_DPROPCLASS_DPROP, TO_STRING_DPROP| Constructor and Description |
|---|
ClasspathCustomEditorOperator(org.netbeans.jemmy.operators.JDialogOperator wrapper)
Creates new ClasspathCustomEditorOperator
|
ClasspathCustomEditorOperator(String title)
Creates new ClasspathCustomEditorOperator
|
| Modifier and Type | Method and Description |
|---|---|
FileCustomEditorOperator |
addDirectory()
clicks on Add Directory...
|
void |
addDirectory(File directory)
adds directory into classpath list
|
void |
addDirectory(String directoryPath)
adds directory into classpath list
|
FileCustomEditorOperator |
addJARZIP()
clicks on Add JAR/ZIP...
|
void |
addJARZIP(File jarZip)
adds JAR or ZIP file into classpath list
|
void |
addJARZIP(String filePath)
adds JAR or ZIP file into classpath list
|
org.netbeans.jemmy.operators.JButtonOperator |
btAddDirectory()
Tries to find Add Directory...
|
org.netbeans.jemmy.operators.JButtonOperator |
btAddJARZIP()
Tries to find Add JAR/ZIP...
|
org.netbeans.jemmy.operators.JButtonOperator |
btMoveDown()
Tries to find "Move Down" JButton in this dialog.
|
org.netbeans.jemmy.operators.JButtonOperator |
btMoveUp()
Tries to find "Move Up" JButton in this dialog.
|
org.netbeans.jemmy.operators.JButtonOperator |
btRemove()
Tries to find "Remove" JButton in this dialog.
|
String[] |
getClasspathValue()
returns complete class path from editor
|
org.netbeans.jemmy.operators.JListOperator |
lstClasspath()
Tries to find null JList in this dialog.
|
void |
moveDown()
clicks on "Move Down" JButton
|
void |
moveUp()
clicks on "Move Up" JButton
|
void |
remove()
clicks on "Remove" JButton
|
void |
remove(String value)
removes given item from classpath
|
void |
removeAll()
removes complete classpath
|
void |
setClasspathValue(File[] classPathElements)
sets complete classpath in custom editor
|
void |
setClasspathValue(String[] classPathElements)
sets complete classpath in custom editor
|
void |
verify()
Performs verification by accessing all sub-components
|
btCancel, btClose, btHelp, btNo, btOK, btYes, cancel, closeByButton, help, no, ok, yesfindJDialog, findJDialog, findJDialog, findJDialog, findJDialog, findJDialog, findJDialog, findJDialog, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, getTopModalDialog, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLocationRelativeTo, waitJDialog, waitJDialog, waitJDialog, waitJDialog, waitJDialog, waitJDialog, waitJDialog, waitJDialog, waitJDialog, waitJDialog, waitJDialoggetDump, getTitle, isModal, isResizable, setModal, setResizable, setTitle, waitDialog, waitDialog, waitDialog, waitTitleactivate, addWindowListener, applyResourceBundle, applyResourceBundle, close, copyEnvironment, dispose, findSubWindow, findSubWindow, findWindow, findWindow, findWindow, findWindow, getFocusOwner, getOutput, getOwnedWindows, getOwner, getWarningString, isActive, isFocused, move, pack, removeWindowListener, requestClose, requestCloseAndThenHide, resize, setOutput, toBack, toFront, waitClosed, waitSubWindow, waitSubWindow, waitWindow, waitWindow, waitWindow, waitWindow, waitWindow, waitWindow, waitWindowadd, add, add, add, add, addContainerListener, createSubOperator, createSubOperator, findComponentAt, findComponentAt, findContainer, findContainer, findContainer, findContainer, findContainerUnder, findContainerUnder, findSubComponent, findSubComponent, getComponent, getComponentCount, getComponents, getInsets, getLayout, getTimeouts, isAncestorOf, paintComponents, printComponents, remove, remove, removeContainerListener, setLayout, setTimeouts, waitContainer, waitContainer, waitContainer, waitContainer, waitSubComponent, waitSubComponentactivateWindow, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, checkImage, checkImage, clickForPopup, clickForPopup, clickForPopup, clickForPopup, clickMouse, clickMouse, clickMouse, clickMouse, clickMouse, clickMouse, clickMouse, contains, contains, createImage, createImage, dispatchEvent, doLayout, dragMouse, dragMouse, dragMouse, dragNDrop, dragNDrop, dragNDrop, enableInputMethods, enterMouse, exitMouse, findComponent, findComponent, findComponents, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getCenterX, getCenterXForClick, getCenterY, getCenterYForClick, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getContainer, getContainers, getCursor, getDropTarget, getEventDispatcher, getFocus, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, getSize, getSize, getSource, getToolkit, getTreeLock, getWidth, getWindow, getX, getY, hasFocus, imageUpdate, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, list, list, list, list, list, makeComponentVisible, moveMouse, paint, paintAll, prepareImage, prepareImage, pressKey, pressKey, pressMouse, pressMouse, print, printAll, pushKey, pushKey, releaseKey, releaseKey, releaseMouse, releaseMouse, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, transferFocus, typedKey, typeKey, typeKey, typeKey, update, validate, waitComponent, waitComponent, waitComponent, waitComponent, waitComponentEnabled, waitComponentShowing, waitComponentVisible, waitHasFocus, wtComponentEnabledaddOperatorPackage, addToDump, addToDump, createOperator, getCharBindingMap, getCharKey, getCharModifiers, getCharsKeys, getCharsKeys, getCharsModifiers, getCharsModifiers, getComparator, getDefaultComponentVisualizer, getDefaultMouseButton, getDefaultPathParser, getDefaultStringComparator, getDefaultVerification, getEnvironmentOperator, getParentPath, getParentPath, getPathParser, getPopupMouseButton, getProperties, getQueueTool, getVerification, getVisualizer, isCaptionEqual, isCaptionEqual, isCaptionEqual, lockQueue, parseString, parseString, printDump, produceNoBlocking, produceNoBlocking, produceTimeRestricted, produceTimeRestricted, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, runMapping, setCharBindingMap, setComparator, setDefaultComponentVisualizer, setDefaultPathParser, setDefaultStringComparator, setDefaultVerification, setPathParser, setProperties, setVerification, setVisualizer, toStringSource, unlockAndThrow, unlockQueue, waitStatepublic ClasspathCustomEditorOperator(String title)
title - String title of custom editorTimeoutExpiredException - when NbDialog not foundpublic ClasspathCustomEditorOperator(org.netbeans.jemmy.operators.JDialogOperator wrapper)
wrapper - JDialogOperator wrapper for custom editorpublic org.netbeans.jemmy.operators.JButtonOperator btAddDirectory()
TimeoutExpiredException - when component not foundpublic org.netbeans.jemmy.operators.JButtonOperator btMoveDown()
TimeoutExpiredException - when component not foundpublic org.netbeans.jemmy.operators.JListOperator lstClasspath()
TimeoutExpiredException - when component not foundpublic org.netbeans.jemmy.operators.JButtonOperator btAddJARZIP()
TimeoutExpiredException - when component not foundpublic org.netbeans.jemmy.operators.JButtonOperator btRemove()
TimeoutExpiredException - when component not foundpublic org.netbeans.jemmy.operators.JButtonOperator btMoveUp()
TimeoutExpiredException - when component not foundpublic FileCustomEditorOperator addDirectory()
TimeoutExpiredException - when JButton not foundpublic void moveDown()
TimeoutExpiredException - when JButton not foundpublic FileCustomEditorOperator addJARZIP()
TimeoutExpiredException - when JButton not foundpublic void addDirectory(String directoryPath)
directoryPath - String directory path to be addedpublic void addJARZIP(String filePath)
filePath - String path of JAR or ZIP file to be addedpublic void addDirectory(File directory)
directory - File directory to be addedpublic void addJARZIP(File jarZip)
jarZip - File JAR or ZIP to be addedpublic void setClasspathValue(File[] classPathElements)
classPathElements - File[] array of directories or JAR or ZIP files
to be included in classapthpublic void setClasspathValue(String[] classPathElements)
classPathElements - String[] array of paths of directories or JAR
or ZIP files to be included in classapthpublic void remove()
TimeoutExpiredException - when JButton not foundpublic void moveUp()
TimeoutExpiredException - when JButton not foundpublic void remove(String value)
value - String item to be removedpublic void removeAll()
removeAll in class org.netbeans.jemmy.operators.ContainerOperatorpublic String[] getClasspathValue()
public void verify()
Built on May 22 2013. | Portions Copyright 1997-2013 Oracle. All rights reserved.