public class CreateJavaDBDatabaseOperator extends org.netbeans.jemmy.operators.JDialogOperator
org.netbeans.jemmy.operators.JDialogOperator.JDialogFinder
org.netbeans.jemmy.operators.DialogOperator.DialogByTitleFinder, org.netbeans.jemmy.operators.DialogOperator.DialogFinder
org.netbeans.jemmy.operators.ContainerOperator.ContainerFinder
org.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.StringComparator
IS_MODAL_DPROP, IS_RESIZABLE_DPROP, TITLE_DPROP
HEIGHT_DPROP, IS_SHOWING_DPROP, IS_VISIBLE_DPROP, NAME_DPROP, WIDTH_DPROP, X_DPROP, Y_DPROP
CLASS_DPROP, TO_STRING_DPROP
Constructor and Description |
---|
CreateJavaDBDatabaseOperator()
Creates new CreateJavaDBDatabaseOperator that can handle it.
|
Modifier and Type | Method and Description |
---|---|
org.netbeans.jemmy.operators.JButtonOperator |
btCancel()
Tries to find "Cancel" JButton in this dialog.
|
org.netbeans.jemmy.operators.JButtonOperator |
btOK()
Tries to find "OK" JButton in this dialog.
|
org.netbeans.jemmy.operators.JButtonOperator |
btSettings()
Tries to find "Properties..." JButton in this dialog.
|
void |
cancel()
clicks on "Cancel" JButton
|
String |
getDatabaseLocation()
gets text for txtDatabaseLocation
|
String |
getDatabaseName()
gets text for txtDatabaseName
|
String |
getPassword()
gets text for txtPassword
|
String |
getUserName()
gets text for txtUserName
|
org.netbeans.jemmy.operators.JLabelOperator |
lblDatabaseLocation()
Tries to find "Database Location:" JLabel in this dialog.
|
org.netbeans.jemmy.operators.JLabelOperator |
lblDatabaseName()
Tries to find "Database Name:" JLabel in this dialog.
|
org.netbeans.jemmy.operators.JLabelOperator |
lblPassword()
Tries to find "Password:" JLabel in this dialog.
|
org.netbeans.jemmy.operators.JLabelOperator |
lblTheDatabaseNameIsEmpty()
Tries to find "The database name is empty." JLabel in this dialog.
|
org.netbeans.jemmy.operators.JLabelOperator |
lblUserName()
Tries to find "User Name:" JLabel in this dialog.
|
static void |
main(String[] args)
Performs simple test of CreateJavaDBDatabaseOperator
|
void |
ok()
clicks on "OK" JButton
|
void |
setDatabaseLocation(String text)
sets text for txtDatabaseLocation
|
void |
setDatabaseName(String text)
sets text for txtDatabaseName
|
void |
setPassword(String text)
sets text for txtPassword
|
void |
settings()
clicks on "Settings..." JButton
|
void |
setUserName(String text)
sets text for txtUserName
|
org.netbeans.jemmy.operators.JTextFieldOperator |
txtDatabaseLocation()
Tries to find null JTextField in this dialog.
|
org.netbeans.jemmy.operators.JTextFieldOperator |
txtDatabaseName()
Tries to find null JTextField in this dialog.
|
org.netbeans.jemmy.operators.JTextFieldOperator |
txtPassword()
Tries to find null JTextField in this dialog.
|
org.netbeans.jemmy.operators.JTextFieldOperator |
txtUserName()
Tries to find null JTextField in this dialog.
|
void |
typeDatabaseLocation(String text)
types text for txtDatabaseLocation
|
void |
typeDatabaseName(String text)
types text for txtDatabaseName
|
void |
typePassword(String text)
types text for txtPassword
|
void |
typeUserName(String text)
types text for txtUserName
|
void |
verify()
Performs verification of CreateJavaDBDatabaseOperator by accessing all its components.
|
findJDialog, 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, waitJDialog
getDump, getTitle, isModal, isResizable, setModal, setResizable, setTitle, waitDialog, waitDialog, waitDialog, waitTitle
activate, 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, waitWindow
add, 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, removeAll, removeContainerListener, setLayout, setTimeouts, waitContainer, waitContainer, waitContainer, waitContainer, waitSubComponent, waitSubComponent
activateWindow, 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, wtComponentEnabled
addOperatorPackage, 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, waitState
public CreateJavaDBDatabaseOperator()
public org.netbeans.jemmy.operators.JLabelOperator lblTheDatabaseNameIsEmpty()
public org.netbeans.jemmy.operators.JLabelOperator lblDatabaseName()
public org.netbeans.jemmy.operators.JLabelOperator lblUserName()
public org.netbeans.jemmy.operators.JLabelOperator lblPassword()
public org.netbeans.jemmy.operators.JLabelOperator lblDatabaseLocation()
public org.netbeans.jemmy.operators.JTextFieldOperator txtPassword()
public org.netbeans.jemmy.operators.JTextFieldOperator txtUserName()
public org.netbeans.jemmy.operators.JTextFieldOperator txtDatabaseLocation()
public org.netbeans.jemmy.operators.JButtonOperator btSettings()
public org.netbeans.jemmy.operators.JTextFieldOperator txtDatabaseName()
public org.netbeans.jemmy.operators.JButtonOperator btCancel()
public org.netbeans.jemmy.operators.JButtonOperator btOK()
public String getPassword()
public void setPassword(String text)
text
- String textpublic void typePassword(String text)
text
- String textpublic String getUserName()
public void setUserName(String text)
text
- String textpublic void typeUserName(String text)
text
- String textpublic String getDatabaseLocation()
public void setDatabaseLocation(String text)
text
- String textpublic void typeDatabaseLocation(String text)
text
- String textpublic void settings()
public String getDatabaseName()
public void setDatabaseName(String text)
text
- String textpublic void typeDatabaseName(String text)
text
- String textpublic void cancel()
public void ok()
public void verify()
public static void main(String[] args)
args
- the command line arguments