fr.lri.insitu.FlowStates.events
Class IConPositionEvent

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
All Implemented Interfaces:
InSlotEvent, OutSlotEvent, Serializable
Direct Known Subclasses:
IConPositionSwitchEvent

public class IConPositionEvent
extends fr.lri.swingstates.events.VirtualCanvasEvent
implements InSlotEvent, OutSlotEvent

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
IConPositionEvent()
           
IConPositionEvent(Point2D pt)
           
IConPositionEvent(String n, Point2D pt)
           
 
Method Summary
 void convertFromScreen(Component c)
           
 double getScreenX()
           
 double getScreenY()
           
 double getSlotX()
           
 double getSlotY()
           
 boolean hasSignal(String slotName)
           
 boolean occurs()
           
 void setSlotX(double x)
           
 void setSlotY(double y)
           
 void slotHasSignal(String slotName)
           
 
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
 

Constructor Detail

IConPositionEvent

public IConPositionEvent()

IConPositionEvent

public IConPositionEvent(String n,
                         Point2D pt)

IConPositionEvent

public IConPositionEvent(Point2D pt)
Method Detail

setSlotX

public void setSlotX(double x)

setSlotY

public void setSlotY(double y)

getSlotX

public double getSlotX()

getSlotY

public double getSlotY()

getScreenX

public double getScreenX()

getScreenY

public double getScreenY()

convertFromScreen

public void convertFromScreen(Component c)

occurs

public boolean occurs()
Specified by:
occurs in interface InSlotEvent

slotHasSignal

public void slotHasSignal(String slotName)
Specified by:
slotHasSignal in interface InSlotEvent

hasSignal

public boolean hasSignal(String slotName)
Specified by:
hasSignal in interface InSlotEvent



Copyright © 2009 Caroline Appert & Stˇphane Huot. 

Please send comments to: ??@lri.fr