fr.lri.insitu.FlowStates.events
Class IConPositionSwitchEvent

java.lang.Object
  extended by java.util.EventObject
      extended by fr.lri.swingstates.events.VirtualEvent
          extended by fr.lri.swingstates.events.VirtualCanvasEvent
              extended by fr.lri.insitu.FlowStates.events.IConPositionEvent
                  extended by fr.lri.insitu.FlowStates.events.IConPositionSwitchEvent
All Implemented Interfaces:
ICSwitchEvent, InSlotEvent, OutSlotEvent, Serializable

public class IConPositionSwitchEvent
extends IConPositionEvent
implements ICSwitchEvent

See Also:
Serialized Form

Field Summary
protected  boolean hasChanged
           
protected static boolean LAST_VALUE
           
protected static Hashtable<Class<? extends IConPositionSwitchEvent>,Boolean> LAST_VALUES
           
protected  boolean on
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
IConPositionSwitchEvent()
           
 
Method Summary
 boolean getSlotOn()
           
 boolean hasSwitchValueChanged()
           
 boolean occurs()
           
 void setSlotOn(boolean on)
           
 
Methods inherited from class fr.lri.insitu.FlowStates.events.IConPositionEvent
convertFromScreen, getScreenX, getScreenY, getSlotX, getSlotY, hasSignal, setSlotX, setSlotY, slotHasSignal
 
Methods inherited from class fr.lri.swingstates.events.VirtualCanvasEvent
getModifier, getPoint, getShape, setShape
 
Methods inherited from class fr.lri.swingstates.events.VirtualEvent
getMatchingTransitions, getNameEvent, setNameEvent, setSource
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

on

protected boolean on

hasChanged

protected boolean hasChanged

LAST_VALUES

protected static Hashtable<Class<? extends IConPositionSwitchEvent>,Boolean> LAST_VALUES

LAST_VALUE

protected static boolean LAST_VALUE
Constructor Detail

IConPositionSwitchEvent

public IConPositionSwitchEvent()
Method Detail

getSlotOn

public final boolean getSlotOn()
Specified by:
getSlotOn in interface ICSwitchEvent

setSlotOn

public final void setSlotOn(boolean on)
Specified by:
setSlotOn in interface ICSwitchEvent

hasSwitchValueChanged

public final boolean hasSwitchValueChanged()
Specified by:
hasSwitchValueChanged in interface ICSwitchEvent

occurs

public final boolean occurs()
Specified by:
occurs in interface InSlotEvent
Overrides:
occurs in class IConPositionEvent



Copyright © 2009 Caroline Appert & Stˇphane Huot. 

Please send comments to: ??@lri.fr