|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Graph2DLayoutExecutor.LayoutThreadHandle
The interface of the handle that is returned by
Graph2DLayoutExecutor.doLayout(Graph2DView, y.layout.Layouter, Runnable, y.view.Graph2DLayoutExecutor.ExceptionListener)
that can be used to query the state and cancel an asynchronous
layout calculation.
Graph2DLayoutExecutor
Method Summary | |
---|---|
void |
cancel()
Cancels the ongoing layout calculation. |
Throwable |
getException()
Gets the exception (if any) that happened during the calculation of the layout. |
Thread |
getThread()
Yields the thread that is used for the calculation of the layout or null if the thread has not yet
been started. |
boolean |
isRunning()
Determines whether the layout is still running. |
Method Detail |
---|
Thread getThread()
null
if the thread has not yet
been started.
null
void cancel()
isRunning()
boolean isRunning()
Throwable getException()
null
if no exception has been recorded.
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |