Skip navigation links

Package org.netbeans.jemmy.operators

Operators package

See: Description

Package org.netbeans.jemmy.operators Description

Operators package

Contains so called "operators".

Operator is a test-side representation for a component. Each particular operator class provides all the functionality to work with one component type. For example JButtonOperator covers javax.swing.JButton.

Operators inheritance tree exactly matches component types inheritance: AbstractButton extending JComponent means that AbstractBittonOperator extends JComponentOperator.

Every operator provides, basicly, all the methods to reproduce user actions which can be performed on a component type covered by operator.

Every operator also provides mapping functionality: API to invoke component method during the event queue. For example, AbstractButtonOperator has getText() method which simply invokes AbstractButton.getText() through the queue.

Since:
23 Feb 2002
Skip navigation links