Package introspector.controller
Class NodeSelectedController
java.lang.Object
introspector.controller.NodeSelectedController
This controller defines how to act when a new node in the tree is selected.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidselectedNodeChanged(TreeSelectionEvent ignoredEvent) When the selected node is changed, its description is shown in the text area and its dynamic type in the label.
-
Field Details
-
textArea
Text area that describes the current node, calling its toString() method -
labelClass
Above the textArea, this label shows the runtime type of the object represented by the current node. -
tree
The tree view
-
-
Constructor Details
-
NodeSelectedController
-
-
Method Details
-
selectedNodeChanged
When the selected node is changed, its description is shown in the text area and its dynamic type in the label.- Parameters:
ignoredEvent- the event that characterizes the change.
-