diva.util.jester
Class EventPlayer

java.lang.Object
  extended by diva.util.jester.EventPlayer

public class EventPlayer
extends Object

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.

Version:
$Revision: 1.3 $
Author:
Michael Shilman (michaels@eecs.berkeley.edu)
See Also:
EventRecorder

Constructor Summary
EventPlayer(Component component)
          Play events into the given component.
 
Method Summary
 void play(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
 

Constructor Detail

EventPlayer

public EventPlayer(Component component)
Play events into the given component.

Method Detail

play

public void play(InputEvent[] events)
Play the given sequence of events into the component.



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.