< A B C D E F G H I J K L M N O P R S T U V W X

<

() - Static method in class abbot.DefaultComponentFinder
 
() - Static method in class abbot.editor.ComponentPropertyModel
 
() - Static method in class abbot.editor.Costello
 
() - Static method in class abbot.editor.ScriptEditor
 
() - Static method in class abbot.editor.ScriptTable
 
() - Static method in class abbot.editor.recorder.ComponentRecorder
 
() - Static method in class abbot.i18n.Strings
 
() - Static method in class abbot.script.Script
 
() - Static method in class abbot.script.Annotation
 
() - Static method in class abbot.tester.Robot
 

A

abbot - package abbot
Provides testing support for Java GUIs.
ABBOT_IMAGE_DIR - Static variable in interface abbot.editor.EditorConstants
 
abbot.editor - package abbot.editor
Provides support for editing Abbot test scripts.
abbot.editor.actions - package abbot.editor.actions
 
abbot.editor.recorder - package abbot.editor.recorder
Provide recording support for component-specific user actions.
abbot.i18n - package abbot.i18n
Provides internationalization support for Costello.
abbot.script - package abbot.script
Provides basic elements for constructing a test script.
abbot.tester - package abbot.tester
Provide component-specific actions and tests.
abbot.util - package abbot.util
 
AbstractButtonRecorder - class abbot.editor.recorder.AbstractButtonRecorder.
Record basic semantic events you might find on an AbstractButton.
AbstractButtonRecorder(Resolver) - Constructor for class abbot.editor.recorder.AbstractButtonRecorder
 
AbstractButtonTester - class abbot.tester.AbstractButtonTester.
 
AbstractButtonTester() - Constructor for class abbot.tester.AbstractButtonTester
 
AbstractEventExceptionHandler - class abbot.util.AbstractEventExceptionHandler.
Handler for uncaught exceptions on any event dispatch thread.
AbstractEventExceptionHandler() - Constructor for class abbot.util.AbstractEventExceptionHandler
 
AbstractInternalFrameWatcher - class abbot.editor.recorder.AbstractInternalFrameWatcher.
 
AbstractInternalFrameWatcher(JInternalFrame) - Constructor for class abbot.editor.recorder.AbstractInternalFrameWatcher
 
accept(AWTEvent) - Method in class abbot.editor.recorder.SemanticRecorder
Returns whether this SemanticRecorder wishes to accept the given event and subsequent events.
accept(AWTEvent) - Method in class abbot.editor.recorder.ComponentRecorder
Returns whether this ComponentRecorder wishes to accept the given event.
accept(AWTEvent) - Method in class abbot.editor.recorder.JComponentRecorder
Add handling for JComponent input-mapped actions.
accept(AWTEvent) - Method in class abbot.editor.recorder.JComboBoxRecorder
Make sure we only operate on a JComboBox.
accept(AWTEvent) - Method in class abbot.editor.recorder.JInternalFrameRecorder
 
accept(AWTEvent) - Method in class abbot.editor.recorder.JTabbedPaneRecorder
 
accept(File) - Method in class abbot.script.ScriptFilter
Indicate whether the given file should appear in the browser.
accept(File) - Method in class junit.extensions.abbot.ScriptTestSuite
Return whether to accept the given file.
Action - class abbot.script.Action.
Encapsulate an action.
Action(Resolver, Map) - Constructor for class abbot.script.Action
 
Action(Resolver, String, String, String[]) - Constructor for class abbot.script.Action
Action for a method in the ComponentTester base class.
Action(Resolver, String, String, String[], Class) - Constructor for class abbot.script.Action
 
actionAccept(Component) - Method in class abbot.tester.FileDialogTester
Accept the currently selected file.
actionActionMap(Component, String) - Method in class abbot.tester.JComponentTester
Invoke an action from the component's action map.
actionActivate(Window) - Method in class abbot.tester.WindowTester
Activate the given Window.
actionCancel(Component) - Method in class abbot.tester.FileDialogTester
Close the file dialog without selecting a file.
actionClick(Component) - Method in class abbot.tester.ComponentTester
Click on the center of the component.
actionClick(Component) - Method in class abbot.tester.AbstractButtonTester
AbstractButton click action.
actionClick(Component, int) - Method in class abbot.tester.JTextComponentTester
Click at the given index position.
actionClick(Component, int, int) - Method in class abbot.tester.ComponentTester
Click on the component at the given location.
actionClick(Component, int, int, String) - Method in class abbot.tester.ComponentTester
Click on the component at the given location.
actionClick(Component, int, int, String, int) - Method in class abbot.tester.ComponentTester
Click on the component at the given location.
actionClickCell(Component, int, int) - Method in class abbot.tester.JTableTester
JTable select cell action.
actionClickCell(Component, int, int, String) - Method in class abbot.tester.JTableTester
JTable select cell action.
actionClickCell(Component, int, int, String, int) - Method in class abbot.tester.JTableTester
JTable select cell action.
actionClickIndex(Component, int) - Method in class abbot.tester.JListTester
Click the cell at the given index, using mouse button 1.
actionClickIndex(Component, int, String) - Method in class abbot.tester.JListTester
Click the cell at the given index, using the given button modifiers.
actionClickIndex(Component, int, String, int) - Method in class abbot.tester.JListTester
Click the cell at the given index, using the given button modifiers and click count.
actionClickRow(Component, int) - Method in class abbot.tester.JTreeTester
Simple click on the given row.
actionClickRow(Component, int, String) - Method in class abbot.tester.JTreeTester
Click with modifiers on the given row.
actionClickRow(Component, int, String, int) - Method in class abbot.tester.JTreeTester
Multiple click on the given row.
actionClickValue(Component, String) - Method in class abbot.tester.JListTester
Click on the given value using mouse button 1.
actionClickValue(Component, String, String) - Method in class abbot.tester.JListTester
Click on the given value, using the given button modifiers.
actionClickValue(Component, String, String, int) - Method in class abbot.tester.JListTester
Click on the given value, using the given button modifiers and click count.
actionClose(Component) - Method in class abbot.tester.WindowTester
 
actionClose(Component) - Method in class abbot.tester.JInternalFrameTester
Close the internal frame.
actionDeiconify(Component) - Method in class abbot.tester.FrameTester
Deiconify the given Frame.
actionDeiconify(Component) - Method in class abbot.tester.JInternalFrameTester
Deiconify the given Frame.
actionDelay(int) - Method in class abbot.tester.ComponentTester
Delay the given number of ms.
actionDrag(Component, int, int) - Method in class abbot.tester.ComponentTester
Perform a drag action.
actionDrag(Component, int, int, String) - Method in class abbot.tester.ComponentTester
Perform a drag action.
actionDragCell(Component, int, int) - Method in class abbot.tester.JTableTester
Initiate a drag operation at the given cell using mouse button 1.
actionDragCell(Component, int, int, String) - Method in class abbot.tester.JTableTester
Initiate a drag operation at the given cell, using the given button modifiers.
actionDrop(Component, int, int) - Method in class abbot.tester.ComponentTester
Perform a basic drop action (implicitly causing a preceding mouse drag).
actionDropAtCell(Component, int, int) - Method in class abbot.tester.JTableTester
Drop the current drag action on the given cell.
actionEndSelection(Component, int) - Method in class abbot.tester.JTextComponentTester
Terminate a selection on the given index.
actionEnterText(Component, String) - Method in class abbot.tester.JTextComponentTester
Type the given text into the given component, replacing any existing text already there.
ActionFailedException - exception abbot.tester.ActionFailedException.
Indicates that a ComponentTester action failed to execute properly.
ActionFailedException() - Constructor for class abbot.tester.ActionFailedException
 
ActionFailedException(String) - Constructor for class abbot.tester.ActionFailedException
 
actionFocus(Component) - Method in class abbot.tester.ComponentTester
Set the focus on to the given component.
actionIconify(Component) - Method in class abbot.tester.FrameTester
Iconify the given Frame.
actionIconify(Component) - Method in class abbot.tester.JInternalFrameTester
Iconify the given Frame.
actionKeyPress(String) - Method in class abbot.tester.ComponentTester
Used only for modifier keys.
actionKeyRelease(String) - Method in class abbot.tester.ComponentTester
Usually used only for modifier keys.
actionKeyString(String) - Method in class abbot.tester.ComponentTester
Send events required to generate the given string.
actionKeyStroke(String) - Method in class abbot.tester.ComponentTester
Send the given keystroke, which must be the KeyEvent field name of a KeyEvent VK_ constant to the program.
actionKeyStroke(String, String) - Method in class abbot.tester.ComponentTester
Send the given keystroke, which must be the KeyEvent field name of a KeyEvent VK_ constant to the program.
actionMakeVisible(Component, TreePath) - Method in class abbot.tester.JTreeTester
Ensure all elements of the given path are visible.
actionMaximize(Component) - Method in class abbot.tester.FrameTester
Maximize the given Frame.
actionMaximize(Component) - Method in class abbot.tester.JInternalFrameTester
 
actionMove(Component, int, int) - Method in class abbot.tester.WindowTester
Move the window to the given location.
actionMove(Component, int, int) - Method in class abbot.tester.JInternalFrameTester
Move the given internal frame.
actionMoveBy(Component, int, int) - Method in class abbot.tester.WindowTester
Move the window to the given location.
actionNormalize(Component) - Method in class abbot.tester.FrameTester
Normalize the given Frame.
actionNormalize(Component) - Method in class abbot.tester.JInternalFrameTester
 
actionPerformed(ActionEvent) - Method in class abbot.editor.ComponentBrowser
Generic action handler for buttons.
actionPerformed(ActionEvent) - Method in class abbot.editor.ScriptEditor
Respond to various components.
actionPerformed(ActionEvent) - Method in class abbot.editor.actions.EditorAction
 
actionPerformed(ActionEvent) - Method in class abbot.editor.actions.EditorToggleAction
 
actionPerformed(ActionEvent) - Method in class example.NumberChooser
 
actionResize(Component, int, int) - Method in class abbot.tester.WindowTester
Resize the given window.
actionResize(Component, int, int) - Method in class abbot.tester.JInternalFrameTester
Resize the given internal frame.
actionResizeBy(Component, int, int) - Method in class abbot.tester.WindowTester
Resize the given window.
actionScrollCellToVisible(Component, int) - Method in class abbot.tester.JListTester
Make sure the entire element at the given index is visible.
actionScrollCellToVisible(Component, int, int) - Method in class abbot.tester.JTableTester
Make sure the entire cell at the given index is visible.
actionScrollToVisible(Component, int, int) - Method in class abbot.tester.JComponentTester
Make sure the given rectangle is visible.
actionScrollToVisible(Component, int, int, int, int) - Method in class abbot.tester.JComponentTester
Make sure the given rectangle is visible.
actionSelect(Component, int, int) - Method in class abbot.tester.JTextComponentTester
Select the given range of text.
actionSelectAWTMenuItemByLabel(Frame, String) - Method in class abbot.tester.ComponentTester
 
actionSelectAWTPopupMenuItemByLabel(Component, String) - Method in class abbot.tester.ComponentTester
 
actionSelectCell(Component, int, int) - Method in class abbot.tester.JTableTester
Select the given cell, if not already.
actionSelectIndex(Component, int) - Method in class abbot.tester.JTabbedPaneTester
 
actionSelectIndex(Component, int) - Method in class abbot.tester.JListTester
Select the given index.
actionSelectIndex(Component, int) - Method in class abbot.tester.ChoiceTester
Select an item by index.
actionSelectIndex(Component, int) - Method in class abbot.tester.JComboBoxTester
 
actionSelectItem(Component, String) - Method in class abbot.tester.ChoiceTester
Select an item by its String representation.
actionSelectItem(Component, String) - Method in class abbot.tester.JComboBoxTester
 
actionSelectMenuItem(Component) - Method in class abbot.tester.ComponentTester
Select the given menu item.
actionSelectPath(Component, TreePath) - Method in class abbot.tester.JTreeTester
Select the given path, expanding parent nodes if necessary.
actionSelectPopupMenuItem(Component, int, int, String) - Method in class abbot.tester.ComponentTester
Pop up a menu at the given location on the given component; Select the given item.
actionSelectPopupMenuItem(Component, String) - Method in class abbot.tester.ComponentTester
Pop up a menu at the given location on the given component; Select the given item.
actionSelectPopupMenuItemAtCell(Component, int, int, String) - Method in class abbot.tester.JTableTester
Select a menu item from a popup menu at the given cell.
actionSelectPopupMenuItemAtIndex(Component, int, String) - Method in class abbot.tester.JListTester
Select an item from a popup menu on the given list at the given index.
actionSelectPopupMenuItemAtRow(Component, int, String) - Method in class abbot.tester.JTreeTester
Select a popup menu item at the given row.
actionSelectPopupMenuItemAtValue(Component, String, String) - Method in class abbot.tester.JListTester
Select an item from a popup menu on the given list at the given value.
actionSelectRow(Component, int) - Method in class abbot.tester.JTreeTester
Select the given row.
actionSelectTab(Component, String) - Method in class abbot.tester.JTabbedPaneTester
 
actionSelectValue(Component, String) - Method in class abbot.tester.JListTester
Select the first instance of the given value in the JList.
actionSetDirectory(Component, String) - Method in class abbot.tester.FileDialogTester
 
actionSetFile(Component, String) - Method in class abbot.tester.FileDialogTester
This sets the file path for the fd
actionShowPopupMenu(Component) - Method in class abbot.tester.ComponentTester
Pop up a menu in the center of the given component.
actionShowPopupMenu(Component, int, int) - Method in class abbot.tester.ComponentTester
Pop up a menu at the given location on the given component.
actionShowPopupMenuAtCell(Component, int, int) - Method in class abbot.tester.JTableTester
Activate a popup menu at the given cell.
actionShowPopupMenuAtIndex(Component, int) - Method in class abbot.tester.JListTester
Activate a popup menu on the given list at the given index.
actionShowPopupMenuAtRow(Component, int) - Method in class abbot.tester.JTreeTester
Activate a popup menu item at the given row.
actionShowPopupMenuAtValue(Component, String) - Method in class abbot.tester.JListTester
Activate a popup menu on the given list at the given value.
actionStartSelection(Component, int) - Method in class abbot.tester.JTextComponentTester
Start a selection at the given index.
actionText(Component, String) - Method in class abbot.tester.JTextComponentTester
Deprecated.  
actionToggleRow(Component, int) - Method in class abbot.tester.JTreeTester
Change the open/closed state of the given row, if possible.
actionWaitForIdle() - Method in class abbot.tester.ComponentTester
Wait for an idle AWT event queue.
activate(Window) - Method in class abbot.tester.Robot
Activate the given window.
add(Command) - Method in class abbot.editor.actions.CommandHistory
Add the given command to the command history.
addActionListener(ActionListener) - Method in class abbot.editor.recorder.SemanticRecorder
Supports at most one listener.
addActionListener(ActionListener) - Method in class abbot.editor.recorder.Recorder
The recorder supports zero or one listeners.
addActionListener(ActionListener) - Method in class example.ArrowButton
 
addAttributes(Element) - Method in class abbot.script.Step
 
addComponent(Component) - Method in interface abbot.Resolver
Add a new component to the existing collection.
addComponent(Component) - Method in class abbot.editor.ScriptEditor
From abbot.Resolver.
addComponent(Component) - Method in class abbot.script.Script
Add a new component reference for the given component.
addComponentReference(ComponentReference) - Method in interface abbot.Resolver
Add a new component reference to the existing collection.
addComponentReference(ComponentReference) - Method in class abbot.editor.ScriptEditor
From abbot.Resolver.
addComponentReference(ComponentReference) - Method in class abbot.script.Script
 
addComponentReference(Element) - Method in class abbot.script.Script
Add a new component reference to the script.
addContent(Element) - Method in class abbot.script.Step
Override if the step actually has some contents.
addContent(Element) - Method in class abbot.script.Sequence
 
addContent(Element) - Method in class abbot.script.Script
Save component references in addition to everything else.
addContent(Element) - Method in class abbot.script.Annotation
 
addDebugClass(Class) - Static method in class abbot.Log
Indicate the class to add to debug output.
addDebugClass(Class, int) - Static method in class abbot.Log
Indicate that debug messages should be output for the given class.
addDebugClass(String) - Static method in class abbot.Log
Indicate the class name[:depth] to add to debug output.
addPropertyChangeListener(PropertyChangeListener) - Method in class example.FontChooser
 
addPropertyChangeListener(PropertyChangeListener) - Method in class example.NumberChooser
 
addSelectionListener(ComponentBrowserListener) - Method in class abbot.editor.ComponentBrowser
 
addStep(int, Step) - Method in class abbot.script.Sequence
Inserts a step at the given index in the sequence.
addStep(int, Step) - Method in class abbot.script.Script
 
addStep(Step) - Method in class abbot.editor.ScriptEditor
Insert a new step at the current cursor location.
addStep(Step) - Method in class abbot.script.Sequence
Adds a step to the end of the sequence.
addStep(Step) - Method in class abbot.script.Script
 
addStepListener(StepListener) - Method in class abbot.script.StepRunner
 
Annotation - class abbot.script.Annotation.
Provides a method for communicating a message on the display.
Annotation(Resolver, Element, Map) - Constructor for class abbot.script.Annotation
 
Annotation(Resolver, String) - Constructor for class abbot.script.Annotation
 
AppClassLoader - class abbot.script.AppClassLoader.
A custom class loader which installs itself as if it were the application class loader.
AppClassLoader(String) - Constructor for class abbot.script.AppClassLoader
Constructs a AppClassLoader with a custom classpath, indicating whether the class loader should delegate to its parent class loader prior to searching for a given resource.
AppletSecurityManager - class abbot.script.AppletSecurityManager.
This security manager extends sun.applet.AppletSecurity b/c AppletViewer does some casts that assume that is the only security manager that will be installed.
AppletSecurityManager(SecurityManager) - Constructor for class abbot.script.AppletSecurityManager
 
ArgumentParser - class abbot.script.ArgumentParser.
Provide parsing of a String into an array of appropriately typed arguments.
ArrowButton - class example.ArrowButton.
Simple arrow button that fires one event when first clicked, then sends a stream of events while held down.
ArrowButton() - Constructor for class example.ArrowButton
 
ArrowButton(String) - Constructor for class example.ArrowButton
 
ArrowButtonTest - class example.ArrowButtonTest.
Simple unit tests for example.ArrowButton.
ArrowButtonTest(String) - Constructor for class example.ArrowButtonTest
 
Assert - class abbot.script.Assert.
Encapsulate an assertion (or a wait).
Assert(Resolver, Map) - Constructor for class abbot.script.Assert
Construct an assert step from XML.
Assert(Resolver, String, String, String[], Class, String, boolean) - Constructor for class abbot.script.Assert
Assertion provided by a ComponentTester subclass which operates on a Component subclass.
Assert(Resolver, String, String, String[], String, boolean) - Constructor for class abbot.script.Assert
Assertion provided by the ComponentTester class.
Assert(Resolver, String, String, String[], String, String, boolean) - Constructor for class abbot.script.Assert
Property assertion on Component subclass.
assertComponentShowing(ComponentReference) - Method in class abbot.tester.ComponentTester
Return whether the Component represented by the given ComponentReference is available.
assertFrameShowing(String) - Method in class abbot.tester.ComponentTester
Returns whether a Window corresponding to the given String is showing.
assertImage(Component, File, boolean) - Method in class abbot.tester.ComponentTester
Return whether the component's contents matches the given image.
AssertionFailedError - error abbot.AssertionFailedError.
Indirect usage to avoid too much direct linkage to JUnit.
AssertionFailedError() - Constructor for class abbot.AssertionFailedError
 
AssertionFailedError(String) - Constructor for class abbot.AssertionFailedError
 
assertNotSwing() - Static method in class abbot.Log
Assert that the current thread is NOT the swing thread.
assertSwing() - Static method in class abbot.Log
Assert that the current thread is the swing thread.
assertTrue(boolean) - Static method in class abbot.Log
Basic assertion.
assertTrue(String, boolean) - Static method in class abbot.Log
Standard assert, with a message provided since java can't easily stringify a boolean expression.
autoscroll(Point) - Method in class abbot.editor.ScriptTable
 
availableFonts - Static variable in class example.FontChooser
 
AWT - class abbot.util.AWT.
Various AWT utilities.
AWTCode - class example.AWTCode.
 
AWTCode() - Constructor for class example.AWTCode
 

B

bold - Variable in class example.FontChooser
 
bugCheck(Window) - Static method in class abbot.tester.Robot
Check for all known robot-related bugs that will affect Abbot operation.
BugReport - error abbot.BugReport.
Exception for reporting unexpected situations in the program.
BugReport(String) - Constructor for class abbot.BugReport
 
BugReport(String, Throwable) - Constructor for class abbot.BugReport
 
BUNDLE - Static variable in class abbot.i18n.Strings
 
BUTTON_MASK - Static variable in class abbot.tester.Robot
 

C

Call - class abbot.script.Call.
Class for script steps that want to invoke a method on a class.
Call(Resolver, Map) - Constructor for class abbot.script.Call
 
Call(Resolver, String, String, String, String[]) - Constructor for class abbot.script.Call
 
canDrag() - Method in class abbot.editor.recorder.ComponentRecorder
Default to recording a drag if it looks like one.
canDrag() - Method in class abbot.editor.recorder.AbstractButtonRecorder
Usually don't bother tracking drags/drops on buttons.
canMoveDown() - Method in class abbot.editor.ScriptTable
 
canMoveUp() - Method in class abbot.editor.ScriptTable
 
canMoveWindows() - Static method in class abbot.tester.Robot
Returns whether it is possible to move windows that are not an instance of Frame or Dialog.
canMultipleClick() - Method in class abbot.editor.recorder.ComponentRecorder
Default to waiting for multiple clicks.
canMultipleClick() - Method in class abbot.editor.recorder.AbstractButtonRecorder
Usually aren't interested in multiple clicks on a button.
canMultipleClick() - Method in class abbot.editor.recorder.JComboBoxRecorder
 
canResizeWindows() - Static method in class abbot.tester.Robot
Returns whether it is possible to resize windows that are not an instance of Frame or Dialog.
canUndo() - Method in class abbot.editor.actions.CommandHistory
 
capture(Component) - Method in class abbot.tester.Robot
Capture the contents of the given component, sans any border or insets.
capture(Component, boolean) - Method in class abbot.tester.Robot
Capture the contents of the given component, optionally including the border and/or insets.
capture(Rectangle) - Method in class abbot.tester.Robot
Capture the contents of the given rectangle.
cellToPoint(Component, int, int) - Method in class abbot.tester.JTableTester
 
checkEnableOK(ListSelectionEvent) - Method in class abbot.editor.TestSelector
 
checkExit(int) - Method in class abbot.NoExitSecurityManager
 
checkExit(int) - Method in class abbot.script.AppletSecurityManager
 
checkPermission(Permission) - Method in class abbot.NoExitSecurityManager
 
checkPermission(Permission) - Method in class abbot.script.AppletSecurityManager
 
checkPermission(Permission) - Method in class abbot.util.ThreadTerminatingSecurityManager
Throw ThreadTerminated for any thread marked for termination.
checkPermission(Permission, Object) - Method in class abbot.NoExitSecurityManager
 
checkPermission(Permission, Object) - Method in class abbot.script.AppletSecurityManager
 
checkPermission(Permission, Object) - Method in class abbot.util.ThreadTerminatingSecurityManager
Throw ThreadTerminated for any thread marked for termination.
ChoiceRecorder - class abbot.editor.recorder.ChoiceRecorder.
Record basic semantic events you might find on an Choice component.
ChoiceRecorder(Resolver) - Constructor for class abbot.editor.recorder.ChoiceRecorder
 
ChoiceTester - class abbot.tester.ChoiceTester.
AWT Choice (ComboBox) support.
ChoiceTester() - Constructor for class abbot.tester.ChoiceTester
 
clamp(int) - Method in class example.NumberChooser
 
clear() - Method in class abbot.editor.ComponentPropertyModel
 
clear() - Method in class abbot.editor.actions.CommandHistory
 
clear() - Method in class abbot.script.Sequence
Remove all stepchildren.
clear() - Method in class abbot.script.Script
Set up a blank script, discarding any current state.
clear() - Static method in class junit.extensions.abbot.ComponentTestFixture.ExceptionCatcher
 
clearErrors() - Method in class abbot.script.StepRunner
 
click(Component) - Method in class abbot.tester.Robot
Click in the center of the given component.
click(Component, int) - Method in class abbot.tester.Robot
 
click(Component, int, int) - Method in class abbot.tester.Robot
 
click(Component, int, int, int) - Method in class abbot.tester.Robot
 
click(Component, int, int, int, int) - Method in class abbot.tester.Robot
Click in the given part of the component.
clone() - Method in class abbot.script.StepEvent
 
close() - Static method in class abbot.Log
 
close(Window) - Method in class abbot.tester.Robot
Invoke the window close operation.
closeWindows() - Method in class abbot.DefaultComponentFinder
Send an explicit window close event to all showing windows.
closeWindows() - Method in interface abbot.ComponentFinder
Send close events to all available showing windows.
Command - interface abbot.editor.actions.Command.
 
CommandHistory - class abbot.editor.actions.CommandHistory.
Keep a history of commands, enabling potentially unlimited undo.
CommandHistory() - Constructor for class abbot.editor.actions.CommandHistory
 
Comment - class abbot.script.Comment.
Represents a comment.
Comment(Resolver, Map) - Constructor for class abbot.script.Comment
 
Comment(Resolver, String) - Constructor for class abbot.script.Comment
 
compare(Object, Object) - Method in class abbot.tester.ImageComparator
Compare two images.
compare(Object, Object) - Method in class abbot.tester.FileComparator
Read files into streams and call byte by byte comparison method
ComponentBrowser - class abbot.editor.ComponentBrowser.
Browse an existing component hierarchy.
ComponentBrowser(Resolver, ComponentFinder) - Constructor for class abbot.editor.ComponentBrowser
Default constructor
ComponentBrowserListener - interface abbot.editor.ComponentBrowserListener.
 
componentDelay - Static variable in class abbot.tester.Robot
Delay before failing to find a component that should be visible.
ComponentFinder - interface abbot.ComponentFinder.
Interface to support looking up existing components based on a number of different criteria.
componentHidden(ComponentEvent) - Method in class abbot.editor.recorder.AbstractInternalFrameWatcher
 
ComponentMissingException - exception abbot.tester.ComponentMissingException.
Indicates that a component required by a ComponentTester action was not found.
ComponentMissingException() - Constructor for class abbot.tester.ComponentMissingException
 
ComponentMissingException(String) - Constructor for class abbot.tester.ComponentMissingException
 
componentMoved(ComponentEvent) - Method in class abbot.editor.recorder.AbstractInternalFrameWatcher
 
ComponentNode - class abbot.editor.ComponentNode.
 
ComponentNode() - Constructor for class abbot.editor.ComponentNode
 
ComponentNode(ComponentNode, Component) - Constructor for class abbot.editor.ComponentNode
 
ComponentNode(ComponentNode, MenuComponent) - Constructor for class abbot.editor.ComponentNode
 
ComponentNode(ComponentNode, MenuItem) - Constructor for class abbot.editor.ComponentNode
 
ComponentNotFoundException - exception abbot.ComponentNotFoundException.
Indicates no component could be found, where one was required.
ComponentNotFoundException() - Constructor for class abbot.ComponentNotFoundException
 
ComponentNotFoundException(String) - Constructor for class abbot.ComponentNotFoundException
 
ComponentNotShowingException - exception abbot.tester.ComponentNotShowingException.
Indicates that a ComponentTester action failed due to the component not being visible on screen.
ComponentNotShowingException() - Constructor for class abbot.tester.ComponentNotShowingException
 
ComponentNotShowingException(String) - Constructor for class abbot.tester.ComponentNotShowingException
 
ComponentPropertyModel - class abbot.editor.ComponentPropertyModel.
 
ComponentPropertyModel() - Constructor for class abbot.editor.ComponentPropertyModel
Create a model with two columns, the property name and the property value.
ComponentRecorder - class abbot.editor.recorder.ComponentRecorder.
Record basic semantic events you might find on any component.
ComponentRecorder(Resolver) - Constructor for class abbot.editor.recorder.ComponentRecorder
Create a ComponentRecorder for use in capturing the semantics of a GUI action.
ComponentReference - class abbot.script.ComponentReference.
Encapsulate as much information as is available to identify a GUI component.
ComponentReference(Resolver, Class, Map) - Constructor for class abbot.script.ComponentReference
 
ComponentReference(Resolver, Component) - Constructor for class abbot.script.ComponentReference
Create a reference based on the given component.
ComponentReference(Resolver, Component, boolean) - Constructor for class abbot.script.ComponentReference
Create a reference based on the given component.
ComponentReference(Resolver, Element) - Constructor for class abbot.script.ComponentReference
For creation from XML.
ComponentReference(String, Class) - Constructor for class abbot.script.ComponentReference
For general component lookup by class name.
ComponentReference(String, Class, String, String) - Constructor for class abbot.script.ComponentReference
For general component lookup.
ComponentReference(String, Class, String, String, String) - Constructor for class abbot.script.ComponentReference
For general component lookup.
ComponentReference(String, Class, String, String, String, ComponentReference, int) - Constructor for class abbot.script.ComponentReference
For general component lookup.
ComponentReference(String, Class, String, String, String, ComponentReference, int, ComponentReference) - Constructor for class abbot.script.ComponentReference
For general component lookup.
componentResized(ComponentEvent) - Method in class abbot.editor.recorder.AbstractInternalFrameWatcher
 
components - Variable in class abbot.MultipleComponentsFoundException
 
ComponentSearchException - exception abbot.ComponentSearchException.
General exception class which encapsulates all failures generated attempting to find a component in the currently available GUI.
ComponentSearchException() - Constructor for class abbot.ComponentSearchException
 
ComponentSearchException(String) - Constructor for class abbot.ComponentSearchException
 
componentShown(ComponentEvent) - Method in class abbot.editor.recorder.AbstractInternalFrameWatcher
 
ComponentTester - class abbot.tester.ComponentTester.
Provide basic actions and assertions for anything of class Component.
ComponentTester() - Constructor for class abbot.tester.ComponentTester
 
ComponentTestFixture - class junit.extensions.abbot.ComponentTestFixture.
Simple wrapper for testing components under JUnit.
ComponentTestFixture.ExceptionCatcher - class junit.extensions.abbot.ComponentTestFixture.ExceptionCatcher.
Provide access to the most recent exception caught on the dispatch thread.
ComponentTestFixture.ExceptionCatcher() - Constructor for class junit.extensions.abbot.ComponentTestFixture.ExceptionCatcher
 
ComponentTestFixture(String) - Constructor for class junit.extensions.abbot.ComponentTestFixture
Construct a test case with the given name.
Condition - interface abbot.Condition.
Abstract a condition test.
configurePropertiesFromAction(Action) - Method in class abbot.editor.CustomCheckBoxMenuItem
 
ContainerRecorder - class abbot.editor.recorder.ContainerRecorder.
Record basic semantic events you might find on an Container.
ContainerRecorder(Resolver) - Constructor for class abbot.editor.recorder.ContainerRecorder
 
ContainerTester - class abbot.tester.ContainerTester.
 
ContainerTester() - Constructor for class abbot.tester.ContainerTester
 
convertPath(TreeModel, TreePath) - Method in class abbot.tester.JTreeTester
 
convertPathToFiles(String, String) - Static method in class abbot.util.PathClassLoader
 
convertPathToFiles(String, String, boolean) - Static method in class abbot.util.PathClassLoader
 
Costello - class abbot.editor.Costello.
Simple splash screen for the script editor.
Costello() - Constructor for class abbot.editor.Costello
 
createActionMap(JComponent, String) - Method in class abbot.editor.recorder.JComponentRecorder
Create a JComponent input-mapped action invocation.
createActionPropertyChangeListener(Action) - Method in class abbot.editor.CustomCheckBoxMenuItem
 
createAttributeMap(Element) - Static method in class abbot.script.Step
 
createAWTMenuSelection(Frame, MenuItem) - Method in class abbot.editor.recorder.ComponentRecorder
 
createClick(Component, int, int, int, int) - Method in class abbot.editor.recorder.ComponentRecorder
Create a click event with the given event information.
createClick(Component, int, int, int, int) - Method in class abbot.editor.recorder.AbstractButtonRecorder
Create a button-specific click action.
createClick(Component, int, int, int, int) - Method in class abbot.editor.recorder.JListRecorder
Create a click referencing the String value that was clicked.
createClick(Component, int, int, int, int) - Method in class abbot.editor.recorder.JTabbedPaneRecorder
Parse clicks, notably those that select a tab.
createClick(Component, int, int, int, int) - Method in class abbot.editor.recorder.JTextComponentRecorder
The text component click should click on the text index instead of a mouse coordinate.
createClick(Component, int, int, int, int) - Method in class abbot.editor.recorder.JTableRecorder
Normally, a click in a table results in selection of a given cell.
createClick(Component, int, int, int, int) - Method in class abbot.editor.recorder.JTreeRecorder
Normally, a click in a table results in selection of a given cell.
createClose(Window) - Method in class abbot.editor.recorder.WindowRecorder
 
createDrag(Component, int, int) - Method in class abbot.editor.recorder.ComponentRecorder
 
createDrop(Component, int, int) - Method in class abbot.editor.recorder.ComponentRecorder
 
createDrop(Component, int, int) - Method in class abbot.editor.recorder.JTextComponentRecorder
 
createFileDialogEvents(FileDialog, String, String) - Method in class abbot.editor.recorder.FileDialogRecorder
Create one or more steps corresponding to what was done to the file dialog.
createFrameStateChange(Frame, int) - Method in class abbot.editor.recorder.FrameRecorder
 
createInputMethod(ArrayList, String) - Method in class abbot.editor.recorder.ComponentRecorder
 
createInternalFrameAction(JInternalFrame, String) - Method in class abbot.editor.recorder.JInternalFrameRecorder
 
createKey(Component, char, int) - Method in class abbot.editor.recorder.ComponentRecorder
 
createMenuSelection(Component) - Method in class abbot.editor.recorder.ComponentRecorder
 
createMove(Window, Point) - Method in class abbot.editor.recorder.WindowRecorder
 
createPopupMenuSelection(Component, int, int, Component) - Method in class abbot.editor.recorder.ComponentRecorder
 
createResize(Window, Dimension) - Method in class abbot.editor.recorder.WindowRecorder
 
createResize(Window, Dimension) - Method in class abbot.editor.recorder.DialogRecorder
 
createResize(Window, Dimension) - Method in class abbot.editor.recorder.FrameRecorder
 
createSelection(Choice, String) - Method in class abbot.editor.recorder.ChoiceRecorder
 
createSelection(JComboBox, int) - Method in class abbot.editor.recorder.JComboBoxRecorder
 
createStep() - Method in class abbot.editor.recorder.SemanticRecorder
Create a step based on the events received thus far.
createStep() - Method in class abbot.editor.recorder.ComponentRecorder
Returns the script step generated from the events recorded so far.
createStep() - Method in class abbot.editor.recorder.WindowRecorder
 
createStep() - Method in class abbot.editor.recorder.FileDialogRecorder
 
createStep() - Method in class abbot.editor.recorder.Recorder
Create a step or sequence of steps based on the event stream so far.
createStep() - Method in class abbot.editor.recorder.JComponentRecorder
Add handling for JComponent input-mapped actions.
createStep() - Method in class abbot.editor.recorder.ChoiceRecorder
 
createStep() - Method in class abbot.editor.recorder.JComboBoxRecorder
 
createStep() - Method in class abbot.editor.recorder.EventRecorder
Return a sequence containing all the semantic and basic events captured thus far.
createStep() - Method in class abbot.editor.recorder.JInternalFrameRecorder
 
createStep() - Method in class abbot.editor.recorder.FrameRecorder
 
createStep() - Method in class abbot.editor.recorder.JTextComponentRecorder
 
createStep(Resolver, Element) - Static method in class abbot.script.Step
Factory method, equivalent to a "fromXML" for step creation.
createStep(Resolver, String) - Static method in class abbot.script.Step
Create a new step from an in-line XML string.
createWindowEvent(Window, boolean) - Method in class abbot.editor.recorder.ComponentRecorder
Create a wait for the window show/hide.
CustomCheckBoxMenuItem - class abbot.editor.CustomCheckBoxMenuItem.
A custom JCheckBoxMenuItem that listens to the selected state of its toggle action.
CustomCheckBoxMenuItem(EditorToggleAction) - Constructor for class abbot.editor.CustomCheckBoxMenuItem
 
CustomTextField - class example.CustomTextField.
 
CustomTextField(String) - Constructor for class example.CustomTextField
 

D

DEBUG_BUILD - Static variable in class abbot.Log
Global final to determine whether debugging code is generated.
debug() - Static method in class abbot.Log
Print an empty debug message.
debug(Class, String) - Static method in class abbot.Log
Use this version for performance-critical/high traffic areas
debug(Object) - Static method in class abbot.Log
Print a debug message using the object given stringified as the message.
debug(String) - Static method in class abbot.Log
Print a debug message.
debug(String, int) - Static method in class abbot.Log
Print a debug message with the given number of stack lines.
debug(Throwable) - Static method in class abbot.Log
Similar to warn(Throwable).
decodeStep(Sequence, String) - Static method in class abbot.script.ForkedStepRunner
 
DEFAULT_INTERVAL - Static variable in class abbot.script.Assert
Default interval between checking the assertion in a wait.
DEFAULT_TIMEOUT - Static variable in class abbot.script.Assert
Default timeout before a wait will indicate failure.
DefaultComponentFinder - class abbot.DefaultComponentFinder.
Basic component lookup implementation.
defaultDelay - Static variable in class abbot.tester.Robot
Base delay setting.
deiconify(Frame) - Method in class abbot.tester.Robot
 
delay(int) - Method in class abbot.tester.Robot
Sleep the given duration of ms.
delegates() - Method in class abbot.script.Launch
 
deriveAccessibleTag(AccessibleContext) - Method in class abbot.tester.ComponentTester
Derive a tag from the given accessible context if possible, or return null.
deriveTag(Component) - Method in class abbot.tester.ComponentTester
Provide a String that is fairly distinct for the given component.
deriveTag(Component) - Method in class abbot.tester.JComponentTester
Derive a tag for identifying this component.
deriveTag(Component) - Method in class abbot.tester.JLabelTester
 
deriveTag(Component) - Method in class abbot.tester.AbstractButtonTester
 
deriveTag(Component) - Method in class abbot.tester.JMenuItemTester
 
deriveTag(Component) - Method in class abbot.tester.JPopupMenuTester
Return an identifying tag for the popup menu.
deriveTag(Component) - Method in class abbot.tester.WindowTester
The window's size seems as good an ID as any.
deriveTag(Component) - Method in class abbot.tester.FrameTester
Return a unique tag to help identify the given component.
deriveTag(Component) - Method in class abbot.tester.JRootPaneTester
Return a unique identifier for the given Component.
deriveTag(Component) - Method in class abbot.tester.DialogTester
Return a unique tag to help identify the given component.
destroyRoller() - Method in class example.ArrowButton
 
DIALOG_WRAP - Static variable in class abbot.editor.TextFormat
 
dialog(String) - Static method in class abbot.editor.TextFormat
Emit html, suitably line-wrapped and formatted for a dialog.
DialogRecorder - class abbot.editor.recorder.DialogRecorder.
Record basic semantic events you might find on an Window.
DialogRecorder(Resolver) - Constructor for class abbot.editor.recorder.DialogRecorder
 
DialogTester - class abbot.tester.DialogTester.
 
DialogTester() - Constructor for class abbot.tester.DialogTester
 
disableHierarchy(Component) - Static method in class abbot.util.AWT
Disable a component hierarchy starting at the given component.
dispatch(AWTEvent) - Method in class abbot.editor.recorder.AbstractInternalFrameWatcher
 
displayString(String) - Static method in class abbot.editor.TestSelector.TestCellRenderer
 
dispose() - Method in class abbot.editor.ScriptEditorFrame
 
dispose() - Method in class abbot.editor.ScriptEditor
 
dispose() - Method in class abbot.tester.InputState
 
disposeWindows() - Method in class abbot.DefaultComponentFinder
Dispose of all available windows, and does not return until they have been disposed of.
disposeWindows() - Method in interface abbot.ComponentFinder
Discard all currently available windows.
down - Variable in class example.NumberChooser
 
DOWN - Static variable in class example.ArrowButton
Directions.
drag(Component, int, int) - Method in class abbot.tester.Robot
Begin a drag operation using button 1.
drag(Component, int, int, int) - Method in class abbot.tester.Robot
Begin a drag operation using the given button mask.
dragMask - Variable in class abbot.tester.Robot
 
dragOver(Component, int, int) - Method in class abbot.tester.Robot
Move the mouse appropriately to get from the source to the destination.
dragStarted(Component, int, int, int, MouseEvent) - Method in class abbot.editor.recorder.ComponentRecorder
Returns whether the first drag motion event should be consumed.
dragStarted(Component, int, int, int, MouseEvent) - Method in class abbot.editor.recorder.JTextComponentRecorder
Coalesce initial click with subsequent drags to produce a selection.
drawCursor(Graphics, int) - Method in class abbot.editor.ScriptTable
 
drop(Component, int, int) - Method in class abbot.tester.Robot
End a drag operation, releasing the mouse button over the given target location.

E

EditorAction - class abbot.editor.actions.EditorAction.
Encapsulate GUI attributes for an editor action.
EditorAction(int, String, ActionListener) - Constructor for class abbot.editor.actions.EditorAction
 
EditorConstants - interface abbot.editor.EditorConstants.
Common constants for editor actions.
EditorConstants.Accelerator - class abbot.editor.EditorConstants.Accelerator.
 
EditorConstants.Accelerator() - Constructor for class abbot.editor.EditorConstants.Accelerator
 
EditorToggleAction - class abbot.editor.actions.EditorToggleAction.
Encapsulate GUI attributes for an editor action.
EditorToggleAction(int, String, ActionListener) - Constructor for class abbot.editor.actions.EditorToggleAction
 
elapsed() - Method in class junit.extensions.abbot.Timer
Return the number of milliseconds elapsed since the last timer reset.
elapsed(Runnable) - Method in class junit.extensions.abbot.Timer
Return the length of time elapsed to run the given runnable.
EM_AWT - Static variable in class abbot.tester.Robot
Post events to the AWT event queue.
EM_PROG - Static variable in class abbot.tester.Robot
Use programmatic control where possible (only partly implemented).
EM_ROBOT - Static variable in class abbot.tester.Robot
Use java.awt.Robot to generate events.
enableLogging(String) - Static method in class abbot.Log
Enable log output to the given file.
encode(String) - Static method in class abbot.script.Call
 
encodeStep(Sequence, Step) - Static method in class abbot.script.ForkedStepRunner
Encode the given step into a set of indices.
endSelection(Component, int) - Method in class abbot.tester.JTextComponentTester
 
equals(Object) - Method in class abbot.editor.ComponentNode
Return true if the represented components are the same.
equals(Object) - Method in class abbot.script.ComponentReference
Two ComponentReferences with identical XML representations should be equal.
equals(Object) - Method in class abbot.tester.ImageComparator
Comparators are equal if they're the same class.
equals(Object) - Method in class abbot.tester.FileComparator
Comparators are equal if they're the same class.
equals(Object, Object) - Static method in class abbot.util.ExtendedComparator
Perform piecewise comparisons of arrays in addition to regular comparisons.
eval(Resolver, String[], Class[]) - Static method in class abbot.script.ArgumentParser
Evaluate the given set of arguments into the given set of types.
eval(Resolver, String, Class) - Static method in class abbot.script.ArgumentParser
Convert the given string into the given class, if possible, using any available parsers if conversion to basic types fails.
evaluateAssertion() - Method in class abbot.script.Assert
Check the assertion.
Event - class abbot.script.Event.
Script step to generate a single AWT event to a component.
EVENT_GENERATION_DELAY - Static variable in class junit.extensions.abbot.ComponentTestFixture
Typical delay to wait for a robot event to be translated into a Java event.
Event(Resolver, Map) - Constructor for class abbot.script.Event
 
Event(Resolver, String, AWTEvent) - Constructor for class abbot.script.Event
Create one based on the given event.
eventDispatched(AWTEvent) - Method in class abbot.editor.recorder.Recorder
Implement this to actually handle the event.
eventDispatched(AWTEvent) - Method in class abbot.editor.recorder.EventRecorder
Handle an event.
eventDispatched(AWTEvent) - Method in class abbot.util.SingleThreadedEventListener
Event reception callback.
eventDispatched(AWTEvent) - Method in class abbot.util.EventNormalizer
Event reception callback.
EventExceptionHandler - class abbot.script.EventExceptionHandler.
 
EventExceptionHandler() - Constructor for class abbot.script.EventExceptionHandler
 
EventNormalizer - class abbot.util.EventNormalizer.
Provide an AWTEventListener which normalizes the event stream.
EventNormalizer() - Constructor for class abbot.util.EventNormalizer
 
EventRecorder - class abbot.editor.recorder.EventRecorder.
Provides recording of raw AWT events and high-level semantic events.
EventRecorder(Resolver, boolean) - Constructor for class abbot.editor.recorder.EventRecorder
Create a Recorder for use in capturing raw AWTEvents.
events - Variable in class abbot.editor.recorder.SemanticRecorder
 
example - package example
Miscellaneous examples demonstrating Abbot usage.
exceptionCaught(Throwable) - Method in class abbot.script.EventExceptionHandler
 
exceptionCaught(Throwable) - Method in class abbot.util.AbstractEventExceptionHandler
Define this to handle the exception as needed.
exceptionCaught(Throwable) - Method in class junit.extensions.abbot.ComponentTestFixture.ExceptionCatcher
 
execute() - Method in interface abbot.editor.actions.Command
 
exitCalled(int) - Method in class abbot.NoExitSecurityManager
Implement this method to do any context-specific cleanup.
ExitException - exception abbot.ExitException.
Provide a tagging interface and storage for attempted exits from code under test.
ExitException(String, int) - Constructor for class abbot.ExitException
 
expectDebugOutput - Static variable in class abbot.Log
Whether any debugging output is enabled.
ExtendedComparator - class abbot.util.ExtendedComparator.
Utility class to perform comparisons.

F

field - Variable in class example.NumberChooser
 
FileComparator - class abbot.tester.FileComparator.
Compare two files or filenames.
FileComparator() - Constructor for class abbot.tester.FileComparator
 
FileDialogRecorder - class abbot.editor.recorder.FileDialogRecorder.
Recorder for the java.awt.FileDialog.
FileDialogRecorder(Resolver) - Constructor for class abbot.editor.recorder.FileDialogRecorder
Create a FileDialogRecorder for use in capturing the semantics of a GUI action.
FileDialogTester - class abbot.tester.FileDialogTester.
Tester for the java.awt.FileDialog.
FileDialogTester() - Constructor for class abbot.tester.FileDialogTester
 
filterComponent(Component) - Method in class abbot.DefaultComponentFinder
 
filterComponent(Component) - Method in interface abbot.ComponentFinder
Don't return the given component in any queries.
findActivePopupMenu(Component) - Method in class abbot.DefaultComponentFinder
Returns the currently active popup menu with the given invoker.
findActivePopupMenu(Component) - Method in interface abbot.ComponentFinder
Find the active popup menu invoked by the given component.
findClass(String) - Method in class abbot.script.AppClassLoader
Finds and loads the class with the specified name from the search path.
findClass(String) - Method in class abbot.util.NonDelegatingClassLoader
Find the given class in the search path.
findComboList(JComboBox) - Method in class abbot.tester.JComboBoxTester
Find the JList in the popup raised by this combo box.
findComponent(ComponentReference) - Method in class abbot.DefaultComponentFinder
Attempt to find the component corresponding to the given reference among existing, visible components.
findComponent(ComponentReference) - Method in interface abbot.ComponentFinder
Attempt to find the given component.
findFilenames(String, boolean) - Static method in class junit.extensions.abbot.ScriptTestSuite
Scan for test scripts and return an array of filenames for all scripts found.
findFocusOwner() - Static method in class abbot.tester.Robot
Return the Component which currently owns the focus.
findInHierarchy(ComponentFinder) - Method in class abbot.script.ComponentReference
Using the given finder to read the current hierarchy, match this reference against an existing component.
findMenuItemByName(Component, String) - Method in class abbot.DefaultComponentFinder
 
findMenuItemByName(Component, String) - Method in interface abbot.ComponentFinder
Look up the first menu item below root with the given title.
findTestScripts(File, List, boolean) - Static method in class junit.extensions.abbot.ScriptTestSuite
Add all test scripts in the given directory, optionally recursing to subdirectories.
findWindow(String) - Method in class abbot.DefaultComponentFinder
Return the window with the given name or title.
findWindow(String) - Method in interface abbot.ComponentFinder
Find the first showing window with a name or title that matches the given string.
fireActionEvent() - Method in class example.ArrowButton
 
fireActionPerformed() - Method in class abbot.editor.TextField
 
fireActionPerformed(String) - Method in class abbot.editor.TextField
 
firePropertyCheck(boolean) - Method in class abbot.editor.ComponentBrowser
 
fireSelectionChanged() - Method in class abbot.editor.ComponentBrowser
 
fireStateChange() - Method in class example.FontChooser
update our internal font, then tell everyone about it
fireStepEnd(Step) - Method in class abbot.script.StepRunner
 
fireStepError(Step, Throwable) - Method in class abbot.script.StepRunner
 
fireStepEvent(StepEvent) - Method in class abbot.script.StepRunner
If this is used to propagate a failure/error, be sure to invoke setError on the step first.
fireStepFailure(Step, Throwable) - Method in class abbot.script.StepRunner
 
fireStepProgress(Step, int) - Method in class abbot.script.StepRunner
 
fireStepStart(Step) - Method in class abbot.script.StepRunner
 
fireValueChange(int) - Method in class example.NumberChooser
 
fLeafIcon - Variable in class abbot.editor.TestSelector.TestCellRenderer
 
FOCUS_LOST - Static variable in class abbot.editor.TextField
 
focus(Component) - Method in class abbot.tester.Robot
Move keyboard focus to the given component.
focus(Component, boolean) - Method in class abbot.tester.Robot
Move keyboard focus to the given component.
FontChooser - class example.FontChooser.
Select a font
FontChooser() - Constructor for class example.FontChooser
 
FontChooserTest - class example.FontChooserTest.
JUnit test case for the FontChooser GUI component.
FontChooserTest(String) - Constructor for class example.FontChooserTest
Construct a test case with the given name.
fork(String) - Method in class abbot.script.ForkedStepRunner
Launch a new process, using this class as the main class.
fork(String, String[]) - Method in class abbot.script.ForkedStepRunner
 
ForkedStepRunner - class abbot.script.ForkedStepRunner.
A StepRunner that runs the step in a separate VM.
ForkedStepRunner.ForkedError - exception abbot.script.ForkedStepRunner.ForkedError.
An exception that for all purposes looks like another exception.
ForkedStepRunner.ForkedError(ForkedStepRunner, String, String, String) - Constructor for class abbot.script.ForkedStepRunner.ForkedError
 
ForkedStepRunner.ForkedFailure - error abbot.script.ForkedStepRunner.ForkedFailure.
An exception that for all purposes looks like another exception.
ForkedStepRunner.ForkedFailure(ForkedStepRunner, String, String, String) - Constructor for class abbot.script.ForkedStepRunner.ForkedFailure
 
ForkedStepRunner.SlaveStepRunner - class abbot.script.ForkedStepRunner.SlaveStepRunner.
When actually within the separate VM, this is what gets run.
ForkedStepRunner.SlaveStepRunner() - Constructor for class abbot.script.ForkedStepRunner.SlaveStepRunner
 
ForkedStepRunner() - Constructor for class abbot.script.ForkedStepRunner
 
FrameRecorder - class abbot.editor.recorder.FrameRecorder.
Record basic semantic events you might find on an Window.
FrameRecorder(Resolver) - Constructor for class abbot.editor.recorder.FrameRecorder
 
FrameTester - class abbot.tester.FrameTester.
 
FrameTester() - Constructor for class abbot.tester.FrameTester
 
fromXML(String) - Method in class abbot.script.ComponentReference
Set all options based on the given XML.
fSuiteIcon - Variable in class abbot.editor.TestSelector.TestCellRenderer
 
FULL_STACK - Static variable in class abbot.Log
Mnemonic to print all lines of a stack trace.

G

generateSuite(Class[]) - Static method in class junit.extensions.abbot.TestHelper
 
get(String) - Static method in class abbot.editor.EditorConstants.Accelerator
 
get(String) - Static method in class abbot.i18n.Strings
Returns the localized string for the given key, or the key surrounded by '#' if no corresponding localized string is found.
get(String, boolean) - Static method in class abbot.i18n.Strings
Returns the localized string for the given key.
get(String, Object[]) - Static method in class abbot.i18n.Strings
Returns a formatted localized string for the given key and arguments, or the key if no corresponding localized string is found.
getAcceleratorKey() - Method in class abbot.editor.actions.EditorAction
 
getAction(KeyEvent) - Method in class abbot.editor.recorder.JComponentRecorder
 
getActions() - Method in class abbot.tester.ComponentTester
Return a list of all actions defined by this class that don't depend on a component argument.
getArgs() - Method in class abbot.script.Call
Return the arguments as an array of String.
getAssertMethods() - Method in class abbot.tester.ComponentTester
Return a list of all assertions defined by this class that don't depend on a component argument.
getAttribute(String) - Method in class abbot.script.Event
 
getAttribute(String) - Method in class abbot.script.ComponentReference
 
getAttributes() - Method in class abbot.script.Step
Attributes to save in script.
getAttributes() - Method in class abbot.script.Event
 
getAttributes() - Method in class abbot.script.Script
Provide XML attributes for this Step.
getAttributes() - Method in class abbot.script.Annotation
 
getAttributes() - Method in class abbot.script.Call
Attributes to save in script.
getAttributes() - Method in class abbot.script.PropertyCall
Save attributes specific to this Step class.
getAttributes() - Method in class abbot.script.Sample
 
getAttributes() - Method in class abbot.script.Action
Return custom attributes for an Action.
getAttributes() - Method in class abbot.script.Assert
 
getAttributes() - Method in class abbot.script.Launch
 
getAutoDelay() - Static method in class abbot.tester.Robot
 
getAutoscrollInsets() - Method in class abbot.editor.ScriptTable
 
getBorderIntersection(Rectangle, Point, Point) - Method in class abbot.tester.Robot
Return the point of intersection on the border of given rectangle with the line specified by the two points, or null if there is no intersection.
getButtons() - Method in class abbot.tester.InputState
 
getCanonicalClass(Class) - Static method in class abbot.tester.Robot
 
getCellRect(int, int, boolean) - Method in class abbot.editor.ScriptTable
Return the bounding for the given cell.
getChar(KeyStroke) - Static method in class abbot.tester.KeyStrokeMap
Given a keycode and modifiers, return the equivalent character.
getChildAt(int) - Method in class abbot.editor.ComponentNode
 
getChildCount() - Method in class abbot.editor.ComponentNode
 
getClassLoader() - Method in class abbot.script.Launch
 
getClasspath() - Method in class abbot.script.Launch
 
getClassPath() - Method in class abbot.util.PathClassLoader
 
getClickCount() - Method in class abbot.tester.InputState
 
getCloseLocation(Container) - Method in class abbot.tester.Robot
 
getColumnClass(int) - Method in class abbot.editor.ReferencesModel
 
getColumnClass(int) - Method in class abbot.editor.ScriptModel
 
getColumnCount() - Method in class abbot.editor.ReferencesModel
 
getColumnCount() - Method in class abbot.editor.ScriptModel
 
getColumnName(int) - Method in class abbot.editor.ReferencesModel
 
getColumnName(int) - Method in class abbot.editor.ScriptModel
 
getColumns() - Method in class example.NumberChooser
 
getComponent() - Method in class abbot.editor.ComponentNode
Returns the Component represented, or null if this is either the root or a java.awt.MenuComponent.
getComponentActions() - Method in class abbot.tester.ComponentTester
Return a list of all actions defined by this class that require a component argument.
getComponentAssertMethods() - Method in class abbot.tester.ComponentTester
Return a list of all assertions defined by this class that require a component argument.
getComponentAt(Component, Point) - Static method in class abbot.tester.InputState
Return the component under the given coordinates in the given parent component.
getComponentBrowser() - Method in class abbot.editor.ScriptEditorFrame
Returns the componentBrowser.
getComponentFrame(Component) - Method in class abbot.DefaultComponentFinder
Return the component's owning frame.
getComponentFrame(Component) - Method in interface abbot.ComponentFinder
Return the component's owning frame.
getComponentID() - Method in class abbot.script.Event
 
getComponentID() - Method in class abbot.script.PropertyCall
Return the component reference ID used by this method invocation.
getComponentID(Component) - Method in class abbot.editor.ScriptEditor
Returns null if not found.
getComponentName(Component) - Method in class abbot.DefaultComponentFinder
Return the component's name, ensuring that null is returned if the name appears to be auto-generated.
getComponentName(Component) - Method in interface abbot.ComponentFinder
Return the component's name.
getComponentParent(Component) - Method in class abbot.DefaultComponentFinder
Look up the apparent parent of a component.
getComponentParent(Component) - Method in interface abbot.ComponentFinder
Look up the apparent parent of a component.
getComponentReference(Component) - Method in interface abbot.Resolver
Return the existing reference for the given component, or null if none exists.
getComponentReference(Component) - Method in class abbot.editor.ScriptEditor
From abbot.Resolver.
getComponentReference(Component) - Method in class abbot.script.Script
Return the reference for the given component, or null if none yet exists.
getComponentReference(String) - Method in interface abbot.Resolver
Return the ComponentReference matching the given id, or null if none exists.
getComponentReference(String) - Method in class abbot.editor.ScriptEditor
From abbot.Resolver.
getComponentReference(String) - Method in class abbot.script.Script
Convert the given reference ID into a component reference.
getComponentReferences() - Method in interface abbot.Resolver
Returns a collection of all the existing references.
getComponentReferences() - Method in class abbot.editor.ScriptEditor
From abbot.Resolver.
getComponentReferences() - Method in class abbot.script.Script
 
getComponents() - Method in class abbot.MultipleComponentsFoundException
 
getComponents(Container) - Method in class abbot.DefaultComponentFinder
Returns all components below the GUI hierarchy of the given Container, including Windows and MenuElements.
getComponents(Container) - Method in interface abbot.ComponentFinder
Return all children of the given container, including Windows, MenuElements, and popup menus.
getComponentTitledWindow(Component) - Method in class abbot.DefaultComponentFinder
Return the component's owning frame or dialog.
getComponentTitledWindow(Component) - Method in interface abbot.ComponentFinder
Return the component's nearest owning window with a title.
getComponentWindow(Component) - Method in class abbot.DefaultComponentFinder
Return the nearest Window ancestor of the given Component.
getComponentWindow(Component) - Method in interface abbot.ComponentFinder
Returns the parent window for the given component.
getComponentWindowTitle(Component) - Method in class abbot.DefaultComponentFinder
Return the title of the nearest ancestor window with a title.
getComponentWindowTitle(Component) - Method in interface abbot.ComponentFinder
Return the title of the nearest ancestor window with a title.
getContents(JComboBox) - Method in class abbot.tester.JComboBoxTester
Return an array of strings that represent the combo box list.
getContents(JList) - Method in class abbot.tester.JListTester
Return an array of strings that represents the list's contents.
getCurrentTestSuiteLabel() - Method in class abbot.editor.ScriptEditorFrame
Returns the testSuiteDescription.
getCursorBounds() - Method in class abbot.editor.ScriptTable
 
getCursorParent() - Method in class abbot.editor.ScriptTable
Returns the target parent of the current cursor location.
getCursorParentIndex() - Method in class abbot.editor.ScriptTable
Returns the target index within the parent of the current cursor location.
getCursorRow() - Method in class abbot.editor.ScriptTable
Returns the row number of the cursor.
getDefaultDescription() - Method in class abbot.script.Step
Return a reasonable default description for this script step.
getDefaultDescription() - Method in class abbot.script.Event
 
getDefaultDescription() - Method in class abbot.script.Sequence
 
getDefaultDescription() - Method in class abbot.script.Script
 
getDefaultDescription() - Method in class abbot.script.Annotation
 
getDefaultDescription() - Method in class abbot.script.Call
 
getDefaultDescription() - Method in class abbot.script.PropertyCall
 
getDefaultDescription() - Method in class abbot.script.Sample
 
getDefaultDescription() - Method in class abbot.script.Terminate
 
getDefaultDescription() - Method in class abbot.script.Action
Return a default description for this action.
getDefaultDescription() - Method in class abbot.script.Assert
 
getDefaultDescription() - Method in class abbot.script.Launch
 
getDefaultDescription() - Method in class abbot.script.Comment
Default to whitespace.
getDelayTime() - Method in class abbot.script.Annotation
 
getDepthIndentation(int) - Method in class abbot.editor.ScriptTable
Return the number of pixels offset from the left edge of the table for the given level of indentation.
getDescription() - Method in class abbot.script.Step
 
getDescription() - Method in class abbot.script.Script
 
getDescription() - Method in class abbot.script.ScriptFilter
Indicate the combo box entry used to describe files of this type.
getDirection() - Method in class example.ArrowButton
 
getDirectory() - Method in interface abbot.Resolver
Provide a working directory context for relative pathnames.
getDirectory() - Method in class abbot.editor.ScriptEditor
From abbot.Resolver.
getDirectory() - Method in class abbot.script.Script
All relative files should be accessed relative to this directory, which is the directory where the script resides.
getDirectory() - Method in class junit.extensions.abbot.ScriptTestSuite
 
getDisplayLocation() - Method in class abbot.script.Annotation
 
getDragSource() - Method in class abbot.tester.InputState
 
getEditor() - Method in class abbot.editor.ScriptEditorFrame
 
getElementAt(JList, int) - Method in class abbot.tester.JListTester
JList doesn't provide direct access to its contents, so make up for that oversight.
getEncodedArguments() - Method in class abbot.script.Call
Convert our argument vector into a single String.
getError() - Method in class abbot.script.StepEvent
 
getError(Step) - Method in class abbot.script.StepRunner
 
getEventID(AWTEvent) - Static method in class abbot.tester.Robot
Return the symbolic name of the given event's ID.
getEventID(Class, String) - Static method in class abbot.tester.Robot
Return the numeric event ID corresponding to the given string.
getEventMask() - Method in class abbot.editor.recorder.Recorder
Return the events of interest to this Recorder.
getEventMask() - Method in class abbot.editor.recorder.EventRecorder
Return the events of interest to this Recorder.
getEventMode() - Static method in class abbot.tester.Robot
Returns the current event-generation mode.
getEventPostDelay() - Static method in class abbot.tester.Robot
 
getExpectedResult() - Method in class abbot.script.Assert
 
getExtendedState(Frame) - Method in class abbot.editor.recorder.FrameRecorder
 
getFieldName(Class, int, String) - Static method in class abbot.Reflector
Convert the value back into a field name.
getFieldValue(Class, String) - Static method in class abbot.Reflector
Look up the given static field value.
getFile() - Method in class abbot.script.Script
Return the file where this script is saved.
getFile(Step) - Method in class abbot.editor.ScriptModel
Return the file which contains the given step.
getFilename() - Method in class abbot.script.Script
Return the (possibly relative) path to this script.
getFinder() - Static method in class abbot.DefaultComponentFinder
This is the factory method to use unless you already know otherwise :)
getFinder() - Method in class abbot.editor.recorder.SemanticRecorder
Return the ComponentFinder to be used by this recorder.
getFinder() - Method in class abbot.editor.recorder.Recorder
Return the ComponentFinder to be used by this recorder.
getFinder() - Method in class abbot.script.Step
 
getFinder() - Method in class abbot.tester.ComponentTester
 
getFinder() - Method in class junit.extensions.abbot.ComponentTestFixture
Obtain a component finder to look up components.
getFinder(ComponentFinder) - Static method in class abbot.DefaultComponentFinder
This factory method allows the finder to be used where a finder already exists and is filtering components.
getIcon(String, int) - Method in class abbot.editor.actions.EditorAction
Returns the Icon associated with the given name from the available resources.
getIconifyLocation(Container) - Method in class abbot.tester.Robot
Identify the coordinates of the iconify button where we can, returning null if we can't.
getID() - Method in class abbot.script.StepEvent
 
getID() - Method in class abbot.script.ComponentReference
 
getIndentation(int) - Method in class abbot.editor.ScriptTable
Return the number of pixels offset from the left edge of the table for the given row.
getIndex() - Method in class abbot.script.ComponentReference
Deprecated. use getAttribute(TAG_INDEX) instead.
getIntegerProperty(String, int) - Method in class abbot.editor.Preferences
 
getInvokerID() - Method in class abbot.script.ComponentReference
Deprecated. use getAttribute(TAG_INVOKER) instead.
getInvokerReference() - Method in class abbot.script.ComponentReference
 
getJavaVersion() - Static method in class abbot.Platform
 
getJavaVersionNumber() - Static method in class abbot.Platform
 
getKeyCode(int) - Static method in class abbot.tester.Robot
 
getKeyCode(String) - Static method in class abbot.tester.Robot
 
getKeyModifiers() - Method in class abbot.tester.InputState
Returns the currently pressed key modifiers.
getKeyModifiers(int) - Static method in class abbot.tester.Robot
 
getKeyStroke(char) - Static method in class abbot.tester.KeyStrokeMap
Return the keycode-based KeyStroke corresponding to the given character, as best we can guess it.
getKind() - Method in class abbot.script.Event
 
getLastEventTime() - Method in class abbot.editor.recorder.Recorder
 
getLastEventTime() - Method in class abbot.tester.InputState
 
getLaunchStep() - Method in class abbot.script.Script
 
getLine(Step) - Method in class abbot.editor.ScriptModel
Return the line number (approximate) of the given step.
getListCellRendererComponent(JList, Object, int, boolean, boolean) - Method in class abbot.editor.TestSelector.TestCellRenderer
 
getListener() - Method in class abbot.editor.recorder.Recorder
 
getMatchWeight(Component) - Method in class abbot.script.ComponentReference
Return a measure of how well the given component matches the given component reference.
getMaximizeLocation(Container) - Method in class abbot.tester.Robot
Identify the coordinates of the maximize button where possible, returning null if not.
getMaximum() - Method in class example.NumberChooser
 
getMaximumSize() - Method in class example.ArrowButton
 
getMenuLabels(Component) - Method in class abbot.tester.JPopupMenuTester
Return the contents of the popup menu as a String array.
getMessage() - Method in class abbot.script.ForkedStepRunner.ForkedFailure
 
getMessage() - Method in class abbot.script.ForkedStepRunner.ForkedError
 
getMethod() - Method in class abbot.script.Call
Return the method to be used for invocation.
getMethod() - Method in class abbot.script.Action
Resolve the method name into its final form.
getMethod() - Method in class abbot.script.Launch
Return the method to be used for invocation.
getMethodName() - Method in class abbot.script.Call
Method name to save in script.
getMinimum() - Method in class example.NumberChooser
 
getMinimumSize() - Method in class example.ArrowButton
 
getModifiers() - Method in class abbot.tester.InputState
Returns all currently active modifiers.
getModifiers(InputEvent) - Static method in class abbot.tester.Robot
Convert the integer modifier flags into a string representation.
getModifiers(String) - Static method in class abbot.tester.Robot
Convert the string representation into the actual modifier mask.
getMouseComponent() - Method in class abbot.tester.InputState
Return the last known Component to contain the pointer, or null if none.
getMouseLocation() - Method in class abbot.tester.InputState
Returns the mouse location relative to the component that currently contains the pointer, or null if outside all components.
getMouseLocationOnScreen() - Method in class abbot.tester.InputState
Returns the last known mouse location.
getMouseModifiers(int) - Static method in class abbot.tester.Robot
 
getMoveLocation(Container) - Method in class abbot.tester.Robot
 
getName() - Method in class abbot.script.Script
 
getName() - Method in class abbot.script.ComponentReference
Deprecated. use getAttribute(TAG_NAME) instead.
getNestingDepthAt(int) - Method in class abbot.editor.ScriptModel
 
getOrder(Component, Component[], boolean) - Static method in class abbot.script.ComponentReference
Return the order of the given component among the array given, sorted by horizontal or vertical screen position.
getParent(Step) - Method in class abbot.editor.ScriptModel
Return the parent sequence of the given step.
getParentReference() - Method in class abbot.script.ComponentReference
 
getParser(Class) - Static method in class abbot.script.ArgumentParser
Find a string parser for the given class.
getPollInterval() - Method in class abbot.script.Assert
 
getPopupMask() - Static method in class abbot.util.AWT
Returns the InputEvent mask for the popup trigger button.
getPopupOnPress() - Static method in class abbot.util.AWT
Returns whether the platform registers a popup on mouse press.
getPreferredRobotAutoDelay() - Static method in class abbot.tester.Robot
Returns the appropriate auto delay for robot-generated events.
getPreferredSize() - Method in class example.ArrowButton
 
getProperty(String) - Method in interface abbot.Resolver
Provide retrieval of values from temporary storage.
getProperty(String) - Method in class abbot.editor.ScriptEditor
From abbot.Resolver.
getProperty(String) - Method in class abbot.script.Script
 
getProperty(String, int, int, int) - Static method in class abbot.util.Properties
Load an integer system property, keeping it within the given valid range.
getProperty(String, long, long, long) - Static method in class abbot.util.Properties
Load a long system property, keeping it within the given valid range.
getPropertyMethods() - Method in class abbot.tester.ComponentTester
Return an array of all property check methods defined by this class.
getPropertyMethods(Class, boolean) - Method in class abbot.editor.ComponentPropertyModel
 
getPropertyName() - Method in class abbot.script.Sample
 
getReason() - Method in class abbot.editor.recorder.RecordingFailedException
 
getRecordingType() - Method in class abbot.editor.recorder.SemanticRecorder
 
getRefClassName() - Method in class abbot.script.ComponentReference
 
getRelativeTo() - Method in class abbot.script.Script
By default, all pathnames are relative to the current working directory.
getRelativeTo() - Method in class abbot.script.Annotation
 
getResizeLocation(Container) - Method in class abbot.tester.Robot
 
getResolver() - Method in class abbot.editor.recorder.SemanticRecorder
Return the Resolver to be used by this recorder.
getResolver() - Method in class abbot.editor.recorder.Recorder
Return the Resolver to be used by this recorder.
getResolver() - Method in class abbot.script.Step
 
getResolver() - Method in class junit.extensions.abbot.ComponentTestFixture
Obtain a consistent resolver.
getRobot() - Method in class junit.extensions.abbot.ComponentTestFixture
Return an Abbot robot for basic event generation.
getRoller() - Method in class example.ArrowButton
 
getRootWindows() - Method in class abbot.DefaultComponentFinder
Return an array of all available Frames, across all known contexts.
getRootWindows() - Method in interface abbot.ComponentFinder
Returns all available root Windows (those that have no parent).
getRootWindows() - Method in class abbot.tester.WindowTracker
Return all available root Windows.
getRowCount() - Method in class abbot.editor.ReferencesModel
 
getRowCount() - Method in class abbot.editor.ScriptModel
 
getRowOf(Step) - Method in class abbot.editor.ScriptModel
Returns -1 if the step is not found or not visible.
getScript() - Method in class abbot.editor.ScriptModel
 
getScriptContext() - Method in class abbot.editor.ScriptTable
Returns the script context of the currently selected row.
getScriptOf(int) - Method in class abbot.editor.ScriptModel
 
getScriptTable() - Method in class abbot.editor.ScriptEditorFrame
Returns the scriptTable.
getSelectedComponent() - Method in class abbot.editor.ComponentBrowser
Returns which component is currently selected.
getSelectedItem() - Method in class abbot.editor.TestSelector
 
getSelectedReference() - Method in class abbot.editor.ComponentBrowser
Returns the currently selected reference.
getSelectedStep() - Method in class abbot.editor.ScriptTable
Return the first selected step.
getSelectedSteps() - Method in class abbot.editor.ScriptTable
Return the set of selected steps, restricted to siblings of the first selected row.
getSize(JList) - Method in class abbot.tester.JListTester
Return the size of the given list.
getSpecifiedFont() - Method in class example.FontChooser
 
getSplashScreen() - Static method in class abbot.editor.Costello
 
getStack(int) - Static method in class abbot.Log
Retrieve the given number of lines of the current stack, as a string.
getStack(int, Throwable) - Static method in class abbot.Log
Retrieve the given number of lines of stack from the given Throwable, as a string.
getStatus() - Method in class abbot.ExitException
 
getStatus() - Method in class abbot.editor.ScriptEditorFrame
 
getStep() - Method in class abbot.editor.recorder.SemanticRecorder
Returns the script step generated from the events recorded so far.
getStep() - Method in class abbot.editor.recorder.Recorder
Return a step or sequence of steps representing the steps created thus far, or null if none.
getStep() - Method in class abbot.script.StepEvent
 
getStep() - Method in class example.NumberChooser
 
getStep(int) - Method in class abbot.script.Sequence
Return the step at the given index in the sequence.
getStep(int) - Method in class abbot.script.Script
 
getStepAt(int) - Method in class abbot.editor.ScriptModel
 
getStepColor(Step, boolean) - Method in class abbot.editor.ScriptTable
Determine what the background color for the given step should be.
getStopOnError() - Method in class abbot.script.StepRunner
 
getStopOnFailure() - Method in class abbot.script.StepRunner
 
getTabs(Component) - Method in class abbot.tester.JTabbedPaneTester
Return an array of strings that represent the tabs in the pane.
getTag() - Method in class abbot.script.ComponentReference
Deprecated. use getAttribute(TAG_TAG) instead.
getTag(Component) - Static method in class abbot.tester.ComponentTester
Return a reasonable identifier for the given component.
getTarget(Method) - Method in class abbot.script.Call
Return the target of the invocation.
getTarget(Method) - Method in class abbot.script.PropertyCall
Return the target of the method invocation.
getTarget(Method) - Method in class abbot.script.Action
Return the target of the invocation.
getTarget(Method) - Method in class abbot.script.Launch
Return the target for the method invocation.
getTargetClass() - Method in class abbot.script.Call
Get the class of the target of the method invocation.
getTargetClass() - Method in class abbot.script.Action
 
getTargetClass() - Method in class abbot.script.Launch
 
getTargetClassName() - Method in class abbot.script.Call
 
getTertiaryMask() - Static method in class abbot.util.AWT
Returns the InputEvent mask for the tertiary button.
getTestedClass(Class) - Method in class abbot.tester.ComponentTester
Return the Component class that corresponds to this ComponentTester class.
getTester(Class) - Static method in class abbot.tester.ComponentTester
Find the corresponding Tester object for the given component class, chaining up the inheritance tree if no specific tester is found for that class.
getTester(Component) - Static method in class abbot.tester.ComponentTester
Return the appropriate Tester for the given object.
getTestScriptDescription() - Method in class abbot.editor.ScriptEditorFrame
Returns the testScriptDescription.
getTestScriptSelector() - Method in class abbot.editor.ScriptEditorFrame
Returns the testScriptSelector.
getText() - Method in class abbot.script.Annotation
 
getText() - Method in class example.CustomTextField
 
getThrowable() - Static method in class junit.extensions.abbot.ComponentTestFixture.ExceptionCatcher
Return the most recent exception caught on the dispatch thread, or null if none has been thrown.
getTimeout() - Method in class abbot.script.Assert
 
getTitle() - Method in class abbot.script.Annotation
 
getTitle() - Method in class abbot.script.ComponentReference
Deprecated. use getAttribute(TAG_TITLE) instead.
getTracker() - Static method in class abbot.tester.WindowTracker
Only ever want one of these.
getTransferData(DataFlavor) - Method in class abbot.editor.StepTransferable
 
getTransferDataFlavors() - Method in class abbot.editor.StepTransferable
 
getType() - Method in class abbot.script.StepEvent
 
getType() - Method in class abbot.script.Event
 
getUltimateMouseComponent() - Method in class abbot.tester.InputState
Return the most deeply nested component which currently contains the pointer.
getUniqueID(ComponentReference) - Method in interface abbot.Resolver
Derive a unique identifier for the given reference.
getUniqueID(ComponentReference) - Method in class abbot.editor.ScriptEditor
From abbot.Resolver.
getUniqueID(ComponentReference) - Method in class abbot.script.Script
Return a unique reference ID.
getURLs(String, String) - Static method in class abbot.util.PathClassLoader
 
getUsage() - Method in class abbot.script.Step
Provide a usage String for this step.
getUsage() - Method in class abbot.script.Event
 
getUsage() - Method in class abbot.script.Sequence
Returns a string describing the proper XML usage for this class.
getUsage() - Method in class abbot.script.Script
 
getUsage() - Method in class abbot.script.Annotation
 
getUsage() - Method in class abbot.script.Call
 
getUsage() - Method in class abbot.script.Sample
 
getUsage() - Method in class abbot.script.Terminate
 
getUsage() - Method in class abbot.script.Action
Return the proper XML usage for this step.
getUsage() - Method in class abbot.script.Assert
 
getUsage() - Method in class abbot.script.Launch
 
getUsage() - Method in class abbot.script.Comment
 
getUserDismiss() - Method in class abbot.script.Annotation
 
getValue() - Method in class example.NumberChooser
 
getValueAsString(JComboBox, JList, Object, int) - Method in class abbot.tester.JComboBoxTester
If the value looks meaningful, return it, otherwise return null.
getValueAt(int, int) - Method in class abbot.editor.ReferencesModel
Returns the entry object at the given row.
getValueAt(int, int) - Method in class abbot.editor.ComponentPropertyModel
Display the property name column apropriately.
getValueAt(int, int) - Method in class abbot.editor.ScriptModel
Returns the step at the given row.
getVMArgs() - Method in class abbot.script.Script
 
getWindowID() - Method in class abbot.script.ComponentReference
Deprecated. use getAttribute(TAG_WINDOW) instead.
getWindowReference() - Method in class abbot.script.ComponentReference
Reference ID of this component's parent window (optional).
getWindows() - Method in class abbot.DefaultComponentFinder
Returns the set of all available windows that have not been filtered.
getWindows() - Method in interface abbot.ComponentFinder
Returns the set of all available windows.
getWindows(Window) - Method in class abbot.DefaultComponentFinder
Return all windows owned by the given window that have not been filtered.
getWindows(Window) - Method in interface abbot.ComponentFinder
Returns all immediate child windows of the given parent window.
getWindowTracker() - Method in class junit.extensions.abbot.ComponentTestFixture
Return a WindowTracker instance.
getXMLTag() - Method in class abbot.script.Step
Define the XML tag to use for this script step.
getXMLTag() - Method in class abbot.script.Event
 
getXMLTag() - Method in class abbot.script.Sequence
 
getXMLTag() - Method in class abbot.script.Script
 
getXMLTag() - Method in class abbot.script.Annotation
 
getXMLTag() - Method in class abbot.script.Call
 
getXMLTag() - Method in class abbot.script.Sample
 
getXMLTag() - Method in class abbot.script.Terminate
 
getXMLTag() - Method in class abbot.script.Action
Return the XML tag for this step.
getXMLTag() - Method in class abbot.script.Assert
 
getXMLTag() - Method in class abbot.script.Launch
 
getXMLTag() - Method in class abbot.script.Comment
This is only used to generate the title label for the editor.

H

handle(Throwable) - Method in class abbot.util.AbstractEventExceptionHandler
Handle exceptions thrown on the event dispatch thread.
handleError(byte[], int) - Method in class abbot.util.ProcessOutputHandler
 
handleInput(byte[], int) - Method in class abbot.util.ProcessOutputHandler
 
hashCode() - Method in class abbot.editor.ComponentNode
 
hasHierarchyEventGenerationBug() - Static method in class abbot.tester.Robot
Prior to 1.4.1, hierarchy events are only sent if listeners are added to a given component.
hasKeyStrokeGenerationBug() - Static method in class abbot.tester.Robot
OSX prior to 1.4 has really crappy key input handling.
hasLaunch() - Method in class abbot.script.Script
 
hasMultiClickFrameBug() - Static method in class abbot.tester.Robot
Do we get multiple clicks even when the individual clicks are on different frames?
hasRobotMotionBug() - Static method in class abbot.tester.Robot
OS X (as of 1.3.1, v10.1.5), will sometimes send a click to the wrong component after a mouse move.
hasTerminate() - Method in class abbot.script.Script
 
hideWindow(Window) - Method in class junit.extensions.abbot.ComponentTestFixture
Synchronous, safe hide of a window.
HierarchyWriter - class abbot.editor.HierarchyWriter.
Provides support for writing out a GUI hierarchy as XML.
HierarchyWriter() - Constructor for class abbot.editor.HierarchyWriter
 

I

iconify(Frame) - Method in class abbot.tester.Robot
Iconify the given Frame.
iconify(JInternalFrame, boolean) - Method in class abbot.tester.JInternalFrameTester
 
ignoreComponent(Component) - Method in class abbot.DefaultComponentFinder
Ignore (for the purpose of future lookup) the given component.
ignoreComponent(Component) - Method in interface abbot.ComponentFinder
Ignore (for the purpose of future lookup) the given component.
ignoreExistingComponents() - Method in class abbot.DefaultComponentFinder
Ignore (for the purposes of future lookup) all currently available components.
ignoreExistingComponents() - Method in interface abbot.ComponentFinder
Ignore (for the purposes of future lookup) all currently available components.
ImageComparator - class abbot.tester.ImageComparator.
This code expects the availability of the com.sun.image.codec.jpeg extensions from the Sun JDK 1.3 or JRE.
ImageComparator() - Constructor for class abbot.tester.ImageComparator
 
indexOf(Step) - Method in class abbot.script.Sequence
Returns the index of the given step in the sequence, or -1 if the step is not in the sequence.
indexOf(Step) - Method in class abbot.script.Script
 
indexToPoint(Component, int) - Method in class abbot.tester.JListTester
Convert the given list index into an x, y coordinate.
init() - Method in class example.SimpleApplet
 
init(int) - Method in class abbot.editor.recorder.SemanticRecorder
 
init(int) - Method in class abbot.editor.recorder.ComponentRecorder
 
init(int) - Method in class abbot.editor.recorder.WindowRecorder
 
init(int) - Method in class abbot.editor.recorder.FileDialogRecorder
 
init(int) - Method in class abbot.editor.recorder.JComponentRecorder
 
init(int) - Method in class abbot.editor.recorder.ChoiceRecorder
 
init(int) - Method in class abbot.editor.recorder.JComboBoxRecorder
 
init(int) - Method in class abbot.editor.recorder.JInternalFrameRecorder
 
init(int) - Method in class abbot.editor.recorder.FrameRecorder
 
init(int) - Method in class abbot.editor.recorder.JTextComponentRecorder
 
init(String[]) - Static method in class abbot.Log
Debug/log initialization, presumably from the command line.
InputState - class abbot.tester.InputState.
Class to keep track of a given input state.
InputState() - Constructor for class abbot.tester.InputState
 
insertLaunch() - Method in class abbot.editor.ScriptEditor
Insert a blank launch step.
insertStep(Sequence, Step, int) - Method in class abbot.editor.ScriptModel
Insert the given step at the given index in its parent.
insertStep(Step) - Method in class abbot.editor.recorder.Recorder
Insert an arbitrary step into the recording stream.
insertStep(Step) - Method in class abbot.editor.recorder.EventRecorder
Insert an arbitrary script step into the currently recorded stream.
insertSteps(Sequence, List, int) - Method in class abbot.editor.ScriptModel
Insert the steps into the given sequence at the given index.
insertTerminate() - Method in class abbot.editor.ScriptEditor
Insert a terminate step.
install() - Method in class abbot.script.AppClassLoader
Ensure that everything else subsequently loaded on the same thread or any subsequently spawned threads uses the given class loader.
install() - Method in class abbot.util.AbstractEventExceptionHandler
Install a handler for event dispatch exceptions.
install() - Method in class junit.extensions.abbot.ComponentTestFixture.ExceptionCatcher
 
installContext() - Method in class abbot.script.Launch
Install the class loader context for the code being launched.
installPopup(Component, JPopupMenu) - Method in class junit.extensions.abbot.ComponentTestFixture
Install the given popup on the given component.
internalFrameClosing(InternalFrameEvent) - Method in class abbot.editor.recorder.AbstractInternalFrameWatcher
 
internalFrameDeiconified(InternalFrameEvent) - Method in class abbot.editor.recorder.AbstractInternalFrameWatcher
 
internalFrameIconified(InternalFrameEvent) - Method in class abbot.editor.recorder.AbstractInternalFrameWatcher
 
InvalidScriptException - exception abbot.script.InvalidScriptException.
Exception to indicate the script being parsed is invalid.
InvalidScriptException(String) - Constructor for class abbot.script.InvalidScriptException
 
InvalidScriptException(String, Element) - Constructor for class abbot.script.InvalidScriptException
 
invoke() - Method in class abbot.script.Call
Deferred evaluation of arguments allows us to refer to components that don't necessarily exist when the script is read in.
invoke() - Method in class abbot.script.Sample
Store the results of the invocation in the designated property.
invokeAction(Runnable) - Method in class abbot.tester.Robot
Run the given action on the event dispatch thread.
invokeAction(Runnable) - Static method in class abbot.util.AWT
Ensure the given action happens on the event dispatch thread.
invokeAndWait(Runnable) - Method in class abbot.tester.Robot
Run the given action on the event dispatch thread, but don't return until it's been run.
invokeAndWait(Runnable) - Static method in class abbot.util.AWT
Ensure the given action happens on the event dispatch thread.
isAssignableFrom(Class) - Method in class abbot.script.ComponentReference
Return whether this reference has the same class or is a superclass of the given component's class.
isCellEditable(int, int) - Method in class abbot.editor.ReferencesModel
 
isClassDebugEnabled(Class) - Static method in class abbot.Log
 
isClick(AWTEvent) - Method in class abbot.editor.recorder.ComponentRecorder
Test whether the given event is a trigger for a mouse button click.
isClose(AWTEvent) - Method in class abbot.editor.recorder.ComponentRecorder
Does the given event indicate a window was closed?
isComponentSelected() - Method in class abbot.editor.ComponentBrowser
Utility method showing whether a component node has been selected or not.
isDataFlavorSupported(DataFlavor) - Method in class abbot.editor.StepTransferable
 
isDirty() - Method in class abbot.script.Script
Has this script changed since the last save.
isDragDrop(AWTEvent) - Method in class abbot.editor.recorder.ComponentRecorder
Test whether the given event precurses a drop.
isDragging() - Method in class abbot.tester.InputState
 
isEmpty() - Method in class abbot.editor.TestSelector
 
isExtension() - Method in class abbot.tester.ComponentTester
Return whether this tester is an extension.
isFiltered(Component) - Method in class abbot.DefaultComponentFinder
Returns true if the component or its Window ancestor is filtered.
isFiltered(Component) - Method in interface abbot.ComponentFinder
Returns true if the component or its Window ancestor is filtered.
isFinished() - Method in class abbot.editor.recorder.SemanticRecorder
Return whether this recorder has finished recording the current semantic event.
isForked() - Method in class abbot.script.Script
 
isHPUX() - Static method in class abbot.Platform
 
isInstalled() - Static method in class abbot.util.AbstractEventExceptionHandler
 
isInternalFrameDecoration(Component) - Static method in class abbot.util.AWT
Return whether the given component is part of an internal frame's LAF decoration.
isInverted() - Method in class abbot.script.Assert
 
isKeyTyped(AWTEvent) - Method in class abbot.editor.recorder.ComponentRecorder
 
isLinux() - Static method in class abbot.Platform
 
isMacintosh() - Static method in class abbot.Platform
 
isMappedEvent(KeyEvent) - Method in class abbot.editor.recorder.JComponentRecorder
 
isMappedEvent(KeyEvent) - Method in class abbot.editor.recorder.JTextComponentRecorder
Don't store the action "default-typed"; store the key event instead.
isMenuEvent(AWTEvent) - Method in class abbot.editor.recorder.ComponentRecorder
 
isMenuEvent(AWTEvent) - Method in class abbot.editor.recorder.JMenuItemRecorder
Regular clicks get treated as a menu event.
isModifier(int) - Static method in class abbot.tester.Robot
 
isOnPopup(Component) - Static method in class abbot.tester.Robot
Is the given component on a popup?
isOpen(AWTEvent) - Method in class abbot.editor.recorder.ComponentRecorder
Does the given event indicate a window was shown?
isOpen(int) - Method in class abbot.editor.ScriptModel
Return whether the given row is "open".
isOpen(Step) - Method in class abbot.editor.ScriptModel
 
isOSX() - Static method in class abbot.Platform
 
isPropertyMethod(Method) - Static method in class abbot.script.PropertyCall
Returns whether the given method is a property accessor.
isReadyForInput(Component) - Method in class abbot.tester.Robot
IS the given component ready for robot input?
isScript(File) - Static method in class abbot.script.Script
Return whether the given file looks like a valid AWT script.
isSelected() - Method in class abbot.editor.actions.EditorToggleAction
 
isShowing() - Method in class abbot.script.Annotation
 
isShowing(Component) - Method in class abbot.DefaultComponentFinder
Indicates whether the given component is showing and ready for input.
isShowing(Component) - Method in interface abbot.ComponentFinder
Return whether the given component is showing and ready for input.
isSlowPlayback() - Method in class abbot.script.Script
 
isSolaris() - Static method in class abbot.Platform
 
isTertiaryButton(int) - Static method in class abbot.tester.Robot
Return whether this is the tertiary button, considering primary to be button1 and secondary to be the popup trigger button.
isTestClass(String) - Method in class junit.extensions.abbot.ScriptTestCollector
 
isThreaded() - Method in class abbot.script.Launch
 
isToolTip(Object) - Method in class abbot.editor.recorder.ComponentRecorder
Return true if this event is tied to the showing or hiding of a tooltip.
isTransientPopup(Object) - Static method in class abbot.util.AWT
Return whether the given component is a transient wrapper around a popup.
isWait() - Method in class abbot.script.Assert
 
isWindowEvent(AWTEvent) - Method in class abbot.editor.recorder.ComponentRecorder
Test whether the given event is a trigger for a window event.
isWindowEvent(AWTEvent) - Method in class abbot.editor.recorder.WindowRecorder
 
isWindowEvent(AWTEvent) - Method in class abbot.editor.recorder.FrameRecorder
Additionally handle state change events (1.4 and later).
isWindowReady(Window) - Method in class abbot.tester.WindowTracker
Returns whether the window is ready to receive input.
isWindows() - Static method in class abbot.Platform
 
isWindowsXP() - Static method in class abbot.Platform
 
isX11() - Static method in class abbot.Platform
 
italic - Variable in class example.FontChooser
 
itemStateChanged(ItemEvent) - Method in class example.FontChooser
 

J

JAVA_1_0 - Static variable in class abbot.Platform
 
JAVA_1_1 - Static variable in class abbot.Platform
 
JAVA_1_2 - Static variable in class abbot.Platform
 
JAVA_1_3 - Static variable in class abbot.Platform
 
JAVA_1_4 - Static variable in class abbot.Platform
 
JComboBoxRecorder - class abbot.editor.recorder.JComboBoxRecorder.
Record basic semantic events you might find on an JComboBox.
JComboBoxRecorder(Resolver) - Constructor for class abbot.editor.recorder.JComboBoxRecorder
 
JComboBoxTester - class abbot.tester.JComboBoxTester.
 
JComboBoxTester() - Constructor for class abbot.tester.JComboBoxTester
 
JComponentRecorder - class abbot.editor.recorder.JComponentRecorder.
Record basic semantic events you might find on an JComponent.
JComponentRecorder(Resolver) - Constructor for class abbot.editor.recorder.JComponentRecorder
 
JComponentTester - class abbot.tester.JComponentTester.
 
JComponentTester() - Constructor for class abbot.tester.JComponentTester
 
JInternalFrameRecorder - class abbot.editor.recorder.JInternalFrameRecorder.
Handle the recording of events related to an internal frame (JInternalFrame).
JInternalFrameRecorder(Resolver) - Constructor for class abbot.editor.recorder.JInternalFrameRecorder
Constructor for JInternalFrameRecorder.
JInternalFrameTester - class abbot.tester.JInternalFrameTester.
 
JInternalFrameTester() - Constructor for class abbot.tester.JInternalFrameTester
 
jitter(Component, int, int) - Method in class abbot.tester.Robot
 
jitter(int, int) - Method in class abbot.tester.Robot
 
JLabelTester - class abbot.tester.JLabelTester.
 
JLabelTester() - Constructor for class abbot.tester.JLabelTester
 
JListRecorder - class abbot.editor.recorder.JListRecorder.
Record basic semantic events you might find on an JList.
JListRecorder(Resolver) - Constructor for class abbot.editor.recorder.JListRecorder
 
JListTester - class abbot.tester.JListTester.
Provide actions and assertions for a JList component.
JListTester() - Constructor for class abbot.tester.JListTester
 
JMenuItemRecorder - class abbot.editor.recorder.JMenuItemRecorder.
Override AbstractButton behavior, since we expect to grab a menu selection instead of a click.
JMenuItemRecorder(Resolver) - Constructor for class abbot.editor.recorder.JMenuItemRecorder
 
JMenuItemTester - class abbot.tester.JMenuItemTester.
 
JMenuItemTester() - Constructor for class abbot.tester.JMenuItemTester
 
JPopupMenuTester - class abbot.tester.JPopupMenuTester.
 
JPopupMenuTester() - Constructor for class abbot.tester.JPopupMenuTester
 
JRootPaneTester - class abbot.tester.JRootPaneTester.
 
JRootPaneTester() - Constructor for class abbot.tester.JRootPaneTester
 
JTabbedPaneRecorder - class abbot.editor.recorder.JTabbedPaneRecorder.
Record basic semantic events you might find on an JTabbedPane.
JTabbedPaneRecorder(Resolver) - Constructor for class abbot.editor.recorder.JTabbedPaneRecorder
 
JTabbedPaneTester - class abbot.tester.JTabbedPaneTester.
 
JTabbedPaneTester() - Constructor for class abbot.tester.JTabbedPaneTester
 
JTableRecorder - class abbot.editor.recorder.JTableRecorder.
Record basic semantic events you might find on an JTable.
JTableRecorder(Resolver) - Constructor for class abbot.editor.recorder.JTableRecorder
 
JTableTester - class abbot.tester.JTableTester.
Provide user actions on a JTable.
JTableTester() - Constructor for class abbot.tester.JTableTester
 
JTextComponentRecorder - class abbot.editor.recorder.JTextComponentRecorder.
Record basic semantic events you might find on an JTextComponent.
JTextComponentRecorder(Resolver) - Constructor for class abbot.editor.recorder.JTextComponentRecorder
 
JTextComponentTester - class abbot.tester.JTextComponentTester.
 
JTextComponentTester() - Constructor for class abbot.tester.JTextComponentTester
 
JTreeRecorder - class abbot.editor.recorder.JTreeRecorder.
Record basic semantic events you might find on an JTree.
JTreeRecorder(Resolver) - Constructor for class abbot.editor.recorder.JTreeRecorder
 
JTreeTester - class abbot.tester.JTreeTester.
Provide operations on a JTree component.
JTreeTester() - Constructor for class abbot.tester.JTreeTester
 
junit.extensions.abbot - package junit.extensions.abbot
Provide support for running scripts as test cases under JUnit.

K

KC_INVERT - Static variable in class abbot.editor.ScriptEditor
Key to use to invert an assertion/wait.
KC_WAIT - Static variable in class abbot.editor.ScriptEditor
Key to use to insert a wait instead of an assertion.
key(int) - Method in class abbot.tester.Robot
Type the given keycode with no modifiers.
key(int, int) - Method in class abbot.tester.Robot
Type the given keycode with the given modifiers.
keyCodeToMask(int) - Static method in class abbot.tester.Robot
 
keyPress(int) - Method in class abbot.tester.Robot
Send a key press event.
keyRelease(int) - Method in class abbot.tester.Robot
Send a key release event.
keySelectTestClass(char) - Method in class abbot.editor.TestSelector
 
keyString(String) - Method in class abbot.tester.Robot
Type the given string.
keyStroke(char) - Method in class abbot.tester.Robot
Type the given character.
KeyStrokeMap - class abbot.tester.KeyStrokeMap.
Map characters to the keycodes (and modifiers) required to generate them.
keyTyped(KeyEvent) - Method in class abbot.editor.TestSelector.KeySelectListener
 

L

LARGE_ICON - Static variable in interface abbot.editor.EditorConstants
 
Launch - class abbot.script.Launch.
Provides scripted static method invocation.
LAUNCH_TIMEOUT - Variable in class abbot.script.ForkedStepRunner
 
Launch.ThreadedLaunchListener - interface abbot.script.Launch.ThreadedLaunchListener.
 
launch() - Method in class abbot.script.Launch
 
Launch(Resolver, Map) - Constructor for class abbot.script.Launch
 
Launch(Resolver, String, String, String, String[]) - Constructor for class abbot.script.Launch
 
Launch(Resolver, String, String, String, String[], String, boolean, boolean) - Constructor for class abbot.script.Launch
 
launch(Script) - Method in class abbot.script.StepRunner
Invoke the given script's launch step, if any.
launchSlave(int) - Method in class abbot.script.ForkedStepRunner.SlaveStepRunner
Handle running a script as a forked process.
LEFT - Static variable in class example.ArrowButton
Directions.
listeners - Variable in class example.FontChooser
 
listeners - Variable in class example.NumberChooser
 
load() - Method in class abbot.script.Script
Parse the script file and build internal structures.
load(Reader) - Method in class abbot.script.Script
Loads the XML test script.
loadClass(String, boolean) - Method in class abbot.util.PathClassLoader
 
loadClass(String, boolean) - Method in class abbot.util.NonDelegatingClassLoader
Load the given class, but attempt to load before the parent if shouldDelegate returns false for the given class.
Log - class abbot.Log.
Various logging, assertion, and debug routines.
log(String) - Static method in class abbot.Log
Log a message.
log(Throwable) - Static method in class abbot.Log
Log an exception.
loggingEnabled() - Static method in class abbot.Log
Is log output enabled?

M

main(String[]) - Static method in class abbot.Log
Stack trace/debug unit test.
main(String[]) - Static method in class abbot.Platform
 
main(String[]) - Static method in class abbot.editor.Costello
Note that this "main" is typical of many Swing apps, in that it does window showing and disposal directly from the main thread.
main(String[]) - Static method in class abbot.editor.ScriptEditor
Launch the script editor, with an argument of either a test suite class or a script filename.
main(String[]) - Static method in class abbot.script.ForkedStepRunner
Provide means to control execution and feedback of a script in a separate process.
main(String[]) - Static method in class example.FontChooser
Put up a frame containing a font chooser to make it easy for a script to play with.
main(String[]) - Static method in class example.MyCodeStressTest
 
main(String[]) - Static method in class example.ArrowButtonTest
 
main(String[]) - Static method in class example.FontChooserTest
 
main(String[]) - Static method in class example.AWTCode
 
main(String[]) - Static method in class example.MyCode
 
main(String[]) - Static method in class example.NumberChooser
 
main(String[]) - Static method in class example.MyCodeTest
 
main(String[]) - Static method in class junit.extensions.abbot.ScriptFixture
Assumes each argument is an Abbot script.
main(String[]) - Static method in class junit.extensions.abbot.ScriptTestSuite
Run all scripts on the command line as a single suite.
main(String[]) - Static method in class junit.extensions.abbot.ScriptTestCase
Deprecated. Assumes each argument is an Abbot script.
makeParentPath(TreePath) - Method in class abbot.tester.JTreeTester
Return the TreePath sans the last element, or null if there's only one element.
makeVisible(Component, TreePath) - Method in class abbot.tester.JTreeTester
Returns whether action was taken.
maskToKeyCode(int) - Static method in class abbot.tester.Robot
Convert the given modifier event mask to the equivalent key code.
matchesKey(String, char) - Static method in class abbot.editor.TestSelector.TestCellRenderer
 
matchExisting(Component, Collection) - Static method in class abbot.script.ComponentReference
Match the given component against an existing set of references.
maximize(Frame) - Method in class abbot.tester.Robot
Make the window full size.
maximize(JInternalFrame, boolean) - Method in class abbot.tester.JInternalFrameTester
 
maximum - Variable in class example.NumberChooser
 
MENU_SHORTCUT_KEYCODE - Static variable in class abbot.tester.Robot
 
MENU_SHORTCUT_MASK - Static variable in class abbot.tester.Robot
 
MENU_SHORTCUT_MODIFIER - Static variable in class abbot.tester.Robot
 
menuShortcutMask - Static variable in interface abbot.editor.EditorConstants
 
menuShortcutString - Static variable in interface abbot.editor.EditorConstants
 
METHOD_OBJECT - Static variable in class abbot.editor.ComponentPropertyModel
 
MI_ABOUT - Static variable in interface abbot.editor.EditorConstants
 
MI_ACTION_COUNT - Static variable in interface abbot.editor.EditorConstants
Total action count (actually one greater than the highest index).
MI_ASSERT_DYNAMIC - Static variable in interface abbot.editor.EditorConstants
 
MI_CAPTURE_DYNAMIC - Static variable in interface abbot.editor.EditorConstants
Start of dynamically generated capture actions.
MI_CLEAR - Static variable in interface abbot.editor.EditorConstants
 
MI_CLOSE - Static variable in interface abbot.editor.EditorConstants
 
MI_COUNT - Static variable in interface abbot.editor.EditorConstants
Total menu item action count.
MI_CUT - Static variable in interface abbot.editor.EditorConstants
 
MI_DELETE - Static variable in interface abbot.editor.EditorConstants
 
MI_DUPLICATE - Static variable in interface abbot.editor.EditorConstants
 
MI_EXIT - Static variable in interface abbot.editor.EditorConstants
 
MI_EXPORT_HIERARCHY - Static variable in interface abbot.editor.EditorConstants
 
MI_FORK - Static variable in interface abbot.editor.EditorConstants
 
MI_GETVMARGS - Static variable in interface abbot.editor.EditorConstants
 
MI_GROUP - Static variable in interface abbot.editor.EditorConstants
 
MI_INSERT_ANNOTATION - Static variable in interface abbot.editor.EditorConstants
 
MI_INSERT_CALL - Static variable in interface abbot.editor.EditorConstants
 
MI_INSERT_COMMENT - Static variable in interface abbot.editor.EditorConstants
 
MI_INSERT_COUNT - Static variable in interface abbot.editor.EditorConstants
 
MI_INSERT_DYNAMIC - Static variable in interface abbot.editor.EditorConstants
Start of dynamically generated insert actions.
MI_INSERT_FIRST - Static variable in interface abbot.editor.EditorConstants
 
MI_INSERT_LAST - Static variable in interface abbot.editor.EditorConstants
 
MI_INSERT_LAUNCH - Static variable in interface abbot.editor.EditorConstants
 
MI_INSERT_SAMPLE - Static variable in interface abbot.editor.EditorConstants
 
MI_INSERT_SCRIPT - Static variable in interface abbot.editor.EditorConstants
 
MI_INSERT_SEQUENCE - Static variable in interface abbot.editor.EditorConstants
 
MI_INSERT_TERMINATE - Static variable in interface abbot.editor.EditorConstants
 
MI_LAUNCH - Static variable in interface abbot.editor.EditorConstants
 
MI_MOVE_DOWN - Static variable in interface abbot.editor.EditorConstants
 
MI_MOVE_UP - Static variable in interface abbot.editor.EditorConstants
 
MI_NEW - Static variable in interface abbot.editor.EditorConstants
 
MI_OPEN - Static variable in interface abbot.editor.EditorConstants
 
MI_RENAME - Static variable in interface abbot.editor.EditorConstants
 
MI_RUN - Static variable in interface abbot.editor.EditorConstants
 
MI_RUNSELECTED - Static variable in interface abbot.editor.EditorConstants
 
MI_RUNTO - Static variable in interface abbot.editor.EditorConstants
 
MI_SAVE - Static variable in interface abbot.editor.EditorConstants
 
MI_SAVE_AS - Static variable in interface abbot.editor.EditorConstants
 
MI_SELECT_TESTSUITE - Static variable in interface abbot.editor.EditorConstants
 
MI_SLOW - Static variable in interface abbot.editor.EditorConstants
 
MI_STOP_ON_ERROR - Static variable in interface abbot.editor.EditorConstants
 
MI_STOP_ON_FAILURE - Static variable in interface abbot.editor.EditorConstants
 
MI_TERMINATE - Static variable in interface abbot.editor.EditorConstants
 
MI_TOGGLE_FIRST - Static variable in interface abbot.editor.EditorConstants
 
MI_TOGGLE_LAST - Static variable in interface abbot.editor.EditorConstants
 
MI_WAIT_DYNAMIC - Static variable in interface abbot.editor.EditorConstants
 
minimum - Variable in class example.NumberChooser
 
mouseClicked(MouseEvent) - Method in class abbot.editor.TestSelector.DoubleClickListener
 
mouseMove(Component) - Method in class abbot.tester.Robot
Move the pointer to the center of the given component.
mouseMove(Component, int) - Method in class abbot.tester.JTextComponentTester
Move the pointer to the given index location.
mouseMove(Component, int, int) - Method in class abbot.tester.Robot
Move the pointer to the given coordinates relative to the given component.
mousePress(Component) - Method in class abbot.tester.Robot
 
mousePress(Component, int) - Method in class abbot.tester.Robot
 
mousePress(Component, int, int) - Method in class abbot.tester.Robot
 
mousePress(Component, int, int, int) - Method in class abbot.tester.Robot
Mouse down in the given part of the component.
mousePress(Component, int, int, int) - Method in class abbot.tester.JComponentTester
Click in the given part of the component, scrolling the component if necessary to make the point visible.
mousePress(int) - Method in class abbot.tester.Robot
Send a button press event.
mouseRelease() - Method in class abbot.tester.Robot
Send a button release event for button 1.
mouseRelease(int) - Method in class abbot.tester.Robot
Send a button release event.
move(Container, int, int) - Method in class abbot.tester.Robot
Move the given Frame/Dialog to the requested location.
moveBy(Container, int, int) - Method in class abbot.tester.Robot
Move the given Window by the given amount.
moveDown() - Method in class abbot.editor.ScriptTable
Move the currently selected rows down one row.
moveSelectedRows(Sequence, int) - Method in class abbot.editor.ScriptTable
 
moveSteps(Sequence, List, int) - Method in class abbot.editor.ScriptModel
Move the given steps and all between them to the new location.
moveUp() - Method in class abbot.editor.ScriptTable
Move the selected step(s) up.
msg - Variable in class example.SimpleApplet
 
MULTI_CLICK_INTERVAL - Static variable in class abbot.tester.Robot
 
MultipleComponentsFoundException - exception abbot.MultipleComponentsFoundException.
Indicates more than one component was found (usually where only one was desired).
MultipleComponentsFoundException(Component[]) - Constructor for class abbot.MultipleComponentsFoundException
 
MultipleComponentsFoundException(String, Component[]) - Constructor for class abbot.MultipleComponentsFoundException
 
MW_FAILURE - Static variable in class abbot.script.ComponentReference
Match weight corresponding to no possible match.
MyCode - class example.MyCode.
 
MyCode() - Constructor for class example.MyCode
 
MyCodeStressTest - class example.MyCodeStressTest.
Simple example of a stress test on an app.
MyCodeStressTest(String) - Constructor for class example.MyCodeStressTest
Name is the name of a script filename.
MyCodeTest - class example.MyCodeTest.
Simple example of a ScriptTestSuite.
MyCodeTest(String) - Constructor for class example.MyCodeTest
Name is the name of a script filename.

N

name - Variable in class example.FontChooser
 
newScript(File, boolean) - Method in class abbot.editor.ScriptEditor
Create a new script at the given filename, or open it if it already exists.
NoExitSecurityManager - class abbot.NoExitSecurityManager.
 
NoExitSecurityManager() - Constructor for class abbot.NoExitSecurityManager
 
NonDelegatingClassLoader - class abbot.util.NonDelegatingClassLoader.
Provides support for loading a class before checking the parent class loader for it.
NonDelegatingClassLoader(String, ClassLoader) - Constructor for class abbot.util.NonDelegatingClassLoader
 
normalize(Frame) - Method in class abbot.tester.Robot
 
NoSuchReferenceException - exception abbot.NoSuchReferenceException.
Exception to indicate a Component reference does not exist.
NoSuchReferenceException() - Constructor for class abbot.NoSuchReferenceException
 
NoSuchReferenceException(String) - Constructor for class abbot.NoSuchReferenceException
 
NoUndoException - exception abbot.editor.actions.NoUndoException.
 
NoUndoException() - Constructor for class abbot.editor.actions.NoUndoException
 
NumberChooser - class example.NumberChooser.
Pick a number, any number.
NumberChooser() - Constructor for class example.NumberChooser
 
NumberChooser(int, int, int) - Constructor for class example.NumberChooser
 

O

okSelected() - Method in class abbot.editor.TestSelector
 
oValue - Variable in class example.NumberChooser
 

P

pack() - Method in class abbot.editor.ScriptEditorFrame
 
paint(Graphics) - Method in class abbot.editor.ScriptTable
We paint a cursor where insertions will take effect.
paint(Graphics) - Method in class example.ArrowButton
 
paint(Graphics) - Method in class example.SimpleApplet
 
parent - Variable in class abbot.script.AppletSecurityManager
 
parse(AWTEvent) - Method in class abbot.editor.recorder.SemanticRecorder
Handle an event.
parse(AWTEvent) - Method in class abbot.editor.recorder.ComponentRecorder
Handle an event.
parse(AWTEvent) - Method in class abbot.editor.recorder.JComponentRecorder
Add handling for JComponent input-mapped actions.
parse(AWTEvent) - Method in class abbot.editor.recorder.JInternalFrameRecorder
 
parse(String) - Static method in class abbot.Platform
 
parseActionMapEvent(AWTEvent) - Method in class abbot.editor.recorder.JComponentRecorder
Add handling for JComponent input-mapped actions.
parseArgumentList(String) - Static method in class abbot.script.ArgumentParser
Convert the given encoded String into an array of Strings.
parseChild(Element) - Method in class abbot.script.Sequence
 
parseChild(Element) - Method in class abbot.script.Script
 
parseChildren(Element) - Method in class abbot.script.Sequence
 
parseClick(AWTEvent) - Method in class abbot.editor.recorder.ComponentRecorder
Provide standard parsing of mouse button events.
parseClick(AWTEvent) - Method in class abbot.editor.recorder.ChoiceRecorder
Track click -> select ->click, cancelable by ESC or by clicking away from the component.
parseClick(AWTEvent) - Method in class abbot.editor.recorder.JComboBoxRecorder
Parse clicks to cancel the recording if we get a click that's not in the JList (or ESC).
parsed - Static variable in class abbot.Platform
 
parseDrop(AWTEvent) - Method in class abbot.editor.recorder.ComponentRecorder
 
parseDrop(AWTEvent) - Method in class abbot.editor.recorder.JTextComponentRecorder
 
parseInputMethod(AWTEvent) - Method in class abbot.editor.recorder.ComponentRecorder
 
parseInternalFrameAction(AWTEvent) - Method in class abbot.editor.recorder.JInternalFrameRecorder
 
parseKeyEvent(AWTEvent) - Method in class abbot.editor.recorder.ComponentRecorder
 
parseMenuSelection(AWTEvent) - Method in class abbot.editor.recorder.ComponentRecorder
 
parseStepAttributes(Map) - Method in class abbot.script.Step
 
parseWindowEvent(AWTEvent) - Method in class abbot.editor.recorder.ComponentRecorder
 
parseWindowEvent(AWTEvent) - Method in class abbot.editor.recorder.WindowRecorder
 
parseWindowEvent(AWTEvent) - Method in class abbot.editor.recorder.FileDialogRecorder
Override the default window parsing to consume everything between dialog open and close.
parseWindowEvent(AWTEvent) - Method in class abbot.editor.recorder.FrameRecorder
 
PathClassLoader - class abbot.util.PathClassLoader.
Provide a class loader that loads from a custom path.
PathClassLoader(String, ClassLoader) - Constructor for class abbot.util.PathClassLoader
Create a class loader that loads classes from the given path.
Platform - class abbot.Platform.
Simple utility to figure out what platform we're on.
populateAssertMenu(ArrayList) - Method in class abbot.editor.ScriptEditorFrame
Fill the menu with available assertXXX methods for the given class.
populateCaptureMenu(ArrayList) - Method in class abbot.editor.ScriptEditorFrame
Create the list of recordable GUI actions.
populateInsertMenu(ArrayList) - Method in class abbot.editor.ScriptEditorFrame
Fill the menu with available actionXXX methods for the given class.
populateWaitMenu(ArrayList) - Method in class abbot.editor.ScriptEditorFrame
Same as populateAssertMenu, but makes them waits instead.
POPUP_DELAY - Static variable in class junit.extensions.abbot.ComponentTestFixture
 
POPUP_MASK - Static variable in class abbot.tester.Robot
 
POPUP_MODIFIER - Static variable in class abbot.tester.Robot
 
POPUP_ON_PRESS - Static variable in class abbot.tester.Robot
 
POPUP_TIMEOUT - Static variable in class abbot.DefaultComponentFinder
Timeout for waiting on a popup menu.
popupDelay - Static variable in class abbot.tester.Robot
Delay before failing to find a popup menu that should appear.
postEvent(Component, AWTEvent) - Method in class abbot.tester.Robot
Post the given event to the corresponding event queue for the given component.
Preferences - class abbot.editor.Preferences.
 
Preferences() - Constructor for class abbot.editor.Preferences
 
printStackTrace() - Method in class abbot.script.ForkedStepRunner.ForkedFailure
 
printStackTrace() - Method in class abbot.script.ForkedStepRunner.ForkedError
 
printStackTrace(PrintStream) - Method in class abbot.script.ForkedStepRunner.ForkedFailure
 
printStackTrace(PrintStream) - Method in class abbot.script.ForkedStepRunner.ForkedError
 
printStackTrace(PrintWriter) - Method in class abbot.script.ForkedStepRunner.ForkedFailure
 
printStackTrace(PrintWriter) - Method in class abbot.script.ForkedStepRunner.ForkedError
 
processDeferredEvents() - Method in class abbot.util.SingleThreadedEventListener
Process any events that were generated off the event queue but not immediately handled.
processEvent(AWTEvent) - Method in class abbot.util.SingleThreadedEventListener
This method is not protected by any synchronization locks (nor should it be); in the presence of multiple simultaneous event dispatch threads, the listener must be threadsafe.
processMouseEvent(MouseEvent) - Method in class example.ArrowButton
 
ProcessOutputHandler - class abbot.util.ProcessOutputHandler.
Default process output handler, redirecting the subprocesses output to System.out and System.err.
ProcessOutputHandler(Process) - Constructor for class abbot.util.ProcessOutputHandler
Create an output handler for the given process.
ProcessOutputHandler(String, Process) - Constructor for class abbot.util.ProcessOutputHandler
Create an output handler for the given process.
PROP_NAME - Static variable in class abbot.util.AbstractEventExceptionHandler
See javadoc for java.awt.EventDispatchThread.
Properties - class abbot.util.Properties.
 
Properties() - Constructor for class abbot.util.Properties
 
PROPERTY_NAME - Static variable in class abbot.editor.ComponentPropertyModel
 
PROPERTY_VALUE - Static variable in class abbot.editor.ComponentPropertyModel
 
propertyAction(ComponentBrowser, Method, Object, boolean) - Method in interface abbot.editor.ComponentBrowserListener
 
PropertyCall - class abbot.script.PropertyCall.
Provide select non-static method access in addition to standard Call capabilities.
PropertyCall(Resolver, Map) - Constructor for class abbot.script.PropertyCall
Create a PropertyCall based on loaded XML attributes.
PropertyCall(Resolver, String, String, String[], String) - Constructor for class abbot.script.PropertyCall
Create a PropertyCall with a Component target.
PropertyCall(Resolver, String, String, String, String[]) - Constructor for class abbot.script.PropertyCall
Create a PropertyCall based on a static invocation.
propertyChange(PropertyChangeEvent) - Method in class example.FontChooser
 
propertyListSelectionChanged(ListSelectionEvent) - Method in class abbot.editor.ComponentBrowser
 

R

record(AWTEvent) - Method in class abbot.editor.recorder.SemanticRecorder
Handle an event.
Recorder - class abbot.editor.recorder.Recorder.
The Recorder provides a mechanism for recording an event stream and generating a sequence of script steps from that stream.
Recorder(Resolver) - Constructor for class abbot.editor.recorder.Recorder
Create a Recorder for use in converting events into script steps.
recordEvent(AWTEvent) - Method in class abbot.editor.recorder.Recorder
Process the given event.
RECORDING_EVENT_MASK - Static variable in class abbot.editor.recorder.EventRecorder
Events of interest when recording all actions.
RecordingFailedException - exception abbot.editor.recorder.RecordingFailedException.
 
RecordingFailedException(String) - Constructor for class abbot.editor.recorder.RecordingFailedException
 
RecordingFailedException(Throwable) - Constructor for class abbot.editor.recorder.RecordingFailedException
 
reenableHierarchy(List) - Static method in class abbot.util.AWT
Restore the enabled state.
referenceListSelectionChanged(ListSelectionEvent) - Method in class abbot.editor.ComponentBrowser
Called when a the reference list selection changes, and when the property list changes.
ReferencesModel - class abbot.editor.ReferencesModel.
Formats a Script for display in a table.
ReferencesModel(Resolver) - Constructor for class abbot.editor.ReferencesModel
 
Reflector - class abbot.Reflector.
Utility for performing some common reflection tasks.
refresh() - Method in class abbot.editor.ComponentBrowser
 
Regexp - class abbot.Regexp.
Simple wrapper around the more fully-featured RE class.
Regexp() - Constructor for class abbot.Regexp
 
reload() - Method in class abbot.editor.ComponentNode
 
removeActionListener(ActionListener) - Method in class example.ArrowButton
 
removeDebugClass(Class) - Static method in class abbot.Log
Indicate that the given class should NOT be debugged (assuming --debug all)
removeDebugClass(String) - Static method in class abbot.Log
Indicate the class name to exclude from debug output.
removePropertyChangeListener(PropertyChangeListener) - Method in class example.FontChooser
 
removePropertyChangeListener(PropertyChangeListener) - Method in class example.NumberChooser
 
removeSelectionListener(ComponentBrowserListener) - Method in class abbot.editor.ComponentBrowser
 
removeStep(int) - Method in class abbot.script.Sequence
Removes the step at the given index in the sequence.
removeStep(int) - Method in class abbot.script.Script
 
removeStep(Step) - Method in class abbot.editor.ScriptModel
Remove the given step from the script.
removeStep(Step) - Method in class abbot.script.Sequence
Removes the step if it exists in the sequence.
removeStep(Step) - Method in class abbot.script.Script
 
removeStepListener(StepListener) - Method in class abbot.script.StepRunner
 
removeSteps(List) - Method in class abbot.editor.ScriptModel
Remove all the given steps.
RepeatHelper - class junit.extensions.abbot.RepeatHelper.
Convenience functions to wrap a given test case such that individual methods may be run with heavy repetition, and default suites run with light repetition.
replace(String, String, String) - Static method in class abbot.script.ArgumentParser
Replace all instances in the given String of s1 with s2.
requestFocus() - Method in class example.NumberChooser
 
reset() - Method in class junit.extensions.abbot.Timer
Set the start time to the current time.
resetPointer() - Method in class abbot.tester.Robot
 
resize(Container, int, int) - Method in class abbot.tester.Robot
Resize the given Frame/Dialog to the given size.
resizeBy(Container, int, int) - Method in class abbot.tester.Robot
Resize the given Frame/Dialog by the given amounts.
resolve(String) - Method in class abbot.script.Step
Resolve the given name into a component.
resolveClass(String) - Method in class abbot.script.Step
Returns the Class corresponding to the given class name.
resolveMethod(String, Class, Class) - Method in class abbot.script.Call
Look up the given method name in the given class.
Resolver - interface abbot.Resolver.
Interface to provide a general context in which tests are run.
resolveTester(String) - Method in class abbot.script.Step
Look up an appropriate ComponentTester given an arbitrary class.
RIGHT - Static variable in class example.ArrowButton
Directions.
Robot - class abbot.tester.Robot.
Provide a higher level of abstraction for user input (A Better Robot).
Robot() - Constructor for class abbot.tester.Robot
 
rowToPoint(Component, int) - Method in class abbot.tester.JTreeTester
Convert the given row to an x,y coordinate.
run() - Method in class abbot.script.Step
Main run method.
run() - Method in class abbot.util.ProcessOutputHandler
 
run(Step) - Method in class abbot.script.StepRunner
Run the given script, propagating any failures or errors.
runBare() - Method in class junit.extensions.abbot.ComponentTestFixture
Override the default TestCase runBare method to ensure propert test harness setup and teardown that won't likely be accidentally overridden by a subclass.
runStep() - Method in class abbot.script.Step
Implement the step's behavior here.
runStep() - Method in class abbot.script.Event
Send our event to the component's event queue.
runStep() - Method in class abbot.script.Sequence
Process each event in our list.
runStep() - Method in class abbot.script.Annotation
Display a non-modal window.
runStep() - Method in class abbot.script.Call
 
runStep() - Method in class abbot.script.Terminate
 
runStep() - Method in class abbot.script.Assert
Run this step.
runStep() - Method in class abbot.script.Launch
 
runStep() - Method in class abbot.script.Comment
Main run step.
runStep(Step) - Method in class abbot.script.StepRunner
Main run method, which stores any failures or exceptions for later retrieval.
runStep(Step) - Method in class abbot.script.ForkedStepRunner
Running the step in a separate VM should be indistinguishable from running a regular script.
runStep(StepRunner) - Method in class abbot.script.Sequence
Process each event in our list, using the given runner.
runStep(StepRunner) - Method in class abbot.script.Script
 
runTest() - Method in class junit.extensions.abbot.ScriptFixture
Override the default TestCase runTest method to invoke the script.
runTests(String[], Class) - Static method in class junit.extensions.abbot.TestHelper
 
runTests(String[], Class) - Static method in class junit.extensions.abbot.RepeatHelper
 

S

Sample - class abbot.script.Sample.
Encapsulate capture of a value.
sample(int, int) - Method in class abbot.tester.Robot
Sample the color at the given point on the screen.
Sample(Resolver, Map) - Constructor for class abbot.script.Sample
 
Sample(Resolver, String, String, String[], String, String) - Constructor for class abbot.script.Sample
Component property sample.
Sample(Resolver, String, String, String, String[], String) - Constructor for class abbot.script.Sample
Static method property sample.
save() - Method in class abbot.editor.Preferences
 
save() - Method in class abbot.script.Script
Write the script to file.
save(Writer) - Method in class abbot.script.Script
Write the current state of the script to file.
Script - class abbot.script.Script.
Provide a structure to encapsulate actions invoked on GUI components and tests performed on those components.
Script() - Constructor for class abbot.script.Script
Create a new, empty script.
Script(Resolver, Map) - Constructor for class abbot.script.Script
 
Script(String) - Constructor for class abbot.script.Script
Create a script.
ScriptEditor - class abbot.editor.ScriptEditor.
Costello, the editor for Abbot scripts.
ScriptEditor() - Constructor for class abbot.editor.ScriptEditor
Constructs a ScriptEditor with the specified view
ScriptEditorFrame - class abbot.editor.ScriptEditorFrame.
Provides the primary frame for the Costello script editor.
ScriptEditorFrame(ScriptEditor, String, ScriptTable, EditorAction[]) - Constructor for class abbot.editor.ScriptEditorFrame
Constructs a ScriptEditorFrame with a title and a scriptable
ScriptFilter - class abbot.script.ScriptFilter.
 
ScriptFilter() - Constructor for class abbot.script.ScriptFilter
 
ScriptFixture - class junit.extensions.abbot.ScriptFixture.
Simple wrapper for a test script to run under JUnit.
ScriptFixture(String) - Constructor for class junit.extensions.abbot.ScriptFixture
Construct a test case with the given name, which must be the filename of the script to run.
ScriptModel - class abbot.editor.ScriptModel.
Formats a Script for display in a table.
ScriptModel() - Constructor for class abbot.editor.ScriptModel
 
ScriptModel(Script) - Constructor for class abbot.editor.ScriptModel
 
ScriptTable - class abbot.editor.ScriptTable.
Provides a component to edit a test script.
ScriptTable(ScriptModel) - Constructor for class abbot.editor.ScriptTable
 
ScriptTestCase - class junit.extensions.abbot.ScriptTestCase.
Deprecated. Use ScriptFixture instead.
ScriptTestCase(String) - Constructor for class junit.extensions.abbot.ScriptTestCase
Deprecated. Sole Constructor.
ScriptTestCollector - class junit.extensions.abbot.ScriptTestCollector.
Collects all available classes derived from ScriptTestCase in the current classpath.
ScriptTestCollector() - Constructor for class junit.extensions.abbot.ScriptTestCollector
 
ScriptTestSuite - class junit.extensions.abbot.ScriptTestSuite.
Similar to TestSuite, except that it auto-generates a suite based on test scripts matching certain criteria.
ScriptTestSuite(Class) - Constructor for class junit.extensions.abbot.ScriptTestSuite
Constructs a suite of tests from all the scripts found in the current directory.
ScriptTestSuite(Class, String) - Constructor for class junit.extensions.abbot.ScriptTestSuite
Constructs a suite of tests from all the scripts found in the given directory.
ScriptTestSuite(Class, String[]) - Constructor for class junit.extensions.abbot.ScriptTestSuite
Constructs a suite of tests for each script given in the argument list, using the given class derived from ScriptFixture to wrap each script.
ScriptTestSuite(Class, String, boolean) - Constructor for class junit.extensions.abbot.ScriptTestSuite
Constructs an ScriptTestSuite from all the scripts in the given directory, recursing if recurse is true.
ScriptTestSuite(String[]) - Constructor for class junit.extensions.abbot.ScriptTestSuite
Constructs a suite of tests for each script given in the argument list.
scrollToVisible(Component, int, int) - Method in class abbot.tester.JComponentTester
Scrolls the component so that the coordinate x and y are visible.
scrollToVisible(Component, Rectangle) - Method in class abbot.tester.JComponentTester
Scrolls the component so that the given rectangle is visible.
SE_ACTION_MAP - Static variable in class abbot.editor.recorder.JComponentRecorder
 
SE_ANY - Static variable in interface abbot.editor.recorder.SemanticEvents
Any event recognized.
SE_CLICK - Static variable in interface abbot.editor.recorder.SemanticEvents
Mouse down/up.
SE_DECORATION - Static variable in class abbot.editor.recorder.JInternalFrameRecorder
 
SE_DRAG - Static variable in interface abbot.editor.recorder.SemanticEvents
Generic drag event.
SE_DROP - Static variable in interface abbot.editor.recorder.SemanticEvents
Generic drop event.
SE_IM - Static variable in interface abbot.editor.recorder.SemanticEvents
Input method input (extended character input).
SE_INTERNAL_FRAME - Static variable in class abbot.editor.recorder.JInternalFrameRecorder
 
SE_KEY - Static variable in interface abbot.editor.recorder.SemanticEvents
Key typed events.
SE_MENU - Static variable in interface abbot.editor.recorder.SemanticEvents
Standard or popup menu
SE_NONE - Static variable in interface abbot.editor.recorder.SemanticEvents
No event recognized.
SE_SELECTION - Static variable in class abbot.editor.recorder.JTextComponentRecorder
 
SE_TEXT - Static variable in interface abbot.editor.recorder.SemanticEvents
Text input (multiple keystrokes).
SE_WINDOW - Static variable in interface abbot.editor.recorder.SemanticEvents
Window show/hide/move/resize/activate.
selectAWTMenuItem(MenuComponent) - Method in class abbot.tester.Robot
Select an AWT menu item.
selectAWTMenuItemByLabel(Frame, String) - Method in class abbot.tester.Robot
Find and select the given AWT menu item.
selectAWTPopupMenuItem(MenuComponent) - Method in class abbot.tester.Robot
Select an AWT popup menu item.
selectAWTPopupMenuItemByLabel(Component, String) - Method in class abbot.tester.Robot
Find and select the given AWT popup menu item.
selectionChanged(ComponentBrowser, Component, ComponentReference) - Method in interface abbot.editor.ComponentBrowserListener
 
selectMenuItem(Component) - Method in class abbot.tester.Robot
Find and select the given menu item.
SemanticEvents - interface abbot.editor.recorder.SemanticEvents.
Provide mnemonic constants for different types of semantic events.
SemanticRecorder - class abbot.editor.recorder.SemanticRecorder.
Template for recording AWTEvents and converting them into an appropriate semantic event.
SemanticRecorder(Resolver) - Constructor for class abbot.editor.recorder.SemanticRecorder
Create a SemanticRecorder for use in capturing the semantics of a GUI action.
sendEvent(AWTEvent) - Method in class abbot.tester.Robot
Send the given event as appropriate to the event-generation mode.
Sequence - class abbot.script.Sequence.
Script step which groups a sequence of other Steps.
Sequence(Resolver, Element, Map) - Constructor for class abbot.script.Sequence
 
Sequence(Resolver, Map) - Constructor for class abbot.script.Sequence
 
Sequence(Resolver, String) - Constructor for class abbot.script.Sequence
 
Sequence(Resolver, String, List) - Constructor for class abbot.script.Sequence
Create an aggregate from existing AWTEvents.
setArguments(String) - Method in class abbot.script.Call
 
setAssertOptions(boolean, boolean) - Method in class abbot.editor.ScriptEditorFrame
 
setAttribute(String, String) - Method in class abbot.script.Event
 
setAttribute(String, String) - Method in class abbot.script.ComponentReference
For package-level testing only.
setAutoDelay(int) - Static method in class abbot.tester.Robot
Allow this to be adjusted, mostly for testing.
setButtons(int) - Method in class abbot.tester.InputState
 
setClasspath(String) - Method in class abbot.script.Launch
 
setClickCount(int) - Method in class abbot.tester.InputState
 
setColumns(int) - Method in class example.NumberChooser
 
setComponent(Component) - Method in class abbot.editor.ComponentPropertyModel
 
setComponent(Component, boolean) - Method in class abbot.editor.ComponentPropertyModel
Update the list of property methods based on the newly selected component.
setComponentBrowser(ComponentBrowser) - Method in class abbot.editor.ScriptEditorFrame
Sets the componentBrowser.
setComponentID(String) - Method in class abbot.script.Event
 
setComponentID(String) - Method in class abbot.script.PropertyCall
Set the component reference ID used by method invocation.
setCursorLocation(int) - Method in class abbot.editor.ScriptTable
Set the cursor location to a reasonable target for the given row.
setCursorLocation(Point) - Method in class abbot.editor.ScriptTable
 
setDebugStackDepth(int) - Static method in class abbot.Log
Sets the debug stack depth to the given amount
setDelegates(boolean) - Method in class abbot.script.Launch
 
setDescription(String) - Method in class abbot.script.Step
 
setDirection(String) - Method in class example.ArrowButton
 
setDisplayLocation(Point) - Method in class abbot.script.Annotation
 
setDocumentationProperties(String[]) - Static method in class abbot.editor.ScriptEditor
Deprecated. Set the properties for your action directly. Install the given documentation properties, given as an array of four Strings. Add-on classes derived from ComponentTester should invoke this for each exported action. These properties are for use by the editor to better describe the available methods.

setDragSource(Component) - Method in class abbot.tester.InputState
 
setEditor(JPanel) - Method in class abbot.editor.ScriptEditorFrame
 
setEnabled(boolean) - Method in class abbot.editor.ComponentBrowser
When re-enabled, perform a reload of the tree.
setError(Step, Throwable) - Method in class abbot.script.StepRunner
 
setEventMode(int) - Static method in class abbot.tester.Robot
Set the event-generation mode.
setEventPostDelay(int) - Static method in class abbot.tester.Robot
 
setExpectedResult(String) - Method in class abbot.script.Assert
 
setFile(File) - Method in class abbot.script.Script
Warning: if the directory is changed, need to change associated files as well.
setFilteredPropertyMethods(Class, String[]) - Static method in class abbot.editor.ComponentPropertyModel
Install the given filtered property method properties.
setFilterEnabled(boolean) - Method in class abbot.DefaultComponentFinder
 
setFilterEnabled(boolean) - Method in interface abbot.ComponentFinder
Indicate whether to filter component lists.
setFinished(boolean) - Method in class abbot.editor.recorder.SemanticRecorder
Invoke when end of the semantic event has been seen.
setForked(boolean) - Method in class abbot.script.Script
 
setInverted(boolean) - Method in class abbot.script.Assert
 
setKind(String) - Method in class abbot.script.Event
 
setLastEventTime(long) - Method in class abbot.tester.InputState
 
setMaximum(int) - Method in class example.NumberChooser
 
setMethodName(String) - Method in class abbot.script.Call
 
setMinimum(int) - Method in class example.NumberChooser
 
setModifiers(int) - Method in class abbot.tester.InputState
 
setModifiers(int, boolean) - Method in class abbot.tester.Robot
Press or release the appropriate modifiers corresponding to the given mask.
setParser(Class, Parser) - Static method in class abbot.script.ArgumentParser
Set the parser for a given class.
setPollInterval(long) - Method in class abbot.script.Assert
 
setProperty(String, String) - Method in interface abbot.Resolver
Provide temporary storage of values.
setProperty(String, String) - Method in class abbot.editor.ScriptEditor
From abbot.Resolver.
setProperty(String, String) - Method in class abbot.script.Script
 
setPropertyName(String) - Method in class abbot.script.Sample
 
setRecordingType(int) - Method in class abbot.editor.recorder.SemanticRecorder
 
setRelativeTo(File) - Method in class abbot.script.Script
Indicate that when invoking toXML, a path relative to the given one should be shown.
setRelativeTo(String) - Method in class abbot.script.Annotation
 
setResolver(Resolver) - Method in class abbot.editor.ComponentBrowser
Set the resolver on which the references list is based.
setScript(Script) - Method in class abbot.editor.ScriptModel
Set the script to display.
setScript(String) - Method in class abbot.editor.ScriptEditor
Set the current test script.
setScriptError(Throwable) - Method in class abbot.script.Step
For use by subclasses when an error is encountered during parsing.
setSelected(boolean) - Method in class abbot.editor.actions.EditorToggleAction
 
setSelectedComponent(Component) - Method in class abbot.editor.ComponentBrowser
Select the given component (and make it visible) in the current view.
setSelectedReference(ComponentReference) - Method in class abbot.editor.ComponentBrowser
Select the given reference in the current view.
setSlowPlayback(boolean) - Method in class abbot.script.Script
 
setSpecifiedFont(Font) - Method in class example.FontChooser
 
setStatus(String) - Method in class abbot.editor.ScriptEditor
Set the contents of the status message.
setStatus(String) - Method in class abbot.editor.recorder.SemanticRecorder
Indicate the current recording state, so that the status may be displayed elsewhere.
setStatus(String) - Method in class abbot.editor.recorder.Recorder
Indicate the current recording state, so that the status may be displayed elsewhere.
setStatus(String, String, Color) - Method in class abbot.editor.ScriptEditorFrame
Set the text for the status window.
setStatus(String, String, int) - Method in class abbot.editor.ScriptEditor
Set the contents of the status message.
setStep(int) - Method in class example.NumberChooser
 
setStep(int, Step) - Method in class abbot.script.Sequence
Replaces the step at the given index.
setStep(int, Step) - Method in class abbot.script.Script
Replaces the step at the given index.
setStep(Step) - Method in class abbot.editor.recorder.SemanticRecorder
Add the given step.
setStopOnError(boolean) - Method in class abbot.script.StepRunner
 
setStopOnFailure(boolean) - Method in class abbot.script.StepRunner
 
setTargetClassName(String) - Method in class abbot.script.Call
 
setTargetClassName(String) - Method in class abbot.script.Action
Ensure the default class name is "java.awt.Component".
setTerminateOnError(boolean) - Method in class abbot.script.StepRunner
Set whether the application under test should be terminated when an error is encountered and script execution stopped.
setTester(Class, ComponentTester) - Static method in class abbot.tester.ComponentTester
Establish the given ComponentTester as the one to use for the given class.
setText(String) - Method in class abbot.script.Annotation
 
setThreaded(boolean) - Method in class abbot.script.Launch
 
setThreadedLaunchListener(Launch.ThreadedLaunchListener) - Method in class abbot.script.Launch
Set a listener to respond to events when the launch step is threaded.
setTimeout(long) - Method in class abbot.script.Assert
 
setTitle(String) - Method in class abbot.script.Annotation
 
setType(String) - Method in class abbot.script.Event
 
setUp() - Method in class abbot.script.StepRunner
Set up an appropriate environment for launching an app under test.
setUp() - Method in class example.ArrowButtonTest
 
setUserDismiss(boolean) - Method in class abbot.script.Annotation
 
setValue(int) - Method in class example.NumberChooser
 
setValueAt(Object, int, int) - Method in class abbot.editor.ReferencesModel
Assumes value is XML for a script step.
setValueAt(Object, int, int) - Method in class abbot.editor.ScriptModel
Assumes value is XML for a script step.
setVMArgs(String) - Method in class abbot.script.Script
 
setWait(boolean) - Method in class abbot.script.Assert
 
shouldDelegate(String) - Method in class abbot.script.AppClassLoader
Should the parent class loader try to load this class first?
shouldDelegate(String) - Method in class abbot.util.NonDelegatingClassLoader
Returns whether the given class should be given to the parent class loader to try before this one does.
showAboutBox() - Method in class abbot.editor.ScriptEditorFrame
 
showAnnotation() - Method in class abbot.script.Annotation
 
showConfirmation(String) - Static method in class abbot.editor.ScriptEditor
 
showConfirmation(String, int) - Static method in class abbot.editor.ScriptEditor
 
showError(String) - Static method in class abbot.editor.ScriptEditor
Global facility for error dialogs.
showError(String, String) - Static method in class abbot.editor.ScriptEditor
Global facility for error dialogs.
showFrame(Component) - Method in class junit.extensions.abbot.ComponentTestFixture
This method should be invoked to display the component under test.
showFrame(Component, Dimension) - Method in class junit.extensions.abbot.ComponentTestFixture
This method should be invoked to display the component under test, when a specific size of frame is desired.
showingHierarchy() - Method in class abbot.editor.ComponentBrowser
 
showInputDialog(String, String, String) - Static method in class abbot.editor.ScriptEditor
Global facility for obtaining a user input String.
showMessage(String, String) - Static method in class abbot.editor.ScriptEditor
Global facility for message dialogs.
showPopup(JPopupMenu, Component, int, int) - Method in class junit.extensions.abbot.ComponentTestFixture
Safely display a popup, returning when it is visible.
showPopupMenu(Component) - Method in class abbot.tester.Robot
Attempt to display a popup menu at center of the component.
showPopupMenu(Component, int, int) - Method in class abbot.tester.Robot
Attempt to display a popup menu at the given coordinates.
showWarning(String) - Static method in class abbot.editor.ScriptEditor
Global facility for warning dialog.
showWarning(String, String) - Static method in class abbot.editor.ScriptEditor
Global facility for warning dialog.
showWindow(Window) - Method in class junit.extensions.abbot.ComponentTestFixture
Safely display a window, avoiding deadlock.
showWindow(Window, Dimension) - Method in class junit.extensions.abbot.ComponentTestFixture
Safely display a window, avoiding deadlock.
showWindow(Window, Dimension, boolean) - Method in class junit.extensions.abbot.ComponentTestFixture
Safely display a window, avoiding deadlock.
SimpleApplet - class example.SimpleApplet.
A very simple AWT-based applet.
SimpleApplet() - Constructor for class example.SimpleApplet
 
simpleClassName(Class) - Method in class abbot.script.Step
 
simpleClassName(Class) - Static method in class abbot.tester.Robot
Strip the package from the class name.
SingleThreadedEventListener - class abbot.util.SingleThreadedEventListener.
Provide an AWTEventListener which ensures all events are handled on the event dispatch thread.
SingleThreadedEventListener() - Constructor for class abbot.util.SingleThreadedEventListener
 
size - Variable in class example.FontChooser
 
size() - Method in class abbot.script.Sequence
Returns the number of steps contained in this one.
size() - Method in class abbot.script.Script
 
sleep() - Method in class abbot.tester.Robot
Sleep for a little bit, measured in UI time.
specifiedFont - Variable in class example.FontChooser
 
start() - Method in class abbot.editor.recorder.Recorder
Start recording a new event stream.
start() - Method in class abbot.editor.recorder.EventRecorder
 
startListening(AWTEventListener, long) - Method in class abbot.util.EventNormalizer
 
startSelection(Component, int) - Method in class abbot.tester.JTextComponentTester
 
state - Static variable in class abbot.tester.Robot
Current input state.
STATE - Static variable in class abbot.editor.actions.EditorToggleAction
 
stateChanged(StepEvent) - Method in interface abbot.script.StepListener
 
step - Variable in class example.NumberChooser
 
Step - class abbot.script.Step.
Provides access to one step (line) from a script.
STEP_END - Static variable in class abbot.script.StepEvent
The step has finished.
STEP_ERROR - Static variable in class abbot.script.StepEvent
The step encountered an error.
STEP_FAILURE - Static variable in class abbot.script.StepEvent
The step failed.
STEP_FLAVOR - Static variable in class abbot.editor.StepTransferable
 
STEP_LIST_FLAVOR - Static variable in class abbot.editor.StepTransferable
 
STEP_PROGRESS - Static variable in class abbot.script.StepEvent
The step is N% complete.
STEP_START - Static variable in class abbot.script.StepEvent
The step has begun executing.
Step(Resolver, Map) - Constructor for class abbot.script.Step
 
Step(Resolver, String) - Constructor for class abbot.script.Step
 
stepError(Launch, Throwable) - Method in interface abbot.script.Launch.ThreadedLaunchListener
 
StepEvent - class abbot.script.StepEvent.
 
StepEvent(Step, String, int, Throwable) - Constructor for class abbot.script.StepEvent
 
stepFailure(Launch, AssertionFailedError) - Method in interface abbot.script.Launch.ThreadedLaunchListener
 
StepListener - interface abbot.script.StepListener.
Listener for script step feedback.
StepRunner - class abbot.script.StepRunner.
 
StepRunner() - Constructor for class abbot.script.StepRunner
Provides control and tracking of the execution of a step or series of steps.
steps - Variable in class abbot.editor.recorder.EventRecorder
 
steps() - Method in class abbot.script.Sequence
Returns a list of the steps contained in this one.
steps() - Method in class abbot.script.Script
 
StepTransferable - class abbot.editor.StepTransferable.
 
StepTransferable(List) - Constructor for class abbot.editor.StepTransferable
 
StepTransferable(Step) - Constructor for class abbot.editor.StepTransferable
 
stop() - Method in class abbot.script.StepRunner
Stop execution of the script after the current step completes.
stop(boolean) - Method in class abbot.script.StepRunner
Stop execution, indicating whether to terminate the app.
stopListening() - Method in class abbot.util.EventNormalizer
 
stopped() - Method in class abbot.script.StepRunner
Return whether the runner has been stopped.
stringContainsMatch(String, String) - Static method in class abbot.Regexp
Return whether there is a match for the given regular expression within the given string.
stringMatch(String, String) - Static method in class abbot.Regexp
Return whether the given regular expression matches the given string exactly.
Strings - class abbot.i18n.Strings.
Provides i18n support.
stringsMatch(String, String) - Static method in class abbot.util.ExtendedComparator
Match with a regexp if the pattern contains a ".*" or is bounded by slashes (/regexp/).
stripHTML(String) - Static method in class abbot.tester.ComponentTester
Quick and dirty strip raw text from html, for getting the basic text from html-formatted labels and buttons.
substitute(Resolver, String) - Static method in class abbot.script.ArgumentParser
Performs property substitutions on the argument priort to evaluating it.
suite() - Static method in class example.FontChooserTest
Provide a default test suite for this test case.
suite() - Static method in class example.MyCodeTest
Return the set of scripts we want to run.
systemErr - Static variable in class abbot.Log
 
systemOut - Static variable in class abbot.Log
 

T

tabChanged(ChangeEvent) - Method in class abbot.editor.ComponentBrowser
Invoked when the tab changes.
TAG_ACTION - Static variable in interface abbot.script.Tags
 
TAG_ARGS - Static variable in interface abbot.script.Tags
 
TAG_ASSERT - Static variable in interface abbot.script.Tags
 
TAG_AWTTESTSCRIPT - Static variable in interface abbot.script.Tags
 
TAG_CALL - Static variable in interface abbot.script.Tags
 
TAG_CLASS - Static variable in interface abbot.script.Tags
 
TAG_CLASSPATH - Static variable in interface abbot.script.Tags
 
TAG_COMMENT - Static variable in interface abbot.script.Tags
 
TAG_COMPONENT - Static variable in interface abbot.script.Tags
 
TAG_COUNT - Static variable in interface abbot.script.Tags
 
TAG_DELEGATE - Static variable in interface abbot.script.Tags
 
TAG_DESC - Static variable in interface abbot.script.Tags
 
TAG_DOCBASE - Static variable in interface abbot.script.Tags
 
TAG_EVENT - Static variable in interface abbot.script.Tags
 
TAG_FILENAME - Static variable in interface abbot.script.Tags
 
TAG_FORKED - Static variable in interface abbot.script.Tags
 
TAG_HEIGHT - Static variable in interface abbot.script.Tags
 
TAG_HORDER - Static variable in interface abbot.script.Tags
 
TAG_ID - Static variable in interface abbot.script.Tags
 
TAG_INDEX - Static variable in interface abbot.script.Tags
 
TAG_INVERT - Static variable in interface abbot.script.Tags
 
TAG_INVOKER - Static variable in interface abbot.script.Tags
 
TAG_KEYCHAR - Static variable in interface abbot.script.Tags
 
TAG_KEYCODE - Static variable in interface abbot.script.Tags
 
TAG_KIND - Static variable in interface abbot.script.Tags
 
TAG_LAUNCH - Static variable in interface abbot.script.Tags
 
TAG_METHOD - Static variable in interface abbot.script.Tags
 
TAG_MODIFIERS - Static variable in interface abbot.script.Tags
 
TAG_NAME - Static variable in interface abbot.script.Tags
 
TAG_PARAMS - Static variable in interface abbot.script.Tags
 
TAG_PARENT - Static variable in interface abbot.script.Tags
 
TAG_POLL_INTERVAL - Static variable in interface abbot.script.Tags
 
TAG_PROPERTY - Static variable in interface abbot.script.Tags
 
TAG_SAMPLE - Static variable in interface abbot.script.Tags
 
TAG_SCRIPT - Static variable in interface abbot.script.Tags
 
TAG_SEQUENCE - Static variable in interface abbot.script.Tags
 
TAG_SLOW - Static variable in interface abbot.script.Tags
 
TAG_STOP_ON_ERROR - Static variable in interface abbot.script.Tags
 
TAG_STOP_ON_FAILURE - Static variable in interface abbot.script.Tags
 
TAG_TAG - Static variable in interface abbot.script.Tags
 
TAG_TERMINATE - Static variable in interface abbot.script.Tags
 
TAG_THREADED - Static variable in interface abbot.script.Tags
 
TAG_TIMEOUT - Static variable in interface abbot.script.Tags
 
TAG_TITLE - Static variable in interface abbot.script.Tags
 
TAG_TRIGGER - Static variable in interface abbot.script.Tags
 
TAG_TYPE - Static variable in interface abbot.script.Tags
 
TAG_VALUE - Static variable in interface abbot.script.Tags
 
TAG_VMARGS - Static variable in interface abbot.script.Tags
 
TAG_VORDER - Static variable in interface abbot.script.Tags
 
TAG_WAIT - Static variable in interface abbot.script.Tags
 
TAG_WIDTH - Static variable in interface abbot.script.Tags
 
TAG_WINDOW - Static variable in interface abbot.script.Tags
 
TAG_X - Static variable in interface abbot.script.Tags
 
TAG_Y - Static variable in interface abbot.script.Tags
 
Tags - interface abbot.script.Tags.
 
tearDown() - Method in class abbot.script.StepRunner
Restore (to the extent possible) the environment prior to running.
Terminate - class abbot.script.Terminate.
Placeholder step to indicate to a script that it should terminate.
TERMINATE_TIMEOUT - Variable in class abbot.script.ForkedStepRunner
 
terminate() - Method in class abbot.editor.recorder.Recorder
Indicate the end of the current event input stream.
terminate() - Method in class abbot.editor.recorder.EventRecorder
 
terminate() - Method in class abbot.script.StepRunner
Dispose of any extant windows and restore any saved environment state.
Terminate(Resolver, Map) - Constructor for class abbot.script.Terminate
 
Terminate(Resolver, String) - Constructor for class abbot.script.Terminate
 
terminateThreads(ThreadGroup) - Method in class abbot.util.ThreadTerminatingSecurityManager
Ensure ThreadTermination exceptions are thrown for any thread in the given group when any such thread causes the security manager to be invoked.
TERTIARY_MASK - Static variable in class abbot.tester.Robot
 
TERTIARY_MODIFIER - Static variable in class abbot.tester.Robot
 
TEST_NONE - Static variable in class abbot.editor.TestSelector
If the selected item is this value, then use no test case class.
test() - Method in interface abbot.Condition
Return the condition state.
testClick() - Method in class example.ArrowButtonTest
 
TestHelper - class junit.extensions.abbot.TestHelper.
Provides automatic test suite generation given command-line arguments.
testLoop() - Method in class example.MyCodeStressTest
 
testRepeatedFire() - Method in class example.ArrowButtonTest
 
TestSelector - class abbot.editor.TestSelector.
A test class selector.
TestSelector.DoubleClickListener - class abbot.editor.TestSelector.DoubleClickListener.
 
TestSelector.DoubleClickListener(TestSelector) - Constructor for class abbot.editor.TestSelector.DoubleClickListener
 
TestSelector.KeySelectListener - class abbot.editor.TestSelector.KeySelectListener.
 
TestSelector.KeySelectListener(TestSelector) - Constructor for class abbot.editor.TestSelector.KeySelectListener
 
TestSelector.TestCellRenderer - class abbot.editor.TestSelector.TestCellRenderer.
Renders TestFailures in a JList
TestSelector.TestCellRenderer() - Constructor for class abbot.editor.TestSelector.TestCellRenderer
 
TestSelector(Frame, TestCollector) - Constructor for class abbot.editor.TestSelector
 
TextField - class abbot.editor.TextField.
A better text field that fires when focus leaves the component, and also selects all the contents when the action is fired to indicate the contents were accepted.
TextField(String) - Constructor for class abbot.editor.TextField
 
TextFormat - class abbot.editor.TextFormat.
Provides text formatting utilities.
TextFormat() - Constructor for class abbot.editor.TextFormat
 
ThreadTerminatingSecurityManager - class abbot.util.ThreadTerminatingSecurityManager.
Provides a method for terminating threads over which you otherwise have no control.
ThreadTerminatingSecurityManager.ThreadTerminatedException - exception abbot.util.ThreadTerminatingSecurityManager.ThreadTerminatedException.
 
ThreadTerminatingSecurityManager.ThreadTerminatedException(ThreadTerminatingSecurityManager) - Constructor for class abbot.util.ThreadTerminatingSecurityManager.ThreadTerminatedException
 
ThreadTerminatingSecurityManager() - Constructor for class abbot.util.ThreadTerminatingSecurityManager
 
Timer - class junit.extensions.abbot.Timer.
Time and performance measurement utilities.
Timer() - Constructor for class junit.extensions.abbot.Timer
Basic constructor which sets the timer base to the current time.
toEditableString() - Method in class abbot.script.Step
 
toEditableString() - Method in interface abbot.script.XMLifiable
Provide an editable string representation of the object.
toEditableString() - Method in class abbot.script.Sequence
Only thing directly editable on a sequence is its description.
toEditableString() - Method in class abbot.script.Script
Only thing directly editable on a script is its file path.
toEditableString() - Method in class abbot.script.ComponentReference
 
toggle(int) - Method in class abbot.editor.ScriptModel
Toggle the open state of the node, if it's a sequence.
toggle(int) - Method in class abbot.editor.ScriptTable
Toggle the open/closed state of a sequence.
TOOLTIP_WRAP - Static variable in class abbot.editor.TextFormat
 
tooltip(String) - Static method in class abbot.editor.TextFormat
Emit html, suitably line-wrapped and formatted for a tool tip.
toString() - Method in class abbot.BugReport
 
toString() - Method in class abbot.MultipleComponentsFoundException
 
toString() - Method in interface abbot.Condition
Return a description of what the condition is testing.
toString() - Method in class abbot.editor.ComponentNode
 
toString() - Method in class abbot.editor.ScriptEditor
 
toString() - Method in class abbot.editor.StepTransferable
 
toString() - Method in class abbot.editor.recorder.EventRecorder
Return the name of the type of GUI action to be recorded.
toString() - Method in class abbot.script.StepEvent
 
toString() - Method in class abbot.script.Step
Return a description of this script step.
toString() - Method in class abbot.script.Script
 
toString() - Method in class abbot.script.ForkedStepRunner.ForkedFailure
 
toString() - Method in class abbot.script.ForkedStepRunner.ForkedError
 
toString() - Method in class abbot.script.ComponentReference
Return a human-readable representation.
toString() - Method in class abbot.script.Comment
 
toString(AWTEvent) - Static method in class abbot.tester.Robot
Provide a more concise representation of the event than the default AWTEvent.toString().
toString(Component) - Static method in class abbot.tester.Robot
Provides a more concise representation of the component than the default Component.toString().
toString(Object) - Method in class abbot.script.Assert
Print out arrays by individual element.
toString(Object) - Static method in class abbot.tester.Robot
Provide a string representation of the given component (Component or MenuComponent.
toXML() - Method in class abbot.script.Step
Convert the object to XML.
toXML() - Method in interface abbot.script.XMLifiable
Provide an XML representation of the object.
toXML() - Method in class abbot.script.ComponentReference
 
toXML() - Method in class abbot.script.Comment
 
toXMLString() - Method in class abbot.script.ComponentReference
 
toXMLString(XMLifiable) - Static method in class abbot.script.Step
Provide a one-line XML string representation.

U

undo() - Method in interface abbot.editor.actions.Undoable
 
undo() - Method in class abbot.editor.actions.CommandHistory
 
Undoable - interface abbot.editor.actions.Undoable.
 
UndoableCommand - interface abbot.editor.actions.UndoableCommand.
 
unescapeBrackets(String) - Static method in class abbot.script.ArgumentParser
 
uninstall() - Method in class abbot.script.AppClassLoader
Reverse the effects of install.
uninstallContext() - Method in class abbot.script.Launch
Remove the class loader context.
up - Variable in class example.NumberChooser
 
UP - Static variable in class example.ArrowButton
Directions.
update(AWTEvent) - Method in class abbot.tester.InputState
Explicitly update the internal state.
update(Graphics) - Method in class example.ArrowButton
 
updateAssertText(boolean, boolean) - Method in class abbot.editor.ComponentBrowser
 
updateState(KeyEvent) - Method in class abbot.tester.InputState
 
updateState(MouseEvent) - Method in class abbot.tester.InputState
 
usage() - Method in class abbot.script.Step
Throw an invalid script exception describing the proper script usage.
usage(String) - Method in class abbot.script.Step
Store an invalid script exception describing the proper script usage.
userMovable(Component) - Method in class abbot.tester.Robot
Return whether it is possible for the user to move the given component.
userResizable(Component) - Method in class abbot.tester.Robot
Return whether it is possible for the user to resize the given component.
useScreenMenuBar() - Static method in class abbot.tester.Robot
OS X using screenMenuBar actually uses an AWT menu as the live component.

V

VALID_ATTRIBUTES - Static variable in class abbot.script.ComponentReference
 
validate - Static variable in class abbot.script.Script
 
valueToIndex(Component, String) - Method in class abbot.tester.JListTester
Find the first string match in the list and return its index.
Version - interface abbot.Version.
Current version of the framework.
VERSION - Static variable in interface abbot.Version
 

W

wait(Condition) - Method in class abbot.tester.Robot
Wait for the given Condition to return true.
wait(Condition, long) - Method in class abbot.tester.Robot
Wait for the given Condition to return true, waiting for timeout ms.
wait(Condition, long, int) - Method in class abbot.tester.Robot
Wait for the given Condition to return true, waiting for timeout ms, polling at the given interval.
waitAction(String, Condition) - Method in class abbot.tester.ComponentTester
Wait for the given condition, throwing an ActionFailedException if it times out.
waitForComponentShowing(ComponentReference) - Method in class abbot.tester.ComponentTester
Wait for the Component represented by the given ComponentReference to become available.
waitForFrameShowing(String) - Method in class abbot.tester.ComponentTester
Convenience wait for a window to be displayed.
waitForIdle() - Method in class abbot.tester.Robot
Wait for an idle AWT event queue.
WaitTimedOutError - error abbot.WaitTimedOutError.
 
WaitTimedOutError() - Constructor for class abbot.WaitTimedOutError
 
WaitTimedOutError(String) - Constructor for class abbot.WaitTimedOutError
 
wantMnemonics - Static variable in class abbot.editor.ScriptEditorFrame
 
warn(String) - Static method in class abbot.Log
Issue a programmer warning, which will include the source line of the warning.
warn(String, int) - Static method in class abbot.Log
Issue a programmer warning, which will include the source line of the warning, and a stack trace with up to the given number of lines.
warn(Throwable) - Static method in class abbot.Log
Issue a programmer warning, which will include the source line of the original thrown object.
warnIfNotSwing() - Static method in class abbot.Log
print warning if not invoked on Swing thread
warnIfNotSwing(int) - Static method in class abbot.Log
print warning if not invoked on Swing thread, with given number of lines of stack trace.
warnInDebug(String) - Static method in class abbot.Log
Issue a programmer warning, which will include the source line of the warning, but only in debug builds.
warnInDebug(String, int) - Static method in class abbot.Log
Issue a programmer warning, which will include the source line of the warning, and a stack trace with up to the given number of lines, but only in debug builds.
WINDOW_DELAY - Static variable in class junit.extensions.abbot.ComponentTestFixture
 
WindowRecorder - class abbot.editor.recorder.WindowRecorder.
Record basic semantic events you might find on an Window.
WindowRecorder(Resolver) - Constructor for class abbot.editor.recorder.WindowRecorder
 
WindowTester - class abbot.tester.WindowTester.
 
WindowTester() - Constructor for class abbot.tester.WindowTester
 
WindowTracker - class abbot.tester.WindowTracker.
Keep track of all known root windows, and all known showing/hidden/closed windows.
WindowTracker() - Constructor for class abbot.tester.WindowTracker
Create an instance of WindowTracker which will track all windows coming and going on the current and subsequent app contexts.
wordWrap(String, int, String) - Static method in class abbot.editor.TextFormat
Wrap the given text at the given number of characters per line.
writeHierarchy(Writer, Window[]) - Method in class abbot.editor.HierarchyWriter
Write to the given writer the GUI hierarchy represented by the given set of root windows.
writeJPEG(File, BufferedImage) - Static method in class abbot.tester.ImageComparator
Write the given buffered image to disk.

X

XMLifiable - interface abbot.script.XMLifiable.
 

< A B C D E F G H I J K L M N O P R S T U V W X

Copyright © 2002-2003 Timothy Wall. All Rights Reserved.
Abbot is hosted on

SourceForge