|
Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.layout.CyLayouts
public class CyLayouts
CyLayouts is a singleton class that is used to register all available layout algorithms.
Method Summary | |
---|---|
static void |
addLayout(CyLayoutAlgorithm layout,
String menu)
Add a layout to the layout manager's list. |
static Collection<CyLayoutAlgorithm> |
getAllLayouts()
Get all of the available layouts. |
static CyLayoutAlgorithm |
getDefaultLayout()
Get the default layout. |
static CyLayoutAlgorithm |
getLayout(String name)
Get the layout named "name". |
static String |
getMenuName(CyLayoutAlgorithm layout)
|
static void |
removeLayout(CyLayoutAlgorithm layout)
Remove a layout from the layout maanger's list. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void addLayout(CyLayoutAlgorithm layout, String menu)
layout
- The layout to be addedmenu
- The menu that this should appear underpublic static void removeLayout(CyLayoutAlgorithm layout)
layout
- The layout to removepublic static CyLayoutAlgorithm getLayout(String name)
name
- String representing the name of the layout
public static Collection<CyLayoutAlgorithm> getAllLayouts()
public static CyLayoutAlgorithm getDefaultLayout()
public static String getMenuName(CyLayoutAlgorithm layout)
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |