Search this API

y.layout.router.polyline
Interface DynamicDecomposition

All Known Implementing Classes:
DynamicObstacleDecomposition, GraphPartition

public interface DynamicDecomposition

This interface should be implemented by classes that dispatch notifications about changes in Partitions.

Such classes can be notified when PartitionCells are created, divided, finalized and/or unlocked.

See Also:
DynamicDecomposition.Listener
 

Nested Class Summary
static interface DynamicDecomposition.Listener
          This interface is implemented by classes that require to be notified of changes in Partitions.
 
Method Summary
 void addDynamicDecompositionListener(DynamicDecomposition.Listener listener)
          Adds the given DynamicDecomposition.Listener that will be notified of dynamic decomposition events to the Partition.
 void removeDynamicDecompositionListener(DynamicDecomposition.Listener listener)
          Removes the given DynamicDecomposition.Listener from the Partition.
 

Method Detail

addDynamicDecompositionListener

void addDynamicDecompositionListener(DynamicDecomposition.Listener listener)
Adds the given DynamicDecomposition.Listener that will be notified of dynamic decomposition events to the Partition.

Parameters:
listener - the listener to be added

removeDynamicDecompositionListener

void removeDynamicDecompositionListener(DynamicDecomposition.Listener listener)
Removes the given DynamicDecomposition.Listener from the Partition.

The DynamicDecomposition.Listener will be no more notified of dynamic decomposition events.

Parameters:
listener - the listener to be removed

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