public final class DragDropOptions extends Object
Insight3D control
. To
disable automatic handling of dropped files, set the AutoHandleDragDrop
(get
/ set
)
property to false
. The DragDropHandled
(add
/ remove
) event is raised when
a supported file was dropped and handled by the control.
Currently, only imagery and terrain file formats supported by
GlobeImageOverlay
and TerrainOverlay
are handled. The imagery
and terrain will automatically be added to the Scene
.
Insight3D
Modifier and Type | Method and Description |
---|---|
void |
addDragDropHandled(EventHandler<EventArgs> value)
Adds a handler for an event that is raised when the data object associated with the corresponding drag event was handled by Insight3D.
|
boolean |
getAutoHandleDragDrop()
Gets a value indicating whether drag and drop events will be handled by the
Insight3D control to automatically
add supported imagery and terrain files when they are dropped onto the control. |
void |
removeDragDropHandled(EventHandler<EventArgs> value)
Removes a handler for an event that is raised when the data object associated with the corresponding drag event was handled by Insight3D.
|
void |
setAutoHandleDragDrop(boolean value)
Sets a value indicating whether drag and drop events will be handled by the
Insight3D control to automatically
add supported imagery and terrain files when they are dropped onto the control. |
String |
toString()
Returns a String that represents the current Object.
|
public final void addDragDropHandled(EventHandler<EventArgs> value)
value
- The handler.public final void removeDragDropHandled(EventHandler<EventArgs> value)
value
- The handler.public final boolean getAutoHandleDragDrop()
Insight3D control
to automatically
add supported imagery and terrain files when they are dropped onto the control.public final void setAutoHandleDragDrop(boolean value)
Insight3D control
to automatically
add supported imagery and terrain files when they are dropped onto the control.