JUCE
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Public Attributes
DragAndDropTarget::SourceDetails Class Reference

Contains details about the source of a drag-and-drop operation. More...

List of all members.

Public Member Functions

 SourceDetails (const var &description, Component *sourceComponent, const Point< int > &localPosition) noexcept
 Creates a SourceDetails object from its various settings.

Public Attributes

var description
 A descriptor for the drag - this is set DragAndDropContainer::startDragging().
WeakReference< ComponentsourceComponent
 The component from the drag operation was started.
Point< int > localPosition
 The local position of the mouse, relative to the target component.

Detailed Description

Contains details about the source of a drag-and-drop operation.

The contents of this


Constructor & Destructor Documentation

DragAndDropTarget::SourceDetails::SourceDetails ( const var description,
Component sourceComponent,
const Point< int > &  localPosition 
)

Creates a SourceDetails object from its various settings.


Member Data Documentation

A descriptor for the drag - this is set DragAndDropContainer::startDragging().

The component from the drag operation was started.

The local position of the mouse, relative to the target component.

Note that for calls such as isInterestedInDragSource(), this may be a null position.


The documentation for this class was generated from the following file: