public class LayerDropUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.Logger |
LOG |
| Constructor and Description |
|---|
LayerDropUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
drop(Collection<File> data,
ActiveLayerModel activeLayerModel,
JComponent parent)
DOCUMENT ME!
|
static void |
drop(DropTargetDropEvent dtde,
ActiveLayerModel activeLayerModel,
JComponent parent)
Handles a layer drop event.
|
static boolean |
drop(TransferHandler.TransferSupport support,
ActiveLayerModel activeLayerModel,
int index,
JComponent parent)
Handles a layer drop event.
|
static boolean |
handleFeatureServiceFile(File currentFile,
ActiveLayerModel activeLayerModel,
int index,
Component parent)
DOCUMENT ME!
|
static boolean |
handleFile(File currentFile,
ActiveLayerModel activeLayerModel,
int index,
Component parent)
DOCUMENT ME!
|
static boolean |
handleFiles(Collection<File> data,
ActiveLayerModel activeLayerModel,
int index,
Component parent)
DOCUMENT ME!
|
static boolean |
handleGPXFile(File currentFile,
ActiveLayerModel activeLayerModel,
int index,
Component parent)
DOCUMENT ME!
|
static boolean |
handleImageFile(File currentFile,
ActiveLayerModel activeLayerModel,
int index,
Component parent,
ImageFileUtils.Mode imageFileMode)
DOCUMENT ME!
|
public static boolean drop(Collection<File> data, ActiveLayerModel activeLayerModel, JComponent parent)
data - DOCUMENT ME!activeLayerModel - DOCUMENT ME!parent - DOCUMENT ME!public static void drop(DropTargetDropEvent dtde, ActiveLayerModel activeLayerModel, JComponent parent)
dtde - the data of the drop eventactiveLayerModel - the model to addparent - a component that is used to message dialogs, if requiredpublic static boolean drop(TransferHandler.TransferSupport support, ActiveLayerModel activeLayerModel, int index, JComponent parent)
support - the data of the drop eventactiveLayerModel - the model to addindex - the index, the dropped element should be addedparent - a component that is used to message dialogs, if requiredpublic static boolean handleFiles(Collection<File> data, ActiveLayerModel activeLayerModel, int index, Component parent)
data - DOCUMENT ME!activeLayerModel - DOCUMENT ME!index - DOCUMENT ME!parent - DOCUMENT ME!public static boolean handleFile(File currentFile, ActiveLayerModel activeLayerModel, int index, Component parent)
currentFile - DOCUMENT ME!activeLayerModel - DOCUMENT ME!index - DOCUMENT ME!parent - DOCUMENT ME!public static boolean handleImageFile(File currentFile, ActiveLayerModel activeLayerModel, int index, Component parent, ImageFileUtils.Mode imageFileMode)
currentFile - DOCUMENT ME!activeLayerModel - DOCUMENT ME!index - DOCUMENT ME!parent - DOCUMENT ME!imageFileMode - DOCUMENT ME!public static boolean handleGPXFile(File currentFile, ActiveLayerModel activeLayerModel, int index, Component parent)
currentFile - DOCUMENT ME!activeLayerModel - DOCUMENT ME!index - DOCUMENT ME!parent - DOCUMENT ME!public static boolean handleFeatureServiceFile(File currentFile, ActiveLayerModel activeLayerModel, int index, Component parent)
currentFile - DOCUMENT ME!activeLayerModel - DOCUMENT ME!index - DOCUMENT ME!parent - DOCUMENT ME!Copyright © 2012–2026 cismet GmbH. All rights reserved.