info.aduna.linkmap.layout
Class SubgraphRelocationListenerAdapter

java.lang.Object
  extended by info.aduna.linkmap.layout.SubgraphRelocationListenerAdapter
All Implemented Interfaces:
SubgraphRelocationListener

public class SubgraphRelocationListenerAdapter
extends Object
implements SubgraphRelocationListener

Utility class providing trivial no-op implementations for the methods declared in SubgraphRelocationListener.


Constructor Summary
SubgraphRelocationListenerAdapter()
           
 
Method Summary
 void finishedIndividualLayouts(SubgraphRelocationManager manager)
          Indicates that all subgraphs have been given an indivual layout by the subgraph's GraphLayoutManager.
 void finishedLayout(Graph subgraph, SubgraphRelocationManager manager)
          Indicates that the specified subgraph has been given a layout by the subgraph's GraphLayoutManager.
 void finishedRelocations(SubgraphRelocationManager manager)
          Indicates that all subgraphs have been relocated, which determines the final layout.
 void relocated(Graph subgraph, SubgraphRelocationManager manager)
          Indicates that the specified subgraph has been relocated.
 void relocating(Graph subgraph, SubgraphRelocationManager manager)
          Indicates that the specified subgraph is about to be relocated.
 void startingIndividualLayouts(int nrSubgraphs, SubgraphRelocationManager manager)
          Indicates that all subgraphs are about to be given an individual layout by the GraphLayoutManager stored in this SubgraphRelocationManager.
 void startingLayout(Graph subgraph, SubgraphRelocationManager manager)
          Indicates that the specified subgraph is about to be given an individual layout by the subgraph's GraphLayoutManager.
 void startingRelocations(SubgraphRelocationManager manager)
          Indicates that the individual subgraphs are about to be relocated to determine the final overall layout.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubgraphRelocationListenerAdapter

public SubgraphRelocationListenerAdapter()
Method Detail

startingIndividualLayouts

public void startingIndividualLayouts(int nrSubgraphs,
                                      SubgraphRelocationManager manager)
Description copied from interface: SubgraphRelocationListener
Indicates that all subgraphs are about to be given an individual layout by the GraphLayoutManager stored in this SubgraphRelocationManager. The number of subgraphs detected is specified.

Specified by:
startingIndividualLayouts in interface SubgraphRelocationListener

startingLayout

public void startingLayout(Graph subgraph,
                           SubgraphRelocationManager manager)
Description copied from interface: SubgraphRelocationListener
Indicates that the specified subgraph is about to be given an individual layout by the subgraph's GraphLayoutManager.

Specified by:
startingLayout in interface SubgraphRelocationListener

finishedLayout

public void finishedLayout(Graph subgraph,
                           SubgraphRelocationManager manager)
Description copied from interface: SubgraphRelocationListener
Indicates that the specified subgraph has been given a layout by the subgraph's GraphLayoutManager.

Specified by:
finishedLayout in interface SubgraphRelocationListener

finishedIndividualLayouts

public void finishedIndividualLayouts(SubgraphRelocationManager manager)
Description copied from interface: SubgraphRelocationListener
Indicates that all subgraphs have been given an indivual layout by the subgraph's GraphLayoutManager.

Specified by:
finishedIndividualLayouts in interface SubgraphRelocationListener

startingRelocations

public void startingRelocations(SubgraphRelocationManager manager)
Description copied from interface: SubgraphRelocationListener
Indicates that the individual subgraphs are about to be relocated to determine the final overall layout.

Specified by:
startingRelocations in interface SubgraphRelocationListener

relocating

public void relocating(Graph subgraph,
                       SubgraphRelocationManager manager)
Description copied from interface: SubgraphRelocationListener
Indicates that the specified subgraph is about to be relocated.

Specified by:
relocating in interface SubgraphRelocationListener

relocated

public void relocated(Graph subgraph,
                      SubgraphRelocationManager manager)
Description copied from interface: SubgraphRelocationListener
Indicates that the specified subgraph has been relocated.

Specified by:
relocated in interface SubgraphRelocationListener

finishedRelocations

public void finishedRelocations(SubgraphRelocationManager manager)
Description copied from interface: SubgraphRelocationListener
Indicates that all subgraphs have been relocated, which determines the final layout.

Specified by:
finishedRelocations in interface SubgraphRelocationListener


Copyright © 1997-2008 Aduna. All Rights Reserved.