| java.lang.Object com.sun.perseus.model.TimeCondition com.sun.perseus.model.EventBaseCondition com.sun.perseus.model.AccessKeyCondition
AccessKeyCondition | final public class AccessKeyCondition extends EventBaseCondition (Code) | | A AccessKeyCondition generates a TimeInstance
everytime the associated key event occurs with the expected
accessKey value.
version: $Id: AccessKeyCondition.java,v 1.2 2006/04/21 06:36:24 st125089 Exp $ |
Field Summary | |
char | accessKey The key code which triggers the condition. |
Constructor Summary | |
public | AccessKeyCondition(TimedElementSupport timedElement, boolean isBegin, long offset, char accessKey) Parameters: timedElement - the associated TimedElementSupport . |
Method Summary | |
public void | handleEvent(Event evt) Implementation of the EventListener interface. | protected String | toStringTrait() Converts this AccessKeyCondition to a String trait. |
accessKey | char accessKey(Code) | | The key code which triggers the condition.
|
AccessKeyCondition | public AccessKeyCondition(TimedElementSupport timedElement, boolean isBegin, long offset, char accessKey)(Code) | | Parameters: timedElement - the associated TimedElementSupport . Should not be null. Parameters: isBegin - defines whether this condition is for a begin list. Parameters: offset - offset from the sync base. This means that time instancessynchronized on the syncBase begin or end time are offset by this amount. Parameters: accessKey - only when the eventBase generates a key event withthis accessKey will a TimeInstance be generated. |
handleEvent | public void handleEvent(Event evt)(Code) | | Implementation of the EventListener interface.
This is a simple filtered version of the handleEvent implementation
in EventBaseCondition .
Parameters: evt - the event that occured |
toStringTrait | protected String toStringTrait()(Code) | | Converts this AccessKeyCondition to a String trait.
a string describing this TimeCondition |
|
|