RoboJDETM v2.0

com.ridgesoft.robotics
Class BehaviorEvent

java.lang.Object
  extended by com.ridgesoft.robotics.BehaviorEvent

public class BehaviorEvent
extends Object

Used to communicate information about behavior events to BehaviorListeners.

See the Behavior2 interface and the BehaviorArbiter class for more information.

See Also:
BehaviorArbiter, Behavior, Behavior2, BehaviorListener, com.ridgesoft.robotics.behaviors

Field Summary
 Behavior behavior
          Behavior that generated this event.
static int BEHAVIOR_COMPLETED
          Event type that indicates the behavior has been completed.
 int type
          The type of this event.
 
Constructor Summary
BehaviorEvent(Behavior b, int eventType)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait
 

Field Detail

behavior

public final Behavior behavior
Behavior that generated this event.


BEHAVIOR_COMPLETED

public static final int BEHAVIOR_COMPLETED
Event type that indicates the behavior has been completed.

See Also:
Constant Field Values

type

public final int type
The type of this event.

Constructor Detail

BehaviorEvent

public BehaviorEvent(Behavior b,
                     int eventType)

RoboJDETM v2.0

Copyright (c) 2003-2009 RidgeSoft, LLC. All rights reserved.
www.ridgesoft.com