org.pm4j.core.pm.impl
Class PmVisitorAddAttributeEventListener

java.lang.Object
  extended by org.pm4j.core.pm.impl.PmVisitorAdapter
      extended by org.pm4j.core.pm.impl.PmVisitorAddAttributeEventListener
All Implemented Interfaces:
PmVisitor

public class PmVisitorAddAttributeEventListener
extends PmVisitorAdapter

Adds an event listener to all attributes within a PM tree structure.


Constructor Summary
PmVisitorAddAttributeEventListener(int changeMask, PmEventListener listener)
           
 
Method Summary
protected  void onVisit(PmObject pm)
          Default call back for common PmObject related handling.
 void visit(PmAttr<?> attr)
           
 
Methods inherited from class org.pm4j.core.pm.impl.PmVisitorAdapter
onVisitPmTreeNode, visit, visit, visit, visit, visit, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmVisitorAddAttributeEventListener

public PmVisitorAddAttributeEventListener(int changeMask,
                                          PmEventListener listener)
Method Detail

visit

public void visit(PmAttr<?> attr)
Specified by:
visit in interface PmVisitor
Overrides:
visit in class PmVisitorAdapter

onVisit

protected void onVisit(PmObject pm)
Description copied from class: PmVisitorAdapter
Default call back for common PmObject related handling.

Overrides:
onVisit in class PmVisitorAdapter