|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JTree
gate.gui.ontology.OntologyEditor.DnDJTree
class OntologyEditor.DnDJTree
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JTree |
|---|
JTree.AccessibleJTree, JTree.DropLocation, JTree.DynamicUtilTreeNode, JTree.EmptySelectionModel, JTree.TreeModelHandler, JTree.TreeSelectionRedirector |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
private DragSource |
dragSource
Variables needed for DnD |
private DragSourceContext |
dragSourceContext
|
private DefaultMutableTreeNode |
selectedNode
|
private TreePath |
selectedTreePath
|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
OntologyEditor.DnDJTree(TreeModel model)
Constructor |
|
| Method Summary | |
|---|---|
void |
dragDropEnd(DragSourceDropEvent dsde)
DragSourceListener interface method |
void |
dragEnter(DragSourceDragEvent dsde)
DragSourceListener interface method |
void |
dragEnter(DropTargetDragEvent e)
DropTaregetListener interface method |
void |
dragExit(DragSourceEvent dsde)
DragSourceListener interface method |
void |
dragExit(DropTargetEvent e)
DropTaregetListener interface method |
void |
dragGestureRecognized(DragGestureEvent e)
DragGestureListener interface method |
void |
dragOver(DragSourceDragEvent dsde)
DragSourceListener interface method |
void |
dragOver(DropTargetDragEvent e)
DropTaregetListener interface method |
void |
drop(DropTargetDropEvent e)
DropTargetListener interface method - What we do when drag is released |
void |
dropActionChanged(DragSourceDragEvent dsde)
DragSourceListener interface method |
void |
dropActionChanged(DropTargetDragEvent e)
DropTaregetListener interface method |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private DragSource dragSource
private DragSourceContext dragSourceContext
private DefaultMutableTreeNode selectedNode
private TreePath selectedTreePath
| Constructor Detail |
|---|
public OntologyEditor.DnDJTree(TreeModel model)
model - tree model| Method Detail |
|---|
public void dragGestureRecognized(DragGestureEvent e)
dragGestureRecognized in interface DragGestureListenerpublic void dragDropEnd(DragSourceDropEvent dsde)
dragDropEnd in interface DragSourceListenerpublic void dragEnter(DragSourceDragEvent dsde)
dragEnter in interface DragSourceListenerpublic void dragOver(DragSourceDragEvent dsde)
dragOver in interface DragSourceListenerpublic void dropActionChanged(DragSourceDragEvent dsde)
dropActionChanged in interface DragSourceListenerpublic void dragExit(DragSourceEvent dsde)
dragExit in interface DragSourceListenerpublic void drop(DropTargetDropEvent e)
drop in interface DropTargetListenerpublic void dragEnter(DropTargetDragEvent e)
dragEnter in interface DropTargetListenerpublic void dragExit(DropTargetEvent e)
dragExit in interface DropTargetListenerpublic void dragOver(DropTargetDragEvent e)
dragOver in interface DropTargetListenerpublic void dropActionChanged(DropTargetDragEvent e)
dropActionChanged in interface DropTargetListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||