|
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.AbstractLayoutAlgorithm<T>
public abstract class AbstractLayoutAlgorithm<T extends CyLayoutContext>
The AbstractLayoutAlgorithm provides a basic implementation of a layout TaskFactory.
| Constructor Summary | |
|---|---|
AbstractLayoutAlgorithm(String computerName,
String humanName,
boolean supportsSelectedOnly)
The Constructor. |
|
| Method Summary | |
|---|---|
List<String> |
getInitialAttributeList()
This returns the list of "attributes" that are provided by an algorithm for internal purposes. |
String |
getName()
A computer readable name used to construct property strings. |
boolean |
isReady(T tunableContext)
|
Set<Class<?>> |
supportsEdgeAttributes()
Returns the types of edge attributes supported by this algorithm. |
Set<Class<?>> |
supportsNodeAttributes()
Returns the types of node attributes supported by this algorithm. |
boolean |
supportsSelectedOnly()
Indicates whether this algorithm supports applying the layout only to selected nodes. |
String |
toString()
Used to get the user-visible name of the layout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.cytoscape.view.layout.CyLayoutAlgorithm |
|---|
createLayoutContext, createTaskIterator |
| Constructor Detail |
|---|
public AbstractLayoutAlgorithm(String computerName,
String humanName,
boolean supportsSelectedOnly)
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.| Method Detail |
|---|
public String getName()
getName in interface CyLayoutAlgorithm<T extends CyLayoutContext>public String toString()
toString in class Objectpublic final boolean supportsSelectedOnly()
supportsSelectedOnly in interface CyLayoutAlgorithm<T extends CyLayoutContext>public Set<Class<?>> supportsNodeAttributes()
supportsNodeAttributes in interface CyLayoutAlgorithm<T extends CyLayoutContext>public Set<Class<?>> supportsEdgeAttributes()
supportsEdgeAttributes in interface CyLayoutAlgorithm<T extends CyLayoutContext>public List<String> getInitialAttributeList()
getInitialAttributeList in interface CyLayoutAlgorithm<T extends CyLayoutContext>public boolean isReady(T tunableContext)
isReady in interface CyLayoutAlgorithm<T extends CyLayoutContext>
|
Cytoscape 3.0.0-alpha8-SNAPSHOT API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||