cz.zcu.fav.kiv.editor.graphics.components.editor
Class TreeSelectAction

java.lang.Object
  extended by cz.zcu.fav.kiv.editor.graphics.components.editor.TreeSelectAction
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.TreeSelectionListener

public class TreeSelectAction
extends java.lang.Object
implements javax.swing.event.TreeSelectionListener

The TreeSelectAction class represents the action performed when a leaf of tree menu is selected. Displays the SubsectionSheet belonging to the selected leaf.

Version:
1.0, 05/2007
Author:
Marta Vaclavikova

Constructor Summary
TreeSelectAction(EditorBody editorBody)
          Initializes a newly created TreeSelectAction.
 
Method Summary
 void valueChanged(javax.swing.event.TreeSelectionEvent selectEvent)
          Action performed when a tree node is selected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeSelectAction

public TreeSelectAction(EditorBody editorBody)
Initializes a newly created TreeSelectAction.

Parameters:
editorBody - the panel representing the editor body.
Method Detail

valueChanged

public void valueChanged(javax.swing.event.TreeSelectionEvent selectEvent)
Action performed when a tree node is selected. Displays the subsection sheet belonging to the selected node.

Specified by:
valueChanged in interface javax.swing.event.TreeSelectionListener