|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cytoscape.cyni.AbstractCyniMetric
public abstract class AbstractCyniMetric
The AbstractCyniMetrics provides a basic implementation of a cyni metric TaskFactory.
Constructor Summary | |
---|---|
AbstractCyniMetric(String computerName,
String humanName)
The Constructor. |
Method Summary | |
---|---|
protected void |
addType(String type)
It adds a type to the list of supported types for that metric |
String |
getName()
A computer readable name used to to differentiate the metrics. |
List<String> |
getTypesList()
The list of types of this metric |
void |
resetParameters()
It resets the metric and leaves the default metric's parameters |
String |
toString()
Used to get the user-visible name of the cyni Metric. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.cytoscape.cyni.CyCyniMetric |
---|
getMetric |
Constructor Detail |
---|
public AbstractCyniMetric(String computerName, String humanName)
computerName
- a computer readable name used to differentiate the metrics.humanName
- a user visible name of the metric.types
- list of types that this metric supports.Method Detail |
---|
public String getName()
getName
in interface CyCyniMetric
public String toString()
toString
in class Object
protected void addType(String type)
public List<String> getTypesList()
getTypesList
in interface CyCyniMetric
public void resetParameters()
resetParameters
in interface CyCyniMetric
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |