public class NetworkBuilder extends Object
Constructor and Description |
---|
NetworkBuilder() |
NetworkBuilder(GuiParameters params) |
Modifier and Type | Method and Description |
---|---|
void |
addNetCreationListener(NetCreationListener l) |
void |
buildDiseaseNet(GuiParameters curParams)
Generic function to creat disease network
|
void |
buildGeneDiseaseNet(GuiParameters curParams)
Get the gene/disease net information from the database and call generic
function to build net
|
void |
buildGeneNet(GuiParameters curParams)
Generic function to create gene network
|
void |
buildNet(ArrayList<String> list1,
ArrayList<String> list2,
String src,
GuiParameters params) |
void |
buildNetWithEdgeAttributes(ArrayList<String> disList,
ArrayList<String> genList,
ArrayList<String> list3,
ArrayList<String> assocTypeList,
ArrayList<String> srcList,
ArrayList<String> sentenceList,
ArrayList<String> pmidsList,
ArrayList<String> scoreList,
GuiParameters params) |
void |
expandGeneDiseaseNet(GuiParameters curParams,
ArrayList<String> ids,
boolean expand,
boolean foreignNet) |
Database |
getDB() |
ArrayList<String> |
getNodeNamesFromNet()
Function to retrieve all node names from currently selected network to be
able to search for them.
|
void |
initAdditionalStyleAttributes(GuiParameters params) |
void |
markNodes(String field,
String keyword) |
void |
removeMoodListener(NetCreationListener l) |
public NetworkBuilder()
public NetworkBuilder(GuiParameters params)
public Database getDB()
public void buildGeneDiseaseNet(GuiParameters curParams) throws SQLException, ClassNotFoundException
curParams
- SQLException
ClassNotFoundException
public void expandGeneDiseaseNet(GuiParameters curParams, ArrayList<String> ids, boolean expand, boolean foreignNet) throws SQLException, ClassNotFoundException
ids
- expand
- foreignNet
- ClassNotFoundException
SQLException
public void buildDiseaseNet(GuiParameters curParams) throws SQLException, ClassNotFoundException
curParams
- SQLException
ClassNotFoundException
public void buildGeneNet(GuiParameters curParams) throws SQLException, ClassNotFoundException
curParams
- SQLException
ClassNotFoundException
public ArrayList<String> getNodeNamesFromNet()
public void buildNet(ArrayList<String> list1, ArrayList<String> list2, String src, GuiParameters params) throws SQLException, ClassNotFoundException
SQLException
ClassNotFoundException
public void buildNetWithEdgeAttributes(ArrayList<String> disList, ArrayList<String> genList, ArrayList<String> list3, ArrayList<String> assocTypeList, ArrayList<String> srcList, ArrayList<String> sentenceList, ArrayList<String> pmidsList, ArrayList<String> scoreList, GuiParameters params) throws SQLException, ClassNotFoundException
SQLException
ClassNotFoundException
public void initAdditionalStyleAttributes(GuiParameters params)
public void addNetCreationListener(NetCreationListener l)
public void removeMoodListener(NetCreationListener l)
Copyright © 2017. All rights reserved.