|
Cytoscape 3.0.0-alpha8-SNAPSHOT API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cytoscape.view.layout.AbstractLayoutAlgorithmContext
org.cytoscape.view.layout.AbstractEdgeWeightedLayoutAlgorithmContext
public abstract class AbstractEdgeWeightedLayoutAlgorithmContext
The AbstractEdgeWeightedLayoutAlgorithm provides edge weighting Tunables that can be used by an implementing layout algorithm.
| Field Summary | |
|---|---|
ListSingleSelection<String> |
edgeWeightColumn
A tunable for determining the edge attribute that contains the weights. |
double |
maxWeight
A tunable for determining the maximum edge weight to consider. |
double |
minWeight
A tunable for determining the minimum edge weight to consider. |
ListSingleSelection<org.cytoscape.view.layout.WeightTypes> |
weightChoices
A tunable for determining how to interpret weight values. |
| Fields inherited from class org.cytoscape.view.layout.AbstractLayoutAlgorithmContext |
|---|
network, selectedOnly, staticNodes |
| Constructor Summary | |
|---|---|
AbstractEdgeWeightedLayoutAlgorithmContext(boolean supportsSelectedOnly,
Set<Class<?>> supportedNodeAttributes,
Set<Class<?>> supportedEdgeAttributes)
The Constructor. |
|
| Method Summary | |
|---|---|
void |
setNetworkView(CyNetworkView view)
Sets the network view to be laid out. |
| Methods inherited from class org.cytoscape.view.layout.AbstractLayoutAlgorithmContext |
|---|
configureLayoutFromSubmenuSelection, getNetworkView, getStaticNodes, getSubmenuOptions, initStaticNodes, setLayoutAttribute, setSelectedOnly, setSubmenuOptions, useSelectedOnly |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public ListSingleSelection<String> edgeWeightColumn
public ListSingleSelection<org.cytoscape.view.layout.WeightTypes> weightChoices
public double minWeight
public double maxWeight
| Constructor Detail |
|---|
public AbstractEdgeWeightedLayoutAlgorithmContext(boolean supportsSelectedOnly,
Set<Class<?>> supportedNodeAttributes,
Set<Class<?>> supportedEdgeAttributes)
undo - the UndoSupport object used for allowing undo of layouts.computerName - a computer readable name used to construct property strings.humanName - a user visible name of the layout.supportsSelectedOnly - indicates whether only selected nodes should be laid out.supportedNodeAttributes - supportedNodeAttributes - supportedEdgeAttributes - supportedEdgeAttributes - | Method Detail |
|---|
public void setNetworkView(CyNetworkView view)
setNetworkView in interface CyLayoutContextsetNetworkView in class AbstractLayoutAlgorithmContextview - the network view to be laid out.
|
Cytoscape 3.0.0-alpha8-SNAPSHOT API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||