|
|||||||||||
| 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
com.ontotext.gate.vr.EditableTreeView
Extends JTree in order to provide
means for editing the hierarchy of an ontology
borislav popov
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JTree |
JTree.AccessibleJTree, JTree.DynamicUtilTreeNode, JTree.EmptySelectionModel, JTree.TreeModelHandler, JTree.TreeSelectionRedirector |
| Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
protected ClassNode |
selectedNode
The currently selected node |
protected TreePath |
selectedTreePath
Stores the selected node info |
| 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 | |
EditableTreeView(OntoTreeModel model)
|
|
| Method Summary | |
void |
dragDropEnd(DragSourceDropEvent e)
|
void |
dragEnter(DragSourceDragEvent dsde)
|
void |
dragEnter(DropTargetDragEvent e)
|
void |
dragExit(DragSourceEvent dsde)
|
void |
dragExit(DropTargetEvent e)
|
void |
dragGestureRecognized(DragGestureEvent event)
|
void |
dragOver(DragSourceDragEvent e)
|
void |
dragOver(DropTargetDragEvent e)
|
void |
drop(DropTargetDropEvent e)
|
void |
dropActionChanged(DragSourceDragEvent e)
|
void |
dropActionChanged(DropTargetDragEvent e)
|
OEMainPanel |
getmainPanel()
Gets the main panel of this tree view |
ClassNode |
getSelectedNode()
Returns the selected node |
void |
setMainPanel(OEMainPanel panel)
Sets the main panel of this tree view. |
void |
setModel(OntoTreeModel model)
|
static void |
synchronizeTreeExpansion(JTree orig,
JTree mirror)
Synchronizes the expansion of the given trees. |
void |
valueChanged(TreeSelectionEvent evt)
sets selected node |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected TreePath selectedTreePath
protected ClassNode selectedNode
| Constructor Detail |
public EditableTreeView(OntoTreeModel model)
| Method Detail |
public static void synchronizeTreeExpansion(JTree orig,
JTree mirror)
orig - the original treemirror - the tree to mimic the expansion of the originalpublic void setMainPanel(OEMainPanel panel)
panel - the main panelpublic OEMainPanel getmainPanel()
public void setModel(OntoTreeModel model)
public void dragGestureRecognized(DragGestureEvent event)
dragGestureRecognized in interface DragGestureListenerpublic void drop(DropTargetDropEvent e)
drop in interface DropTargetListenerpublic void dragExit(DragSourceEvent dsde)
dragExit in interface DragSourceListenerpublic void dragExit(DropTargetEvent e)
dragExit in interface DropTargetListenerpublic void dragEnter(DragSourceDragEvent dsde)
dragEnter in interface DragSourceListenerpublic void dragEnter(DropTargetDragEvent e)
dragEnter in interface DropTargetListenerpublic void dropActionChanged(DragSourceDragEvent e)
dropActionChanged in interface DragSourceListenerpublic void dropActionChanged(DropTargetDragEvent e)
dropActionChanged in interface DropTargetListenerpublic void dragOver(DragSourceDragEvent e)
dragOver in interface DragSourceListenerpublic void dragOver(DropTargetDragEvent e)
dragOver in interface DropTargetListenerpublic void dragDropEnd(DragSourceDropEvent e)
dragDropEnd in interface DragSourceListenerpublic void valueChanged(TreeSelectionEvent evt)
valueChanged in interface TreeSelectionListenerpublic ClassNode getSelectedNode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||