adaptj.event
Class SingleEventBox

java.lang.Object
  |
  +--adaptj.event.SingleEventBox
All Implemented Interfaces:
EventBox

public class SingleEventBox
extends java.lang.Object
implements EventBox


Constructor Summary
SingleEventBox(IAEFReader reader)
           
 
Method Summary
 long count()
           
 AdaptJEvent getEvent()
           
 boolean hasNext()
           
 AdaptJEvent nextEvent()
           
 void remove()
           
 void setEvent(AdaptJEvent event)
           
 boolean step()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleEventBox

public SingleEventBox(IAEFReader reader)
Method Detail

getEvent

public AdaptJEvent getEvent()
Specified by:
getEvent in interface EventBox

setEvent

public void setEvent(AdaptJEvent event)
Specified by:
setEvent in interface EventBox

nextEvent

public AdaptJEvent nextEvent()
Specified by:
nextEvent in interface EventBox

hasNext

public boolean hasNext()
Specified by:
hasNext in interface EventBox

remove

public void remove()
Specified by:
remove in interface EventBox

step

public boolean step()
Specified by:
step in interface EventBox

count

public long count()
Specified by:
count in interface EventBox