Search this API

y.layout.organic
Interface InteractiveOrganicLayouter.SingleThreadContext

Enclosing class:
InteractiveOrganicLayouter

public static interface InteractiveOrganicLayouter.SingleThreadContext

Context object that provides controls of layout calculation in case the layouter runs single-threaded.


Method Summary
 void doLayout(long duration)
          Do layout calculation for the given amount of time where it has stopped before.
 void stopLayout()
          Stops layout calculation.
 

Method Detail

doLayout

void doLayout(long duration)
Do layout calculation for the given amount of time where it has stopped before.

Parameters:
duration - the duration of continuing layout calculation in milliseconds.

stopLayout

void stopLayout()
Stops layout calculation. After this call, this context cannot continue layout calculation again.


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