|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdiva.util.jester.EventPlayer
public class EventPlayer
EventPlayer uses the java.awt.robot API to inject streams of events
into a component. An event player is instantiated on a given
component and then passes events to that component every time its
play() method is called.
EventRecorder
| Red |
| Field Summary | |
|---|---|
private java.awt.Component |
_component
The component that we are playing into. |
| Constructor Summary | |
|---|---|
EventPlayer(java.awt.Component component)
Play events into the given component. |
|
| Method Summary | |
|---|---|
void |
play(java.awt.event.InputEvent[] events)
Play the given sequence of events into the component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.awt.Component _component
| Constructor Detail |
|---|
public EventPlayer(java.awt.Component component)
| Method Detail |
|---|
public void play(java.awt.event.InputEvent[] events)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||