Gridarta Editor
net.sf.gridarta.gui.mapmenu.TreeDropTarget Class Reference

Tracks JTree instances for drop targets. More...

+ Collaboration diagram for net.sf.gridarta.gui.mapmenu.TreeDropTarget:

Public Member Functions

 TreeDropTarget (@NotNull final JTree tree)
 Creates a new instance. More...
 

Static Private Member Functions

static void checkDragEvent (@NotNull final DropTargetDragEvent dtde)
 Called when a drag operation is ongoing. More...
 

Private Attributes

final DropTargetListener dropTargetListener
 The DropTargetListener attached to the tree. More...
 

Detailed Description

Tracks JTree instances for drop targets.

Supports dropping into branch nodes.

Author
Andreas Kirschbaum

Definition at line 46 of file TreeDropTarget.java.

Constructor & Destructor Documentation

◆ TreeDropTarget()

net.sf.gridarta.gui.mapmenu.TreeDropTarget.TreeDropTarget ( @NotNull final JTree  tree)

Creates a new instance.

Parameters
treethe tree to monitor

Definition at line 168 of file TreeDropTarget.java.

Member Function Documentation

◆ checkDragEvent()

static void net.sf.gridarta.gui.mapmenu.TreeDropTarget.checkDragEvent ( @NotNull final DropTargetDragEvent  dtde)
staticprivate

Called when a drag operation is ongoing.

Parameters
dtdethe drop target drag event

Definition at line 177 of file TreeDropTarget.java.

Member Data Documentation

◆ dropTargetListener

final DropTargetListener net.sf.gridarta.gui.mapmenu.TreeDropTarget.dropTargetListener
private

The DropTargetListener attached to the tree.

FieldCanBeLocal

Definition at line 53 of file TreeDropTarget.java.


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