|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cytoscape.cyni.AbstractCyniAlgorithmContext
public class AbstractCyniAlgorithmContext
Field Summary | |
---|---|
protected boolean |
selectedOnly
Indicates that only selected rows should be used. |
Constructor Summary | |
---|---|
AbstractCyniAlgorithmContext(boolean supportsSelectedOnly)
The constructor |
Method Summary | |
---|---|
List<String> |
getAllAttributesNumbers(org.cytoscape.model.CyTable table)
Returns a list of the names of the columns that contains numbers(Float,Integer,Double) |
List<String> |
getAllAttributesStrings(org.cytoscape.model.CyTable table)
Returns a list of the names of the columns that contains strings |
void |
getAttributesList(List<String> attributeList,
org.cytoscape.model.CyTable table,
String prefix,
Object type)
Fills a list with names of columns that has the same type that the one requested |
void |
setSelectedOnly(boolean selectedOnly)
Set the flag that indicates that this algorithm should only operate on the currently selected rows. |
boolean |
useSelectedOnly()
Returns whether the algorithm allows working with only selected rows |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean selectedOnly
Constructor Detail |
---|
public AbstractCyniAlgorithmContext(boolean supportsSelectedOnly)
Method Detail |
---|
public void setSelectedOnly(boolean selectedOnly)
selectedOnly
- set to "true" if the algorithm should only apply to selected
rows onlypublic boolean useSelectedOnly()
public void getAttributesList(List<String> attributeList, org.cytoscape.model.CyTable table, String prefix, Object type)
attributeList
- The list of names of columns.table
- The CyTable to get the names of attributes.prefix
- The prefix that could be added to the name of columnstype
- The type of the columnspublic List<String> getAllAttributesStrings(org.cytoscape.model.CyTable table)
table
- The CyTable to get the names of attributes.
public List<String> getAllAttributesNumbers(org.cytoscape.model.CyTable table)
table
- The CyTable to get the names of attributes.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |