ARoad0.Gui2
Interface TreeBaseListener

All Superinterfaces:
BaseListener, java.util.EventListener, MVC_Controller, java.beans.PropertyChangeListener
All Known Implementing Classes:
ACSTreeBaseListenerImpl, ISTreeBaseListenerImpl, ViewTreeBaseListenerImpl

public interface TreeBaseListener
extends BaseListener

This interface is responsible for listening the events fired by one main BaseObject (the main source) as ACSRun and ViewInBase - and also the events fired by the main source objects- for updating the unique JTree which is associated to this TreeBaseListener and which displays the main source objects. Each event source is registered only one time. The main source opening and closing operations are not implied, since these operations are handled in Gui1/Gui2 in the gDMak classes ActionClose and ActionOpen.


Method Summary
 javax.swing.tree.MutableTreeNode getEorRoot()
          Get the TreeModel root associated to the instance in its construction.
 javax.swing.tree.DefaultTreeModel getEorTreeModel()
          Get the DefaultTreeModel associated to the ACS tree instance in its construction.
 
Methods inherited from interface ARoad0.Gui2.BaseListener
finalizeForUser, getEorMainEventSource, hashCode, setListenEvents
 
Methods inherited from interface java.beans.PropertyChangeListener
propertyChange
 

Method Detail

getEorTreeModel

javax.swing.tree.DefaultTreeModel getEorTreeModel()
Get the DefaultTreeModel associated to the ACS tree instance in its construction.

Returns:
DefaultTreeModel associated to the instance and to a JTree

getEorRoot

javax.swing.tree.MutableTreeNode getEorRoot()
Get the TreeModel root associated to the instance in its construction.

Returns:
MutableTreeNode associated to the instance in the TreeModel