|
Cytoscape 3.0.0-beta1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cytoscape.model.CyTableUtil
public class CyTableUtil
A collection of state-less, static utility methods provided to simplify querying of table objects.
| Method Summary | |
|---|---|
static Set<String> |
getColumnNames(CyTable table)
Returns all the column names of a given table. |
static List<CyEdge> |
getEdgesInState(CyNetwork net,
String columnName,
boolean state)
A utility method that returns a list of edges that have a boolean attribute in the CyNetwork.DEFAULT_ATTRS namespace specified by columnName and are in
the specified state. |
static List<CyNode> |
getNodesInState(CyNetwork net,
String columnName,
boolean state)
A utility method that returns a list of nodes that have a boolean attribute in the CyNetwork.DEFAULT_ATTRS namespace specified by columnName and are in
the specified state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static List<CyNode> getNodesInState(CyNetwork net,
String columnName,
boolean state)
CyNetwork.DEFAULT_ATTRS namespace specified by columnName and are in
the specified state. If the attribute doesn't exist or is not of type
Boolean an IllegalArgumentException will be thrown.
net - The network to be queried.columnName - The name of the column to be tested.state - The state being queried.
CyNetwork.DEFAULT_ATTRS namespace specified by columnName and are in
the specified state.
public static List<CyEdge> getEdgesInState(CyNetwork net,
String columnName,
boolean state)
CyNetwork.DEFAULT_ATTRS namespace specified by columnName and are in
the specified state. If the attribute doesn't exist or is not of type
Boolean an IllegalArgumentException will be thrown.
net - The network to be queried.columnName - The name of the column to be tested.state - The state being queried.
CyNetwork.DEFAULT_ATTRS namespace specified by columnName and are in
the specified state.public static Set<String> getColumnNames(CyTable table)
table - the table whose column names we want
|
Cytoscape 3.0.0-beta1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||