com.guiseframework.platform
Class PlatformDropEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.globalmentor.event.AbstractEvent
          extended by com.guiseframework.event.AbstractGuiseEvent
              extended by com.guiseframework.platform.AbstractPlatformEvent
                  extended by com.guiseframework.platform.AbstractDepictEvent
                      extended by com.guiseframework.platform.PlatformDropEvent
All Implemented Interfaces:
com.globalmentor.event.Event, GuiseEvent, DepictEvent, PlatformEvent, PlatformMessage, java.io.Serializable

public class PlatformDropEvent
extends AbstractDepictEvent

Indicates that a drop action has occurred after a drag on the platform. The drag target serves as the source of the event.

Author:
Garret Wilson
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PlatformDropEvent(DepictedObject dragSource, DepictedObject dropTarget)
          Drag source and drop target constructor.
 
Method Summary
 DepictedObject getDragSource()
           
 DepictedObject getDropTarget()
           
 
Methods inherited from class com.guiseframework.platform.AbstractDepictEvent
getDepictedObject
 
Methods inherited from class com.guiseframework.event.AbstractGuiseEvent
getSession
 
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
 
Methods inherited from interface com.globalmentor.event.Event
getSource
 

Constructor Detail

PlatformDropEvent

public PlatformDropEvent(DepictedObject dragSource,
                         DepictedObject dropTarget)
Drag source and drop target constructor.

Parameters:
dragSource - The source of the drag-drop gesture.
dropTarget - The target of the drag-drop gesture.
Throws:
java.lang.NullPointerException - if the given drag source and/or drop target is null.
Method Detail

getDragSource

public DepictedObject getDragSource()
Returns:
The source of the drag-drop gesture.

getDropTarget

public DepictedObject getDropTarget()
Returns:
The target of the drag-drop gesture.


Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.