|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.actions.LoadNetworkTask
public class LoadNetworkTask
Task to load a new network.
Method Summary | |
---|---|
String |
getTitle()
Gets the Task Title. |
void |
halt()
Halts the Task: Not Currently Implemented. |
static void |
loadFile(File file,
boolean skipMessage)
Load a network from a file. |
static void |
loadFile(File file,
boolean skipMessage,
CyLayoutAlgorithm layoutAlgorithm)
Load a network from a file. |
static void |
loadURL(URL u,
boolean skipMessage)
Load a network from a url. |
static void |
loadURL(URL u,
boolean skipMessage,
CyLayoutAlgorithm layoutAlgorithm)
Load a network from a url. |
void |
run()
Executes 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 |
Method Detail |
---|
public static void loadURL(URL u, boolean skipMessage)
u
- the URL to load the network fromskipMessage
- if true, dispose of the task monitor dialog immediatelypublic static void loadFile(File file, boolean skipMessage)
file
- the file to load the network fromskipMessage
- if true, dispose of the task monitor dialog immediatelypublic static void loadURL(URL u, boolean skipMessage, CyLayoutAlgorithm layoutAlgorithm)
u
- the URL to load the network fromskipMessage
- if true, dispose of the task monitor dialog immediatelylayoutAlgorithm
- if this is non-null, use this algorithm to lay out the network
after it has been read in (provided that a view was created).public static void loadFile(File file, boolean skipMessage, CyLayoutAlgorithm layoutAlgorithm)
file
- the file to load the network fromskipMessage
- if true, dispose of the task monitor dialog immediatelylayoutAlgorithm
- if this is non-null, use this algorithm to lay out the network
after it has been read in (provided that a view was created).public void run()
run
in interface Task
run
in interface Runnable
public void halt()
halt
in interface Haltable
halt
in interface Task
public void setTaskMonitor(TaskMonitor taskMonitor) throws IllegalThreadStateException
setTaskMonitor
in interface Task
taskMonitor
- TaskMonitor Object.
IllegalThreadStateException
- Indicates that the TaskMonitor has
already been set.public String getTitle()
getTitle
in interface Task
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |