|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.jemmy.QueueTool.QueueAction
org.netbeans.jemmy.operators.Operator.MapAction
protected abstract class Operator.MapAction
Can be used to simplify nonprimitive type component's methods mapping.
Like this:
public Color getBackground() {
return((Color)runMapping(new MapAction("getBackground") {
public Object map() {
return(((Component)getSource()).getBackground());
}
}));
}
Operator.runMapping(Operator.MapAction)
Constructor Summary | |
---|---|
Operator.MapAction(java.lang.String description)
Constructs a MapAction object. |
Method Summary | |
---|---|
java.lang.Object |
launch()
Method to implement action functionality. |
abstract java.lang.Object |
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 |
---|
public Operator.MapAction(java.lang.String description)
description
- an action description.Method Detail |
---|
public final java.lang.Object launch() throws java.lang.Exception
QueueTool.QueueAction
launch
in class QueueTool.QueueAction
java.lang.Exception
public abstract java.lang.Object map() throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |