com.ebmwebsourcing.geasytools.geasyui.impl.connectable.events
Class AddWayPointEvent

java.lang.Object
  extended by com.google.gwt.event.shared.GwtEvent<ConnectorHandler>
      extended by com.ebmwebsourcing.geasytools.geasyui.impl.connectable.events.AddWayPointEvent
All Implemented Interfaces:
IAddWayPointEvent

public class AddWayPointEvent
extends com.google.gwt.event.shared.GwtEvent<ConnectorHandler>
implements IAddWayPointEvent


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H>
 
Field Summary
static com.google.gwt.event.shared.GwtEvent.Type<ConnectorHandler> TYPE
           
 
Constructor Summary
AddWayPointEvent(IPoint point, IConnectorPoint previousPoint, IConnectorPoint nextPoint)
           
 
Method Summary
protected  void dispatch(ConnectorHandler handler)
           
 com.google.gwt.event.shared.GwtEvent.Type<ConnectorHandler> getAssociatedType()
           
 IConnectorPoint getNextPoint()
          The closest existing point after actual waypoint
 IConnectorPoint getPreviousPoint()
          The closest existing point before actual waypoint
 IPoint getWayPointPosition()
          The position of current waypoint to be added
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, getSource, isLive, kill, revive, toDebugString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static com.google.gwt.event.shared.GwtEvent.Type<ConnectorHandler> TYPE
Constructor Detail

AddWayPointEvent

public AddWayPointEvent(IPoint point,
                        IConnectorPoint previousPoint,
                        IConnectorPoint nextPoint)
Method Detail

dispatch

protected void dispatch(ConnectorHandler handler)
Specified by:
dispatch in class com.google.gwt.event.shared.GwtEvent<ConnectorHandler>

getAssociatedType

public com.google.gwt.event.shared.GwtEvent.Type<ConnectorHandler> getAssociatedType()
Specified by:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<ConnectorHandler>

getNextPoint

public IConnectorPoint getNextPoint()
Description copied from interface: IAddWayPointEvent
The closest existing point after actual waypoint

Specified by:
getNextPoint in interface IAddWayPointEvent
Returns:

getPreviousPoint

public IConnectorPoint getPreviousPoint()
Description copied from interface: IAddWayPointEvent
The closest existing point before actual waypoint

Specified by:
getPreviousPoint in interface IAddWayPointEvent
Returns:

getWayPointPosition

public IPoint getWayPointPosition()
Description copied from interface: IAddWayPointEvent
The position of current waypoint to be added

Specified by:
getWayPointPosition in interface IAddWayPointEvent
Returns:


Copyright © 2010-2011 Petals Link. All Rights Reserved.