sk.uniba.euromath.document
Class DocumentListeners

java.lang.Object
  extended by sk.uniba.euromath.document.DocumentListeners

public final class DocumentListeners
extends Object

Manages the document listeners. All listeners must be equal only to itself in order for them to be correctly placed into a Set. Class is not intended to be instantiated by clients.

Author:
Martin Vysny

Method Summary
 void addGeneralListener(IGeneralListener listener)
          Registers the general listener.
 void addModifierListener(IModifierListener listener)
          Deprecated.  
 void nodeAdded(Node node, boolean changesIdLevel)
          Deprecated.  
 void nodeDelete(Node node, boolean changesIdLevel)
          Deprecated.  
 void nodeModified(ChangeTracer tracer, boolean changesIdLevel)
          Deprecated.  
 void removeGeneralListener(IGeneralListener listener)
          Removes the general listener.
 void removeModifierListener(IModifierListener listener)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addGeneralListener

public void addGeneralListener(IGeneralListener listener)
Registers the general listener.

Parameters:
listener - the listener to be registered.

removeGeneralListener

public void removeGeneralListener(IGeneralListener listener)
Removes the general listener.

Parameters:
listener - the listener to be removed.

addModifierListener

@Deprecated
public void addModifierListener(IModifierListener listener)
Deprecated. 

Registers the modifier listener.

Parameters:
listener - the listener to be registered.

removeModifierListener

@Deprecated
public void removeModifierListener(IModifierListener listener)
Deprecated. 

Removes the modifier listener.

Parameters:
listener - the listener to be removed.

nodeAdded

@Deprecated
public void nodeAdded(Node node,
                                 boolean changesIdLevel)
Deprecated. 

Notifies listeners that a node has been added. Internal method, must not be called by clients.

Parameters:
node - the node
changesIdLevel - see IModifierListener interface for details.
See Also:
IModifierListener

nodeDelete

@Deprecated
public void nodeDelete(Node node,
                                  boolean changesIdLevel)
Deprecated. 

Notifies listeners that a node is about to be deleted. Internal method, must not be called by clients.

Parameters:
node - the node.
changesIdLevel - see IModifierListener interface for details.
See Also:
IModifierListener

nodeModified

@Deprecated
public void nodeModified(ChangeTracer tracer,
                                    boolean changesIdLevel)
Deprecated. 

Notifies listeners that a node has been changed. Internal method, must not be called by clients.

Parameters:
tracer - tracks changes.
changesIdLevel - see IModifierListener interface for details.
See Also:
IModifierListener


Copyright © 2003-2006 null. All Rights Reserved.