Cytoscape 2.8.0 API

cytoscape.visual.mappings.discrete
Class DiscreteMappingReader

java.lang.Object
  extended by cytoscape.visual.mappings.discrete.DiscreteMappingReader

public class DiscreteMappingReader
extends Object

Reads in DiscreteMapping Properties. Unit Test for this class exists in: cytoscape.visual.mappings.discrete.unitTests.TestDiscreteMappingReader.


Constructor Summary
DiscreteMappingReader(Properties props, String baseKey, ValueParser parser)
          Constructor.
 
Method Summary
 String getControllingAttributeName()
          Gets Controlling Attribute Name.
 SortedMap getMap()
          Gets the Discrete Map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscreteMappingReader

public DiscreteMappingReader(Properties props,
                             String baseKey,
                             ValueParser parser)
Constructor.

Parameters:
props - Properties Object.
baseKey - Base Property Key.
parser - ValueParser Object.
Method Detail

getControllingAttributeName

public String getControllingAttributeName()
Gets Controlling Attribute Name.

Returns:
Controlling Attribute Name.

getMap

public SortedMap getMap()
Gets the Discrete Map.

Returns:
TreeMap Object.

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.