Cytoscape 2.8.0 API

cytoscape.layout.algorithms
Class GridNodeLayout

java.lang.Object
  extended by cytoscape.layout.AbstractLayout
      extended by cytoscape.layout.algorithms.GridNodeLayout
All Implemented Interfaces:
CyLayoutAlgorithm

public class GridNodeLayout
extends AbstractLayout

The GridNodeLayout provides a very simple layout, suitable as the default layout for Cytoscape data readers.


Field Summary
 
Fields inherited from class cytoscape.layout.AbstractLayout
canceled, currentSize, edgeAttribute, network, networkView, nodeAttribute, nullTaskMonitor, propertyMap, propertyPrefix, savedPropertyMap, selectedOnly, staticNodes, taskMonitor
 
Constructor Summary
GridNodeLayout()
          Creates a new GridNodeLayout object.
 
Method Summary
 void construct()
          DOCUMENT ME!
 JPanel createSettings()
          Returns a JPanel to be used as part of the Settings dialog for this layout algorithm.
 String getName()
          DOCUMENT ME!
 byte[] supportsEdgeAttributes()
          DOCUMENT ME!
 byte[] supportsNodeAttributes()
          DOCUMENT ME!
 boolean supportsSelectedOnly()
          DOCUMENT ME!
 String toString()
          DOCUMENT ME!
 
Methods inherited from class cytoscape.layout.AbstractLayout
doLayout, doLayout, doLayout, getInitialAttributeList, getSettings, getSettingsPanel, halt, initialize_local, initialize, isLocked, lockNode, lockNodes, resetLabelPositions, revertSettings, setLayoutAttribute, setSelectedOnly, unlockAllNodes, unlockNode, updateSettings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GridNodeLayout

public GridNodeLayout()
Creates a new GridNodeLayout object.

Method Detail

getName

public String getName()
DOCUMENT ME!

Specified by:
getName in interface CyLayoutAlgorithm
Specified by:
getName in class AbstractLayout
Returns:
DOCUMENT ME!

toString

public String toString()
DOCUMENT ME!

Specified by:
toString in class AbstractLayout
Returns:
DOCUMENT ME!

supportsSelectedOnly

public boolean supportsSelectedOnly()
DOCUMENT ME!

Specified by:
supportsSelectedOnly in interface CyLayoutAlgorithm
Overrides:
supportsSelectedOnly in class AbstractLayout
Returns:
DOCUMENT ME!

supportsNodeAttributes

public byte[] supportsNodeAttributes()
DOCUMENT ME!

Specified by:
supportsNodeAttributes in interface CyLayoutAlgorithm
Overrides:
supportsNodeAttributes in class AbstractLayout
Returns:
DOCUMENT ME!

supportsEdgeAttributes

public byte[] supportsEdgeAttributes()
DOCUMENT ME!

Specified by:
supportsEdgeAttributes in interface CyLayoutAlgorithm
Overrides:
supportsEdgeAttributes in class AbstractLayout
Returns:
DOCUMENT ME!

createSettings

public JPanel createSettings()
Returns a JPanel to be used as part of the Settings dialog for this layout algorithm.


construct

public void construct()
DOCUMENT ME!

Specified by:
construct in class AbstractLayout

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.