Search this API

y.view.hierarchy
Class DefaultNodeChangePropagator

java.lang.Object
  extended by y.view.hierarchy.DefaultNodeChangePropagator
All Implemented Interfaces:
Graph2DListener

public class DefaultNodeChangePropagator
extends java.lang.Object
implements Graph2DListener

This Graph2DListeners translates incoming Graph2DEvents that signal node label changes to hierarchy events that signal node changes. This listener should be registered to the graphs within a graph hierarchy if label changes of nodes should trigger node change events within the hierarchy.

 
Your browser does not support SVG content.

Constructor Summary
DefaultNodeChangePropagator()
          Creates a new instance of DefaultNodeChangePropagator
 
Method Summary
 void onGraph2DEvent(Graph2DEvent e)
          Invoked when the properties of graph elements change.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultNodeChangePropagator

public DefaultNodeChangePropagator()
Creates a new instance of DefaultNodeChangePropagator

Method Detail

onGraph2DEvent

public void onGraph2DEvent(Graph2DEvent e)
Description copied from interface: Graph2DListener
Invoked when the properties of graph elements change.

Specified by:
onGraph2DEvent in interface Graph2DListener

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.