cytoscape.editor.editors
Class MapBioMoleculeEditorToVisualStyle

java.lang.Object
  extended bycytoscape.editor.editors.MapBioMoleculeEditorToVisualStyle

public class MapBioMoleculeEditorToVisualStyle
extends java.lang.Object

creates visual style that is to be used by the SimpleBioMoleculeEditor

Author:
ajk

Field Summary
static java.lang.String ACTIVATION
           
static java.lang.String BIOMOLECULE_VISUAL_STYLE
           
static java.lang.String CATALYSIS
           
static java.lang.String EDGE_TYPE
          Cytoscape Attribute: Edge Type.
static java.lang.String INHIBITION
           
static java.lang.String NODE_TYPE
          Cytoscape Attribute: Node Type.
 
Constructor Summary
MapBioMoleculeEditorToVisualStyle()
           
 
Method Summary
 cytoscape.visual.VisualStyle createVizMapper()
          Creates a New BioMolecule VizMapper.
 void defineVisualStyle(cytoscape.visual.VisualStyle bpVisualStyle, cytoscape.visual.VisualMappingManager manager, cytoscape.visual.CalculatorCatalog catalog)
          Create the mappings for Node shape, color, and Edge target arrow, line type for this visual style
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BIOMOLECULE_VISUAL_STYLE

public static final java.lang.String BIOMOLECULE_VISUAL_STYLE
See Also:
Constant Field Values

NODE_TYPE

public static final java.lang.String NODE_TYPE
Cytoscape Attribute: Node Type.

See Also:
Constant Field Values

EDGE_TYPE

public static final java.lang.String EDGE_TYPE
Cytoscape Attribute: Edge Type.

See Also:
Constant Field Values

ACTIVATION

public static final java.lang.String ACTIVATION
See Also:
Constant Field Values

INHIBITION

public static final java.lang.String INHIBITION
See Also:
Constant Field Values

CATALYSIS

public static final java.lang.String CATALYSIS
See Also:
Constant Field Values
Constructor Detail

MapBioMoleculeEditorToVisualStyle

public MapBioMoleculeEditorToVisualStyle()
Method Detail

createVizMapper

public cytoscape.visual.VisualStyle createVizMapper()
Creates a New BioMolecule VizMapper. If an existing BioMolecule Viz Mapper already exists, we use it. Otherwise, we create a new one.


defineVisualStyle

public void defineVisualStyle(cytoscape.visual.VisualStyle bpVisualStyle,
                              cytoscape.visual.VisualMappingManager manager,
                              cytoscape.visual.CalculatorCatalog catalog)
Create the mappings for Node shape, color, and Edge target arrow, line type for this visual style

Parameters:
bpVisualStyle -
manager -
catalog -