Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

com.arcle.rmt.j2se.swing.vc.AbstractElementList.TreeController Class Reference

Controller class for the tree. More...

List of all members.

Public Member Functions

void valueChanged (TreeSelectionEvent e)
void mouseClicked (MouseEvent e)
 This implementation does nothing.

void mouseEntered (MouseEvent e)
 This implementation does nothing.

void mouseExited (MouseEvent e)
 This implementation does nothing.

void mousePressed (MouseEvent e)
 When the user double-clicks on a node, perform the appropriate action by calling doEditNode() on the clicked node.

void mouseReleased (MouseEvent e)
 This implementation does nothing.

void keyPressed (KeyEvent e)
 When the user presses ENTER on a node, performs the appropriate action for the node by calling doEditNode() on the selected node.

void keyReleased (KeyEvent e)
 This implementation does nothing.

void keyTyped (KeyEvent e)
 This implementation does nothing.


Protected Member Functions

void doEditNode (Node node)
 Performs an action when the user presses ENTER or double-clicks a node.


Detailed Description

Controller class for the tree.

Definition at line 491 of file AbstractElementList.java.


Member Function Documentation

void com.arcle.rmt.j2se.swing.vc.AbstractElementList.TreeController.doEditNode Node  node  )  [protected]
 

Performs an action when the user presses ENTER or double-clicks a node.

The action may be one of:

  • create a new element.
  • edit the element.

Todo:
throw an exception or do something else.

Definition at line 610 of file AbstractElementList.java.

References com.arcle.rmt.j2se.swing.vc.AbstractElementList.ElementNode.cmEditElement(), and com.arcle.rmt.j2se.swing.vc.AbstractElementList.ElementTypeNode.cmNewElement().

Referenced by com.arcle.rmt.j2se.swing.vc.AbstractElementList.TreeController.keyPressed(), and com.arcle.rmt.j2se.swing.vc.AbstractElementList.TreeController.mousePressed().

void com.arcle.rmt.j2se.swing.vc.AbstractElementList.TreeController.keyPressed KeyEvent  e  ) 
 

When the user presses ENTER on a node, performs the appropriate action for the node by calling doEditNode() on the selected node.

See also:
doEditNode

Definition at line 573 of file AbstractElementList.java.

References com.arcle.rmt.j2se.swing.vc.AbstractElementList.TreeController.doEditNode(), and com.arcle.rmt.j2se.swing.vc.AbstractElementList.getTree().

void com.arcle.rmt.j2se.swing.vc.AbstractElementList.TreeController.keyReleased KeyEvent  e  ) 
 

This implementation does nothing.

Definition at line 594 of file AbstractElementList.java.

void com.arcle.rmt.j2se.swing.vc.AbstractElementList.TreeController.keyTyped KeyEvent  e  ) 
 

This implementation does nothing.

Definition at line 599 of file AbstractElementList.java.

void com.arcle.rmt.j2se.swing.vc.AbstractElementList.TreeController.mouseClicked MouseEvent  e  ) 
 

This implementation does nothing.

Definition at line 523 of file AbstractElementList.java.

void com.arcle.rmt.j2se.swing.vc.AbstractElementList.TreeController.mouseEntered MouseEvent  e  ) 
 

This implementation does nothing.

Definition at line 528 of file AbstractElementList.java.

void com.arcle.rmt.j2se.swing.vc.AbstractElementList.TreeController.mouseExited MouseEvent  e  ) 
 

This implementation does nothing.

Definition at line 533 of file AbstractElementList.java.

void com.arcle.rmt.j2se.swing.vc.AbstractElementList.TreeController.mousePressed MouseEvent  e  ) 
 

When the user double-clicks on a node, perform the appropriate action by calling doEditNode() on the clicked node.

See also:
doEditNode

Definition at line 540 of file AbstractElementList.java.

References com.arcle.rmt.j2se.swing.vc.AbstractElementList.TreeController.doEditNode(), and com.arcle.rmt.j2se.swing.vc.AbstractElementList.getTree().

void com.arcle.rmt.j2se.swing.vc.AbstractElementList.TreeController.mouseReleased MouseEvent  e  ) 
 

This implementation does nothing.

Definition at line 563 of file AbstractElementList.java.

void com.arcle.rmt.j2se.swing.vc.AbstractElementList.TreeController.valueChanged TreeSelectionEvent  e  ) 
 

Definition at line 497 of file AbstractElementList.java.

References com.arcle.rmt.j2se.swing.vc.AbstractElementList.getCurrentDescription(), com.arcle.rmt.rqml.RQMLFirstClass.getDescription(), com.arcle.rmt.j2se.swing.vc.AbstractElementList.ElementNode.getElement(), com.arcle.rmt.j2se.swing.vc.AbstractElementList.getTree(), and com.arcle.rmt.j2se.swing.vc.AbstractElementList.DescriptionText.setDescription().


The documentation for this class was generated from the following file:
Generated on Fri Jun 18 19:54:05 2004 for Arcle Rambutan by doxygen 1.3.5