info.aduna.linkmap.layout
Interface SubgraphRelocationListener

All Known Implementing Classes:
SubgraphRelocationListenerAdapter

public interface SubgraphRelocationListener

A SubgraphRelocationListener is notified by a SubgraphRelocationManager about what it is doing.

Normally, the events come in the following order:


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.
 

Method Detail

startingIndividualLayouts

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. The number of subgraphs detected is specified.


startingLayout

void startingLayout(Graph subgraph,
                    SubgraphRelocationManager manager)
Indicates that the specified subgraph is about to be given an individual layout by the subgraph's GraphLayoutManager.


finishedLayout

void finishedLayout(Graph subgraph,
                    SubgraphRelocationManager manager)
Indicates that the specified subgraph has been given a layout by the subgraph's GraphLayoutManager.


finishedIndividualLayouts

void finishedIndividualLayouts(SubgraphRelocationManager manager)
Indicates that all subgraphs have been given an indivual layout by the subgraph's GraphLayoutManager.


startingRelocations

void startingRelocations(SubgraphRelocationManager manager)
Indicates that the individual subgraphs are about to be relocated to determine the final overall layout.


relocating

void relocating(Graph subgraph,
                SubgraphRelocationManager manager)
Indicates that the specified subgraph is about to be relocated.


relocated

void relocated(Graph subgraph,
               SubgraphRelocationManager manager)
Indicates that the specified subgraph has been relocated.


finishedRelocations

void finishedRelocations(SubgraphRelocationManager manager)
Indicates that all subgraphs have been relocated, which determines the final layout.



Copyright © 1997-2008 Aduna. All Rights Reserved.