edu.stanford.hci.dtools.deviceeditor.components
Class EventConditional

java.lang.Object
  extended by edu.stanford.hci.dtools.deviceeditor.components.EventConditional
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
RangeEventConditional, TimerComponent.TimerExpiredConditional

public abstract class EventConditional
extends java.lang.Object
implements java.io.Serializable

Superclass of an event which can understand when it is able to trigger a transition

This software is distributed under the BSD License.

Author:
Bjoern Hartmann ( bjoern(AT)stanford.edu ), Michael Bernstein ( mbernst(AT)stanford.edu )
See Also:
Serialized Form

Constructor Summary
EventConditional()
           
 
Method Summary
abstract  boolean checkConditional(InputComponent component)
          Returns true if the component being passed satisfies the conditions specified in this conditional
abstract  java.lang.String getName()
           
abstract  boolean hasParameters()
          Returns true if the conditional has parameters that should be set in the property menu
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventConditional

public EventConditional()
Method Detail

checkConditional

public abstract boolean checkConditional(InputComponent component)
Returns true if the component being passed satisfies the conditions specified in this conditional

Parameters:
component -
Returns:

getName

public abstract java.lang.String getName()

hasParameters

public abstract boolean hasParameters()
Returns true if the conditional has parameters that should be set in the property menu

Returns: