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

A

A - Static variable in class org.uispec4j.Key
 
ALL - Static variable in interface org.uispec4j.finder.ComponentMatcher
 
ALT - Static variable in class org.uispec4j.Key
 
ALT - Static variable in class org.uispec4j.Key.Modifier
 
ASTERISK - Static variable in class org.uispec4j.Key
 
AbstractButton - class org.uispec4j.AbstractButton.
Base class for button-like components (toggle buttons, check boxes, etc.)
AbstractButton(AbstractButton) - Constructor for class org.uispec4j.AbstractButton
 
AbstractUIComponent - class org.uispec4j.AbstractUIComponent.
Base class for UIComponent implementations.
AbstractUIComponent() - Constructor for class org.uispec4j.AbstractUIComponent
 
Assertion - class org.uispec4j.assertion.Assertion.
Interface used for defining conditions.
Assertion() - Constructor for class org.uispec4j.assertion.Assertion
 
addAttributes(Component, XmlWriter.Tag) - Method in class org.uispec4j.AbstractUIComponent
 
addAttributes(Component, XmlWriter.Tag) - Method in class org.uispec4j.Window
 
addRowToSelection(int) - Method in class org.uispec4j.Table
 
addToSelection(String) - Method in class org.uispec4j.Tree
Expands the current jTree selection with a given node.
addToSelection(String, int) - Method in class org.uispec4j.Tree
Expands the current jTree selection with a node identified by its position in its parent node.
alt(Key) - Static method in class org.uispec4j.Key
 
and(Assertion, Assertion) - Method in class org.uispec4j.UISpecTestCase
Returns the intersection of two assertions.
and(Assertion[]) - Method in class org.uispec4j.UISpecTestCase
Returns the intersection of two assertions.
and(Assertion[]) - Static method in class org.uispec4j.assertion.UISpecAssert
Returns the intersection of the Assertion parameters.
assertAcceptsDirectoriesOnly() - Method in class org.uispec4j.interception.FileChooserHandler
 
assertAcceptsFilesAndDirectories() - Method in class org.uispec4j.interception.FileChooserHandler
 
assertAcceptsFilesOnly() - Method in class org.uispec4j.interception.FileChooserHandler
 
assertApplyButtonTextEquals(String) - Method in class org.uispec4j.interception.FileChooserHandler
 
assertContainsText(String) - Method in class org.uispec4j.interception.BasicHandler
Checks that there is a text component in the dialog displaying the given text.
assertCurrentDirEquals(File) - Method in class org.uispec4j.interception.FileChooserHandler
 
assertEquals(boolean, Assertion) - Method in class org.uispec4j.UISpecTestCase
Checks that the given assertion equals the expected parameter.
assertEquals(String, boolean, Assertion) - Method in class org.uispec4j.UISpecTestCase
Checks that the given assertion equals the expected parameter.
assertEquals(boolean, Assertion) - Static method in class org.uispec4j.assertion.UISpecAssert
Checks the given assertion equals the expected parameter (with a retry strategy).
assertEquals(String, boolean, Assertion) - Static method in class org.uispec4j.assertion.UISpecAssert
Checks the given assertion equals the expected parameter (with a retry strategy).
assertFalse(Assertion) - Method in class org.uispec4j.UISpecTestCase
Checks that the given assertion fails.
assertFalse(String, Assertion) - Method in class org.uispec4j.UISpecTestCase
Checks that the given assertion fails.
assertFalse(Assertion) - Static method in class org.uispec4j.assertion.UISpecAssert
Checks that the given assertion fails (with a retry strategy).
assertFalse(String, Assertion) - Static method in class org.uispec4j.assertion.UISpecAssert
Checks the given assertion fails (with a retry strategy).
assertIsOpenDialog() - Method in class org.uispec4j.interception.FileChooserHandler
 
assertIsSaveDialog() - Method in class org.uispec4j.interception.FileChooserHandler
 
assertMultiSelectionEnabled(boolean) - Method in class org.uispec4j.interception.FileChooserHandler
 
assertTitleEquals(String) - Method in class org.uispec4j.Window
 
assertTrue(Assertion) - Method in class org.uispec4j.UISpecTestCase
Checks the given assertion.
assertTrue(String, Assertion) - Method in class org.uispec4j.UISpecTestCase
Checks the given assertion.
assertTrue(Assertion) - Static method in class org.uispec4j.assertion.UISpecAssert
Checks that the given assertion succeeds (with a retry strategy).
assertTrue(String, Assertion) - Static method in class org.uispec4j.assertion.UISpecAssert
Checks that the given assertion succeeds (with a retry strategy).

B

B - Static variable in class org.uispec4j.Key
 
BACKSLASH - Static variable in class org.uispec4j.Key
 
BYTE_BUFFER - Static variable in class org.uispec4j.Clipboard
 
BasicHandler - class org.uispec4j.interception.BasicHandler.
Ready-to-use window interception handler, designed for simple dialogs.
Button - class org.uispec4j.Button.
Wrapper for JButton components.
Button(JButton) - Constructor for class org.uispec4j.Button
 
backgroundEquals(String) - Method in class org.uispec4j.AbstractUIComponent
Checks the background color of the component The color can be given in either hexadecimal ("FF45C0") or human-readable ("red") format.
backgroundEquals(Object[]) - Method in class org.uispec4j.Table.Header
Checks the background color on each column of the table header.
backgroundEquals(Object[][]) - Method in class org.uispec4j.Table
Checks the background color of the table cells
borderEquals(Border[][]) - Method in class org.uispec4j.Table
 

C

C - Static variable in class org.uispec4j.Key
 
CHAR_BUFFER - Static variable in class org.uispec4j.Clipboard
 
CONTROL - Static variable in class org.uispec4j.Key
 
CONTROL - Static variable in class org.uispec4j.Key.Modifier
 
CheckBox - class org.uispec4j.CheckBox.
Wrapper for JCheckBox components.
CheckBox(JCheckBox) - Constructor for class org.uispec4j.CheckBox
 
Clipboard - class org.uispec4j.Clipboard.
Utility for changing and checking the contents of the system's clipboard.
Clipboard.Charset - class org.uispec4j.Clipboard.Charset.
Enumeration for the charset property in MIME types (UTF-8, UTF-16, etc.)
Clipboard.TextType - class org.uispec4j.Clipboard.TextType.
Enumeration for the text type property in MIME types
Clipboard.TransferType - class org.uispec4j.Clipboard.TransferType.
Enumeration for the transfert type property in MIME types (InputStream, CharBuffer, etc.)
ComboBox - class org.uispec4j.ComboBox.
Wrapper for JComboBox components.
ComboBox(JComboBox) - Constructor for class org.uispec4j.ComboBox
 
ComponentAmbiguityException - exception org.uispec4j.ComponentAmbiguityException.
Thrown when several components match a given search specification in Panel.
ComponentAmbiguityException(String) - Constructor for class org.uispec4j.ComponentAmbiguityException
 
ComponentFinder - class org.uispec4j.finder.ComponentFinder.
Generic utility for retrieving AWT/Swing components in a container.
ComponentFinder(Container) - Constructor for class org.uispec4j.finder.ComponentFinder
 
ComponentMatcher - interface org.uispec4j.finder.ComponentMatcher.
Interface used for implementing component searching policies.
ComponentMatchers - class org.uispec4j.finder.ComponentMatchers.
Standard searching policies, implemented as ComponentMatcher objects.
ComponentMatchers() - Constructor for class org.uispec4j.finder.ComponentMatchers
 
calendarFieldsEquals(int) - Method in class org.uispec4j.DateSpinner
Checks that the date spinner computes previous and next value with the given value.
cancelSelection() - Method in class org.uispec4j.interception.FileChooserHandler
Clicks on "Cancel".
cellIsEditable(int, int) - Method in class org.uispec4j.Table
 
cellIsSelected(int, int) - Method in class org.uispec4j.Table
 
check() - Method in class org.uispec4j.assertion.Assertion
Throws an exception if the condition is not true.
clearSelection() - Method in class org.uispec4j.ListBox
 
clearSelection() - Method in class org.uispec4j.Table
 
clearSelection() - Method in class org.uispec4j.Tree
Removes the current selection.
click() - Method in class org.uispec4j.AbstractButton
 
click() - Method in class org.uispec4j.ComboBox
Selects the first item in the list, if not empty
click() - Method in class org.uispec4j.MenuItem
 
click(UIComponent) - Static method in class org.uispec4j.Mouse
Clicks in the center of a UIComponent.
click(int) - Method in class org.uispec4j.Table.Header
 
click(String) - Method in class org.uispec4j.Table.Header
 
click(int, int) - Method in class org.uispec4j.Table
 
click(int, int, Key.Modifier) - Method in class org.uispec4j.Table
 
click(String) - Method in class org.uispec4j.Tree
Simulates a user left-click on a given node.
clickButton(String) - Method in class org.uispec4j.interception.BasicHandler
Clicks on a button given its displayed label.
clickForNextValue() - Method in class org.uispec4j.Spinner
Clicks on the button for next value
clickForPreviousValue() - Method in class org.uispec4j.Spinner
Clicks on the button for previous value
clickOnHyperlink(String) - Method in class org.uispec4j.TextBox
Simulates a click on an hyperlink given a part of the link text.
columnEquals(int, Object[]) - Method in class org.uispec4j.Table
 
columnIsEditable(int, boolean) - Method in class org.uispec4j.Table
 
columnIsEditable(String, boolean) - Method in class org.uispec4j.Table
 
columnSizeEquals(String, int) - Method in class org.uispec4j.Table
 
columnSizeEquals(int, int) - Method in class org.uispec4j.Table
 
completionEquals(int) - Method in class org.uispec4j.ProgressBar
Checks the completion value as a percentage (0-100) of the available range.
contains(String) - Method in class org.uispec4j.ComboBox
 
contains(String[]) - Method in class org.uispec4j.ComboBox
 
contains(String) - Method in class org.uispec4j.ListBox
 
contains(String[]) - Method in class org.uispec4j.ListBox
 
contains(String) - Method in class org.uispec4j.Tree
Checks that a node identified by the given path is present in the jTree.
containsComponent(ComponentMatcher) - Method in class org.uispec4j.Panel
 
containsLabel(String) - Method in class org.uispec4j.Panel
Checks that the panel contains a given non-editable text.
containsSwingComponent(Class) - Method in class org.uispec4j.Panel
 
containsSwingComponent(Class, String) - Method in class org.uispec4j.Panel
 
containsUIComponent(Class) - Method in class org.uispec4j.Panel
 
containsUIComponent(Class, String) - Method in class org.uispec4j.Panel
 
containsWindow(String) - Method in class org.uispec4j.Desktop
 
contentEquals(String[]) - Method in class org.uispec4j.ComboBox
 
contentEquals(String[]) - Method in class org.uispec4j.ListBox
 
contentEquals(Object[]) - Method in class org.uispec4j.ListSpinner
Checks the list spinner contents
contentEquals(String[]) - Method in class org.uispec4j.MenuBar
Checks the names displayed in the menu, ommiting separators.
contentEquals(String[]) - Method in class org.uispec4j.MenuItem
 
contentEquals(String) - Method in class org.uispec4j.MenuItem
 
contentEquals(String[]) - Method in class org.uispec4j.Table.Header
Checks the column names.
contentEquals(Object[][]) - Method in class org.uispec4j.Table
Checks the values displayed in the table.
contentEquals(String[], Object[][]) - Method in class org.uispec4j.Table
Checks the values displayed in the table for a given set of columns.
contentEquals(String) - Method in class org.uispec4j.Tree
Checks the nodes structure displayed by the jTree.
control(Key) - Static method in class org.uispec4j.Key
 

D

D - Static variable in class org.uispec4j.Key
 
DEFAULT_ASSERTION_TIME_LIMIT - Static variable in class org.uispec4j.UISpec4J
 
DEFAULT_PRECISION - Static variable in class org.uispec4j.ProgressBar
 
DELETE - Static variable in class org.uispec4j.Key
 
DOLLAR - Static variable in class org.uispec4j.Key
 
DOWN - Static variable in class org.uispec4j.Key
 
DO_NOTHING - Static variable in interface org.uispec4j.Trigger
 
DateSpinner - class org.uispec4j.DateSpinner.
Wrapper for JSpinner components implementing a SpinnerDateModel.
DateSpinner(JSpinner) - Constructor for class org.uispec4j.DateSpinner
 
DefaultListBoxCellValueConverter - class org.uispec4j.DefaultListBoxCellValueConverter.
Default implementation for the ListBoxCellValueConverter interface.
DefaultListBoxCellValueConverter() - Constructor for class org.uispec4j.DefaultListBoxCellValueConverter
 
DefaultTableCellValueConverter - class org.uispec4j.DefaultTableCellValueConverter.
Default implementation for the TableCellValueConverter interface.
DefaultTableCellValueConverter() - Constructor for class org.uispec4j.DefaultTableCellValueConverter
 
DefaultTreeCellValueConverter - class org.uispec4j.DefaultTreeCellValueConverter.
Default implementation for the TreeCellValueConverter interface.
DefaultTreeCellValueConverter() - Constructor for class org.uispec4j.DefaultTreeCellValueConverter
 
Desktop - class org.uispec4j.Desktop.
Wrapper for Multiple Desktop Interface (MDI) widgets implemented as JDesktopPane components.
Desktop(JDesktopPane) - Constructor for class org.uispec4j.Desktop
 
d0 - Static variable in class org.uispec4j.Key
 
d1 - Static variable in class org.uispec4j.Key
 
d2 - Static variable in class org.uispec4j.Key
 
d3 - Static variable in class org.uispec4j.Key
 
d4 - Static variable in class org.uispec4j.Key
 
d5 - Static variable in class org.uispec4j.Key
 
d6 - Static variable in class org.uispec4j.Key
 
d7 - Static variable in class org.uispec4j.Key
 
d8 - Static variable in class org.uispec4j.Key
 
d9 - Static variable in class org.uispec4j.Key
 
displayedNameIdentity(String) - Static method in class org.uispec4j.finder.ComponentMatchers
Matches components whose displayed name is exactly the same as the reference.
displayedNameRegexp(String) - Static method in class org.uispec4j.finder.ComponentMatchers
Matches components whose displayed name matches with the regexp reference.
displayedNameSubstring(String) - Static method in class org.uispec4j.finder.ComponentMatchers
Matches components whose displayed name is a substring of the reference.
displayedValueEquals(String) - Method in class org.uispec4j.ProgressBar
 
doClickInRectangle(UIComponent, Rectangle, boolean, Key.Modifier) - Static method in class org.uispec4j.Mouse
Clicks in a given area of a UIComponent.
doClickInRectangle(Component, Rectangle, boolean, Key.Modifier) - Static method in class org.uispec4j.Mouse
Clicks in a given area of a Swing component.
doDoubleClickInRectangle(Component, Rectangle) - Static method in class org.uispec4j.Mouse
Double clicks in a given area of a Swing component.
doDoubleClickInRectangle(UIComponent, Rectangle) - Static method in class org.uispec4j.Mouse
Double clicks in a given area of a UIComponent.
doubleClick() - Method in class org.uispec4j.ListBox
 
doubleClick(UIComponent) - Static method in class org.uispec4j.Mouse
Double clicks in the center of a UIComponent.
doubleClick(int, int) - Method in class org.uispec4j.Table
 

E

E - Static variable in class org.uispec4j.Key
 
ENTER - Static variable in class org.uispec4j.Key
 
EQUALS - Static variable in class org.uispec4j.Key
 
ExtensionGenerator - class org.uispec4j.extension.ExtensionGenerator.
Provides a means for extending UISpec4J to support user-defined components.
ExtensionGenerator() - Constructor for class org.uispec4j.extension.ExtensionGenerator
 
editCell(int, int) - Method in class org.uispec4j.Table
Returns a Table.Cell object for interacting with the content of an individual table cell.
editCell(int, int, String, boolean) - Method in class org.uispec4j.Table
Inputs some text in a given cell.
endDateEquals(String) - Method in class org.uispec4j.DateSpinner
Checks that the date spinner displays ends with the given value
expand(String, boolean) - Method in class org.uispec4j.Tree
Expands or collapses a given node.
expandAll() - Method in class org.uispec4j.Tree
Expands all the nodes of the jTree.

F

F - Static variable in class org.uispec4j.Key
 
FileChooserHandler - class org.uispec4j.interception.FileChooserHandler.
WindowHandler implementation dedicated to file chooser dialogs.
FileChooserHandler() - Constructor for class org.uispec4j.interception.FileChooserHandler
 
FinderUtils - class org.uispec4j.finder.FinderUtils.
Miscellaneous utilities used by the component finding mechanism
findColumnIndex(String) - Method in class org.uispec4j.Table.Header
 
findComponent(ComponentMatcher) - Method in class org.uispec4j.finder.ComponentFinder
 
findComponent(String, Class[], String) - Method in class org.uispec4j.finder.ComponentFinder
 
findSwingComponent(Class) - Method in class org.uispec4j.Panel
 
findSwingComponent(Class, String) - Method in class org.uispec4j.Panel
 
findSwingComponent(ComponentMatcher) - Method in class org.uispec4j.Panel
 
findUIComponent(Class) - Method in class org.uispec4j.Panel
 
findUIComponent(Class, String) - Method in class org.uispec4j.Panel
 
findUIComponent(ComponentMatcher) - Method in class org.uispec4j.Panel
 
foregroundEquals(String) - Method in class org.uispec4j.AbstractUIComponent
Checks the foreground color of the component.
foregroundEquals(Object[][]) - Method in class org.uispec4j.Table
Checks the foreground color of the table cells
foregroundEquals(String, String) - Method in class org.uispec4j.Tree
Checks the font color used on a given node.
fromClass(Class) - Static method in class org.uispec4j.finder.ComponentMatchers
Matches components that are instances of the class.

G

G - Static variable in class org.uispec4j.Key
 
getAssertionTimeLimit() - Static method in class org.uispec4j.UISpec4J
Returns the default timeout value (in milliseconds) used when checking assertions.
getAwtComponent() - Method in class org.uispec4j.Button
 
getAwtComponent() - Method in class org.uispec4j.CheckBox
 
getAwtComponent() - Method in class org.uispec4j.ComboBox
 
getAwtComponent() - Method in class org.uispec4j.Desktop
 
getAwtComponent() - Method in class org.uispec4j.ListBox
 
getAwtComponent() - Method in class org.uispec4j.MenuBar
 
getAwtComponent() - Method in class org.uispec4j.MenuItem
 
getAwtComponent() - Method in class org.uispec4j.Panel
 
getAwtComponent() - Method in class org.uispec4j.PasswordField
 
getAwtComponent() - Method in class org.uispec4j.ProgressBar
 
getAwtComponent() - Method in class org.uispec4j.RadioButton
 
getAwtComponent() - Method in class org.uispec4j.Slider
 
getAwtComponent() - Method in class org.uispec4j.Spinner
 
getAwtComponent() - Method in class org.uispec4j.TabGroup
 
getAwtComponent() - Method in class org.uispec4j.Table
 
getAwtComponent() - Method in class org.uispec4j.TextBox
 
getAwtComponent() - Method in class org.uispec4j.ToggleButton
 
getAwtComponent() - Method in class org.uispec4j.Tree
 
getAwtComponent() - Method in interface org.uispec4j.UIComponent
Returns the Java GUI component represented by this object.
getAwtContainer() - Method in class org.uispec4j.Panel
 
getButton(String) - Method in class org.uispec4j.Panel
 
getButton() - Method in class org.uispec4j.Panel
 
getButton(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getCheckBox(String) - Method in class org.uispec4j.Panel
 
getCheckBox() - Method in class org.uispec4j.Panel
 
getCheckBox(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getChildCount(String) - Method in class org.uispec4j.Tree
Returns the number of children of a given node.
getCode() - Method in class org.uispec4j.Key.Modifier
 
getCode() - Method in class org.uispec4j.Key
 
getColumnCount() - Method in class org.uispec4j.Table
 
getColumnNames() - Method in class org.uispec4j.Table.Header
 
getComboBox(String) - Method in class org.uispec4j.Panel
 
getComboBox() - Method in class org.uispec4j.Panel
 
getComboBox(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getComponent(ComponentMatcher) - Method in class org.uispec4j.finder.ComponentFinder
 
getComponent(String, Class[], String) - Method in class org.uispec4j.finder.ComponentFinder
 
getComponents(ComponentMatcher) - Method in class org.uispec4j.finder.ComponentFinder
 
getComponents(String, Class[]) - Method in class org.uispec4j.finder.ComponentFinder
 
getContentAt(int, int) - Method in class org.uispec4j.Table
Returns the object (String or Boolean) displayed in a given cell.
getContentAt(int, int, TableCellValueConverter) - Method in class org.uispec4j.Table
Returns the displayed in a given cell using a specific converter.
getDataClass() - Method in class org.uispec4j.Clipboard.TransferType
 
getDateSpinner() - Method in class org.uispec4j.Panel
 
getDateSpinner(String) - Method in class org.uispec4j.Panel
 
getDateSpinner(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getDefaultBackground() - Method in class org.uispec4j.Table.Header
Returns a string description of the default background color.
getDescription() - Method in class org.uispec4j.AbstractUIComponent
 
getDescription(Component, XmlWriter.Tag, boolean) - Method in class org.uispec4j.AbstractUIComponent
 
getDescription() - Method in interface org.uispec4j.UIComponent
Returns an XML representation of the component and its subcomponents.
getDescriptionTypeName() - Method in class org.uispec4j.Button
 
getDescriptionTypeName() - Method in class org.uispec4j.CheckBox
 
getDescriptionTypeName() - Method in class org.uispec4j.ComboBox
 
getDescriptionTypeName() - Method in class org.uispec4j.Desktop
 
getDescriptionTypeName() - Method in class org.uispec4j.ListBox
 
getDescriptionTypeName() - Method in class org.uispec4j.MenuBar
 
getDescriptionTypeName() - Method in class org.uispec4j.MenuItem
 
getDescriptionTypeName() - Method in class org.uispec4j.Panel
 
getDescriptionTypeName() - Method in class org.uispec4j.PasswordField
 
getDescriptionTypeName() - Method in class org.uispec4j.ProgressBar
 
getDescriptionTypeName() - Method in class org.uispec4j.RadioButton
 
getDescriptionTypeName() - Method in class org.uispec4j.Slider
 
getDescriptionTypeName() - Method in class org.uispec4j.Spinner
 
getDescriptionTypeName() - Method in class org.uispec4j.TabGroup
 
getDescriptionTypeName() - Method in class org.uispec4j.Table
 
getDescriptionTypeName() - Method in class org.uispec4j.TextBox
 
getDescriptionTypeName() - Method in class org.uispec4j.ToggleButton
 
getDescriptionTypeName() - Method in class org.uispec4j.Tree
 
getDescriptionTypeName() - Method in interface org.uispec4j.UIComponent
Returns the name of the component as it will appear in the XML representation returned by UIComponent.getDescription().
getDescriptionTypeName() - Method in class org.uispec4j.Window
 
getDesktop(String) - Method in class org.uispec4j.Panel
 
getDesktop() - Method in class org.uispec4j.Panel
 
getDesktop(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getForeground(Component, Object) - Method in class org.uispec4j.DefaultTreeCellValueConverter
 
getForeground(Component, Object) - Method in interface org.uispec4j.TreeCellValueConverter
Returns the foreground color used in the representation of the object
getHeader() - Method in class org.uispec4j.Table
Returns a helper interface which gives access to the table header.
getInputTextBox(String) - Method in class org.uispec4j.Panel
Retrieves input-only text boxes.
getInputTextBox() - Method in class org.uispec4j.Panel
Retrieves input-only text boxes.
getInternalAwtContainer() - Method in class org.uispec4j.Window
 
getJTable() - Method in class org.uispec4j.Table
 
getJTree() - Method in class org.uispec4j.Tree
Returns the JTree wrapped by this component.
getLabel() - Method in class org.uispec4j.AbstractButton
 
getLabel() - Method in class org.uispec4j.AbstractUIComponent
 
getLabel(Component) - Method in class org.uispec4j.DefaultTreeCellValueConverter
 
getLabel() - Method in interface org.uispec4j.UIComponent
Returns the label displayed on this component, or null if this has no sense for this kind of components.
getListBox(String) - Method in class org.uispec4j.Panel
 
getListBox() - Method in class org.uispec4j.Panel
 
getListBox(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getListSpinner() - Method in class org.uispec4j.Panel
 
getListSpinner(String) - Method in class org.uispec4j.Panel
 
getListSpinner(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getMainWindow() - Method in interface org.uispec4j.UISpecAdapter
 
getMainWindow() - Method in class org.uispec4j.UISpecTestCase
Returns the Window created by the adapter.
getMainWindow() - Method in class org.uispec4j.interception.MainClassAdapter
 
getMatchers(String) - Static method in class org.uispec4j.finder.FinderUtils
 
getMenu(String) - Method in class org.uispec4j.MenuBar
Returns a MenuItem component representing a top-level menu (for instance File/Edit/etc.).
getMenuBar() - Method in class org.uispec4j.Window
 
getModalDialog(Trigger) - Static method in class org.uispec4j.interception.WindowInterceptor
Performs a "quick&dirty" interception of a modal dialog.
getModifier() - Method in class org.uispec4j.Key
 
getName() - Method in class org.uispec4j.AbstractUIComponent
 
getName() - Method in interface org.uispec4j.UIComponent
Returns the internal name with which can be used to identify the component.
getName() - Method in class org.uispec4j.interception.WindowHandler
 
getNumberSpinner() - Method in class org.uispec4j.Panel
 
getNumberSpinner(String) - Method in class org.uispec4j.Panel
 
getNumberSpinner(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getPanel() - Method in class org.uispec4j.Panel
 
getPanel(String) - Method in class org.uispec4j.Panel
 
getPanel(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getPasswordField() - Method in class org.uispec4j.Panel
 
getPasswordField(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getPasswordField(String) - Method in class org.uispec4j.Panel
 
getProgressBar(String) - Method in class org.uispec4j.Panel
 
getProgressBar() - Method in class org.uispec4j.Panel
 
getProgressBar(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getRadioButton(String) - Method in class org.uispec4j.Panel
 
getRadioButton() - Method in class org.uispec4j.Panel
 
getRadioButton(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getRowCount() - Method in class org.uispec4j.Table
 
getSelectedTab() - Method in class org.uispec4j.TabGroup
 
getSeparator() - Method in class org.uispec4j.Tree
Returns the separator currently used for specifying node paths in this jTree instance.
getSize() - Method in class org.uispec4j.ListBox
 
getSlider() - Method in class org.uispec4j.Panel
 
getSlider(String) - Method in class org.uispec4j.Panel
 
getSlider(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getSpinner() - Method in class org.uispec4j.Panel
 
getSpinner(String) - Method in class org.uispec4j.Panel
 
getSpinner(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getSubDescription(Container, XmlWriter.Tag) - Method in class org.uispec4j.AbstractUIComponent
 
getSubDescription(Container, XmlWriter.Tag) - Method in class org.uispec4j.ComboBox
 
getSubDescription(Container, XmlWriter.Tag) - Method in class org.uispec4j.TabGroup
 
getSubDescription(Container, XmlWriter.Tag) - Method in class org.uispec4j.Window
 
getSubMenu(String) - Method in class org.uispec4j.MenuItem
Returns a submenu given its name, or raises an exception if it was not found.
getSwingComponents(Class) - Method in class org.uispec4j.Panel
 
getSwingComponents(Class, String) - Method in class org.uispec4j.Panel
 
getSwingComponents(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getSwingEditorComponentAt(int, int) - Method in class org.uispec4j.Table
 
getTabGroup(String) - Method in class org.uispec4j.Panel
 
getTabGroup() - Method in class org.uispec4j.Panel
 
getTabGroup(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getTable(String) - Method in class org.uispec4j.Panel
 
getTable() - Method in class org.uispec4j.Panel
 
getTable(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getText() - Method in class org.uispec4j.TextBox
 
getTextBox(String) - Method in class org.uispec4j.Panel
 
getTextBox() - Method in class org.uispec4j.Panel
 
getTextBox(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getTitle() - Method in class org.uispec4j.Window
 
getToggleButton(String) - Method in class org.uispec4j.Panel
 
getToggleButton() - Method in class org.uispec4j.Panel
 
getToggleButton(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getTree(String) - Method in class org.uispec4j.Panel
 
getTree() - Method in class org.uispec4j.Panel
 
getTree(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getUIComponents(Class) - Method in class org.uispec4j.Panel
 
getUIComponents(Class, String) - Method in class org.uispec4j.Panel
 
getUIComponents(ComponentMatcher) - Method in class org.uispec4j.Panel
 
getValue(int, Component, Object) - Method in class org.uispec4j.DefaultListBoxCellValueConverter
 
getValue(int, int, Component, Object) - Method in class org.uispec4j.DefaultTableCellValueConverter
 
getValue(Component, Object) - Method in class org.uispec4j.DefaultTreeCellValueConverter
 
getValue(int, Component, Object) - Method in interface org.uispec4j.ListBoxCellValueConverter
 
getValue(int, int, Component, Object) - Method in class org.uispec4j.ModelTableCellValueConverter
 
getValue(int, int, Component, Object) - Method in interface org.uispec4j.TableCellValueConverter
 
getValue(Component, Object) - Method in interface org.uispec4j.TreeCellValueConverter
Returns the textual representation of the given tree object
getWindow(String) - Method in class org.uispec4j.Desktop
Returns a window given its title, and waits if it is not available yet.
getWindowInterceptionTimeLimit() - Static method in class org.uispec4j.UISpec4J
Returns the default timeout value (in milliseconds) used by the library for interception mechanism.
getWindows() - Method in class org.uispec4j.Desktop
Returs all the internal windows contained in the desktop.

H

H - Static variable in class org.uispec4j.Key
 
HTML - Static variable in class org.uispec4j.Clipboard
 
hasHeader() - Method in class org.uispec4j.Table
Checks that no header is displayed for this table.
htmlEquals(String) - Method in class org.uispec4j.TextBox
Checks the displayed text in cases where HTML text is used.

I

I - Static variable in class org.uispec4j.Key
 
INPUT_STREAM - Static variable in class org.uispec4j.Clipboard
 
INSTANCE - Static variable in class org.uispec4j.ModelTableCellValueConverter
 
InterceptionError - error org.uispec4j.interception.InterceptionError.
 
InterceptionError(String, Throwable) - Constructor for class org.uispec4j.interception.InterceptionError
 
ItemNotFoundException - exception org.uispec4j.ItemNotFoundException.
 
ItemNotFoundException(String) - Constructor for class org.uispec4j.ItemNotFoundException
 
iconEquals(Icon) - Method in class org.uispec4j.TextBox
Checks the icon displayed by the component.
identity(String) - Static method in class org.uispec4j.finder.StringMatcher
 
init() - Static method in class org.uispec4j.UISpec4J
Initializes UISpec4J, for instance by setting up the interception mechanism.
init() - Static method in class org.uispec4j.interception.BasicHandler
Starts the definition of the handler.
init() - Static method in class org.uispec4j.interception.FileChooserHandler
Creates a new interceptor with the associated Trigger
init(Trigger) - Static method in class org.uispec4j.interception.WindowInterceptor
Starts the interception of a modal dialog.
innerNameIdentity(String) - Static method in class org.uispec4j.finder.ComponentMatchers
Matches components whose inner name is exactly the same as the reference.
innerNameRegexp(String) - Static method in class org.uispec4j.finder.ComponentMatchers
Matches components whose inner name matches with the regexp reference.
innerNameSubstring(String) - Static method in class org.uispec4j.finder.ComponentMatchers
Matches components whose inner name is a substring of the reference.
insertText(String, int) - Method in class org.uispec4j.TextBox
Inserts text at the given position without pressing Enter.
intersection(ComponentMatcher[]) - Static method in class org.uispec4j.finder.ComponentMatchers
Matches components that match all its sub-matchers.
isBold(Component, Object) - Method in class org.uispec4j.DefaultTreeCellValueConverter
 
isBold(Component, Object) - Method in interface org.uispec4j.TreeCellValueConverter
Indicates whether the given tree object is painted in bold
isCompleted() - Method in class org.uispec4j.ProgressBar
Checks the completion of the progress bar.
isEditable() - Method in class org.uispec4j.ComboBox
 
isEditable(boolean[][]) - Method in class org.uispec4j.Table
 
isEditable() - Method in class org.uispec4j.TextBox
 
isEmpty(String) - Method in class org.uispec4j.ComboBox
Checks that the combo box displays the given value and that it shows no elements when expanded.
isEmpty() - Method in class org.uispec4j.ListBox
 
isEmpty() - Method in class org.uispec4j.Table
 
isEnabled() - Method in class org.uispec4j.AbstractUIComponent
 
isEnabled() - Method in interface org.uispec4j.UIComponent
Checks if the component is enabled.
isModal() - Method in class org.uispec4j.Window
 
isPrintable() - Method in class org.uispec4j.Key
 
isSelected() - Method in class org.uispec4j.CheckBox
 
isSelected() - Method in class org.uispec4j.RadioButton
 
isSelected() - Method in class org.uispec4j.ToggleButton
 
isTrue() - Method in class org.uispec4j.assertion.Assertion
Returns true if the Assertion.check() method does not fail.
isVisible() - Method in class org.uispec4j.AbstractUIComponent
 

J

J - Static variable in class org.uispec4j.Key
 
jSpinner - Variable in class org.uispec4j.Spinner
 

K

K - Static variable in class org.uispec4j.Key
 
Key - class org.uispec4j.Key.
Contants class defining keyboard keys.
Key.Modifier - class org.uispec4j.Key.Modifier.
Constants class for keyboard modifiers such as Control or Shift.

L

L - Static variable in class org.uispec4j.Key
 
LEFT - Static variable in class org.uispec4j.Key
 
ListBox - class org.uispec4j.ListBox.
Wrapper for JList components.
ListBox(JList) - Constructor for class org.uispec4j.ListBox
 
ListBoxCellValueConverter - interface org.uispec4j.ListBoxCellValueConverter.
Performs a conversion between internal and tested cell values in a ListBox component This interface is meant to be used when the JList component used by the application uses renderers other than JLabel components.
ListSpinner - class org.uispec4j.ListSpinner.
Wrapper for JSpinner components implementing a SpinnerListModel.
ListSpinner(JSpinner) - Constructor for class org.uispec4j.ListSpinner
 
labelsEqual(String[]) - Method in class org.uispec4j.Slider
Checks the slider labels in order.

M

M - Static variable in class org.uispec4j.Key
 
MainClassAdapter - class org.uispec4j.interception.MainClassAdapter.
Adapter that intercepts the window displayed by the main() of a given class.
MainClassAdapter(Class, String[]) - Constructor for class org.uispec4j.interception.MainClassAdapter
 
MenuBar - class org.uispec4j.MenuBar.
Wrapper for JMenuBar components.
MenuBar(JMenuBar) - Constructor for class org.uispec4j.MenuBar
 
MenuItem - class org.uispec4j.MenuItem.
Wrapper for menu items (commands or sub-menus) such as JMenu, JMenuItem or JPopupMenu.
MenuItem(JMenuItem) - Constructor for class org.uispec4j.MenuItem
 
MenuItem(JPopupMenu) - Constructor for class org.uispec4j.MenuItem
 
ModelTableCellValueConverter - class org.uispec4j.ModelTableCellValueConverter.
Converter that returns the object managed by the underlying JTable's model.
ModelTableCellValueConverter() - Constructor for class org.uispec4j.ModelTableCellValueConverter
 
Mouse - class org.uispec4j.Mouse.
Utility for simulating mouse inputs.
main(String[]) - Static method in class org.uispec4j.extension.ExtensionGenerator
 
matches(Component) - Method in interface org.uispec4j.finder.ComponentMatcher
 
matches(String) - Method in class org.uispec4j.finder.StringMatcher
 
maxEquals(int) - Method in class org.uispec4j.NumberSpinner
Checks that the list spinner displays starts with the given value
minEquals(int) - Method in class org.uispec4j.NumberSpinner
Checks that the list spinner displays starts with the given value

N

N - Static variable in class org.uispec4j.Key
 
NONE - Static variable in class org.uispec4j.Key.Modifier
 
NumberSpinner - class org.uispec4j.NumberSpinner.
Wrapper for JSpinner components implementing a SpinnerNumberModel.
NumberSpinner(JSpinner) - Constructor for class org.uispec4j.NumberSpinner
 
nextValueEquals(Object) - Method in class org.uispec4j.Spinner
Checks that the next value is the given value
not(Assertion) - Method in class org.uispec4j.UISpecTestCase
Returns a negation of the given assertion.
not(Assertion) - Static method in class org.uispec4j.assertion.UISpecAssert
Returns a negation of the given assertion.
not(ComponentMatcher) - Static method in class org.uispec4j.finder.ComponentMatchers
Matches components rejected by the inner matcher.

O

O - Static variable in class org.uispec4j.Key
 
or(Assertion, Assertion) - Method in class org.uispec4j.UISpecTestCase
Returns the union of two assertions.
or(Assertion[]) - Method in class org.uispec4j.UISpecTestCase
Returns the union of two assertions.
or(Assertion[]) - Static method in class org.uispec4j.assertion.UISpecAssert
Returns the union of the Assertion parameters.
org.uispec4j - package org.uispec4j
Provides classes for handling user interface components.
org.uispec4j.assertion - package org.uispec4j.assertion
Provides a mechanism for checking conditions - please refer to the Using assertions documentation page for details.
org.uispec4j.extension - package org.uispec4j.extension
Provides a mechanism for integrating custom components in the library.
org.uispec4j.finder - package org.uispec4j.finder
Contains utility classes for the components searches mechanism.
org.uispec4j.interception - package org.uispec4j.interception
Provides a mechanism for intercepting popped-up dialogs and menus.

P

P - Static variable in class org.uispec4j.Key
 
PAGE_DOWN - Static variable in class org.uispec4j.Key
 
PAGE_UP - Static variable in class org.uispec4j.Key
 
PLAIN - Static variable in class org.uispec4j.Clipboard
 
Panel - class org.uispec4j.Panel.
General container for UI components.
Panel(Container) - Constructor for class org.uispec4j.Panel
 
PasswordField - class org.uispec4j.PasswordField.
Wrapper for JPasswordField components.
PasswordField(JPasswordField) - Constructor for class org.uispec4j.PasswordField
 
PopupMenuInterceptor - class org.uispec4j.interception.PopupMenuInterceptor.
Interceptor for (usually right-click triggered) pop-up menus.
PopupMenuInterceptor() - Constructor for class org.uispec4j.interception.PopupMenuInterceptor
 
ProgressBar - class org.uispec4j.ProgressBar.
Wrapper for JProgressBar components.
ProgressBar(JProgressBar) - Constructor for class org.uispec4j.ProgressBar
 
passwordEquals(String) - Method in class org.uispec4j.PasswordField
 
pathIsExpanded(String) - Method in class org.uispec4j.Tree
Checks that the a given node of the jTree is expanded - i.e. that its children are made visible.
positionEquals(String) - Method in class org.uispec4j.Slider
Checks that the current position corresponds to the specified label
pressKey(Key) - Method in class org.uispec4j.ListBox
 
pressKey(Key) - Method in class org.uispec4j.TextBox
Simulates pressing a key while the focus is in the text box.
previousValueEquals(Object) - Method in class org.uispec4j.Spinner
Checks that the previous value is the given value
process(Window) - Method in class org.uispec4j.interception.WindowHandler
Handles the shown window and returns a trigger that will close it.
process(WindowHandler) - Method in class org.uispec4j.interception.WindowInterceptor
Processes a modal dialog.
process(String, WindowHandler) - Method in class org.uispec4j.interception.WindowInterceptor
Processes a modal dialog after having checked its title first.
process(WindowHandler[]) - Method in class org.uispec4j.interception.WindowInterceptor
Processes a sequence of dialogs (one handler per dialog).
processTransientWindow(String) - Method in class org.uispec4j.interception.WindowInterceptor
Processes a dialog that will be closed automatically, and checks its name.
processTransientWindow() - Method in class org.uispec4j.interception.WindowInterceptor
Processes a dialog that will be closed automatically.
processWithButtonClick(String) - Method in class org.uispec4j.interception.WindowInterceptor
Processes a dialog by clicking on a given button.
processWithButtonClick(String, String) - Method in class org.uispec4j.interception.WindowInterceptor
Processes a dialog by checking its title and clicking on a given button.
putText(CharSequence) - Static method in class org.uispec4j.Clipboard
Dumps a given text (either String or StringBuffer) into the Clipboard, with a default MIME type
putText(Clipboard.TextType, Clipboard.Charset, Clipboard.TransferType, CharSequence) - Static method in class org.uispec4j.Clipboard
Dumps a given text (either String or StringBuffer) into the Clipboard with a specified MIME type

Q

Q - Static variable in class org.uispec4j.Key
 

R

R - Static variable in class org.uispec4j.Key
 
READER - Static variable in class org.uispec4j.Clipboard
 
RIGHT - Static variable in class org.uispec4j.Key
 
RadioButton - class org.uispec4j.RadioButton.
Wrapper for JRadioButton components.
RadioButton(JRadioButton) - Constructor for class org.uispec4j.RadioButton
 
regexp(String) - Static method in class org.uispec4j.finder.StringMatcher
 
relativePositionEquals(int) - Method in class org.uispec4j.Slider
Checks the knob position as a percentage (0-100) of the available range.
removeFromSelection(String) - Method in class org.uispec4j.Tree
Removes the given node from the current jTree selection.
removeRowFromSelection(int) - Method in class org.uispec4j.Table
 
reset() - Method in class org.uispec4j.interception.MainClassAdapter
 
resizeColumn(String, int) - Method in class org.uispec4j.Table
 
rightClick(int) - Method in class org.uispec4j.Table.Header
 
rightClick(String) - Method in class org.uispec4j.Table.Header
 
rightClick(int, int) - Method in class org.uispec4j.Table
 
rightClick(String) - Method in class org.uispec4j.Tree
Simulates a user right-click on a given node.
rightClickInSelection() - Method in class org.uispec4j.Tree
Right-clicks on the first selected node.
rowEquals(int, Object[]) - Method in class org.uispec4j.Table
 
rowEquals(int, String[], Object[]) - Method in class org.uispec4j.Table