|
||||||||||
| 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
unbbayes.gui.HierarchicTree
public class HierarchicTree
| 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 | |
|---|---|
static boolean |
DESCRIPTION_TYPE
|
static boolean |
EXPLANATION_TYPE
|
protected IconController |
iconController
|
| 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 | |
|---|---|
HierarchicTree(DefaultTreeModel model)
|
|
| Method Summary | |
|---|---|
void |
collapseTree()
Retrai todos os nos da arvore. |
JTree |
copyTree()
|
void |
dragDropEnd(DragSourceDropEvent event)
this message goes to DragSourceListener, informing it that the dragging has ended |
void |
dragEnter(DragSourceDragEvent event)
this message goes to DragSourceListener, informing it that the dragging has entered the DropSite |
void |
dragEnter(DropTargetDragEvent event)
is invoked when you are dragging over the DropSite |
void |
dragExit(DragSourceEvent event)
this message goes to DragSourceListener, informing it that the dragging has exited the DropSite |
void |
dragExit(DropTargetEvent event)
is invoked when you are exit the DropSite without dropping |
void |
dragGestureRecognized(DragGestureEvent event)
a drag gesture has been initiated |
void |
dragOver(DragSourceDragEvent event)
this message goes to DragSourceListener, informing it that the dragging is currently ocurring over the DropSite |
void |
dragOver(DropTargetDragEvent event)
is invoked when a drag operation is going on |
void |
drop(DropTargetDropEvent event)
a drop has occurred |
void |
dropActionChanged(DragSourceDragEvent event)
is invoked when the user changes the dropAction |
void |
dropActionChanged(DropTargetDragEvent event)
is invoked if the use modifies the current drop gesture |
void |
expandTree()
Expande todos os nos da arvore. |
ArrayList<Node> |
getAllNodeInformations()
Extracts all nodes managed by this class |
Node |
getNodeInformation(DefaultMutableTreeNode treeNode)
|
void |
setProbabilisticNetwork(SingleEntityNetwork net,
boolean nodeType)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final boolean EXPLANATION_TYPE
public static final boolean DESCRIPTION_TYPE
protected IconController iconController
| Constructor Detail |
|---|
public HierarchicTree(DefaultTreeModel model)
| Method Detail |
|---|
public void setProbabilisticNetwork(SingleEntityNetwork net,
boolean nodeType)
public void expandTree()
JTreepublic void collapseTree()
JTreepublic JTree copyTree()
public Node getNodeInformation(DefaultMutableTreeNode treeNode)
public void dragEnter(DropTargetDragEvent event)
dragEnter in interface DropTargetListenerpublic void dragExit(DropTargetEvent event)
dragExit in interface DropTargetListenerpublic void dragOver(DropTargetDragEvent event)
dragOver in interface DropTargetListenerpublic void drop(DropTargetDropEvent event)
drop in interface DropTargetListenerpublic void dropActionChanged(DropTargetDragEvent event)
dropActionChanged in interface DropTargetListenerpublic void dragGestureRecognized(DragGestureEvent event)
dragGestureRecognized in interface DragGestureListenerpublic void dragDropEnd(DragSourceDropEvent event)
dragDropEnd in interface DragSourceListenerpublic void dragEnter(DragSourceDragEvent event)
dragEnter in interface DragSourceListenerpublic void dragExit(DragSourceEvent event)
dragExit in interface DragSourceListenerpublic void dragOver(DragSourceDragEvent event)
dragOver in interface DragSourceListenerpublic void dropActionChanged(DragSourceDragEvent event)
dropActionChanged in interface DragSourceListenerpublic ArrayList<Node> getAllNodeInformations()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||