Gephi Toolkit Javadoc

org.gephi.preview
Class AbstractRenderTarget

java.lang.Object
  extended by org.gephi.preview.AbstractRenderTarget
All Implemented Interfaces:
LongTask
Direct Known Subclasses:
PDFRenderTargetBuilder.PDFRenderTargetImpl, ProcessingRenderTargetBuilder.ProcessingTargetImpl, SVGRenderTargetBuilder.SVGRenderTargetImpl

public class AbstractRenderTarget
extends java.lang.Object
implements LongTask

Author:
Mathieu Bastian

Field Summary
protected  boolean cancel
           
protected  ProgressTicket progressTicket
           
 
Constructor Summary
AbstractRenderTarget()
           
 
Method Summary
 boolean cancel()
          Cancel the task.
 ProgressTicket getProgressTicket()
           
 boolean isCancelled()
           
 void setProgressTicket(ProgressTicket progressTicket)
          Set the progress ticket for the long task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cancel

protected boolean cancel

progressTicket

protected ProgressTicket progressTicket
Constructor Detail

AbstractRenderTarget

public AbstractRenderTarget()
Method Detail

isCancelled

public boolean isCancelled()

cancel

public boolean cancel()
Description copied from interface: LongTask
Cancel the task. Returns true if the task has been sucessfully cancelled, false otherwise.

Specified by:
cancel in interface LongTask
Returns:
true if the task has been sucessfully cancelled, false otherwise

setProgressTicket

public void setProgressTicket(ProgressTicket progressTicket)
Description copied from interface: LongTask
Set the progress ticket for the long task. Can't be null.

Specified by:
setProgressTicket in interface LongTask
Parameters:
progressTicket - the progress ticket for this task

getProgressTicket

public ProgressTicket getProgressTicket()

Gephi Toolkit Javadoc