org.netbeans.jemmy.operators
Class Operator.MapIntegerAction

java.lang.Object
  extended by org.netbeans.jemmy.QueueTool.QueueAction
      extended by org.netbeans.jemmy.operators.Operator.MapIntegerAction
All Implemented Interfaces:
Runnable
Enclosing class:
Operator

protected abstract class Operator.MapIntegerAction
extends QueueTool.QueueAction

Can be used to simplify int component's methods mapping.

See Also:
Operator.runMapping(Operator.MapIntegerAction)

Constructor Summary
Operator.MapIntegerAction(String description)
          Constructs a MapIntegerAction object.
 
Method Summary
 Object launch()
          Method to implement action functionality.
abstract  int map()
          Executes a map action.
 
Methods inherited from class org.netbeans.jemmy.QueueTool.QueueAction
getDescription, getException, getFinished, getResult, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Operator.MapIntegerAction

public Operator.MapIntegerAction(String description)
Constructs a MapIntegerAction object.

Parameters:
description - an action description.
Method Detail

launch

public final Object launch()
                    throws Exception
Description copied from class: QueueTool.QueueAction
Method to implement action functionality.

Specified by:
launch in class QueueTool.QueueAction
Returns:
an Object - action result
Throws:
Exception

map

public abstract int map()
                 throws Exception
Executes a map action.

Returns:
an action result.
Throws:
Exception