Cytoscape 2.8.0 API

cytoscape.visual.customgraphic
Class PersistImageTask

java.lang.Object
  extended by cytoscape.visual.customgraphic.PersistImageTask
All Implemented Interfaces:
Haltable, Task, Runnable

public class PersistImageTask
extends Object
implements Task


Constructor Summary
protected PersistImageTask(File location)
          Constructor.
 
Method Summary
 String getTitle()
          Gets the Task Title.
 void halt()
          Halts the Task: Not Currently Implemented.
 void run()
          Execute task.
 void setTaskMonitor(TaskMonitor taskMonitor)
          Sets the Task Monitor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistImageTask

protected PersistImageTask(File location)
Constructor.

Parameters:
fileName - Absolute path to the Session file.
Method Detail

run

public void run()
Execute task.

Specified by:
run in interface Task
Specified by:
run in interface Runnable

halt

public void halt()
Halts the Task: Not Currently Implemented.

Specified by:
halt in interface Haltable
Specified by:
halt in interface Task

setTaskMonitor

public void setTaskMonitor(TaskMonitor taskMonitor)
                    throws IllegalThreadStateException
Sets the Task Monitor.

Specified by:
setTaskMonitor in interface Task
Parameters:
taskMonitor - TaskMonitor Object.
Throws:
IllegalThreadStateException - Indicates that the TaskMonitor has already been set.

getTitle

public String getTitle()
Gets the Task Title.

Specified by:
getTitle in interface Task
Returns:
Task Title.

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.