Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.visual.mappings
Enum MappingType

java.lang.Object
  extended by java.lang.Enum<MappingType>
      extended by cytoscape.visual.mappings.MappingType
All Implemented Interfaces:
Serializable, Comparable<MappingType>

public enum MappingType
extends Enum<MappingType>

Defines visual mapping types. This replaces all hard-coded strings related to mappings.

Since:
Cytoscape 2.5
Version:
0.5
Author:
Keiichiro Ono

Enum Constant Summary
CONTINUOUS
           
DISCRETE
           
PASSTHROUGH
           
 
Method Summary
 String getBaseKey()
          DOCUMENT ME!
static MappingType getMappingType(String baseKey)
          Deprecated. Will be removed 5/2008
 String getName()
          DOCUMENT ME!
 String getPropertyKey()
          DOCUMENT ME!
static MappingType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MappingType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DISCRETE

public static final MappingType DISCRETE

CONTINUOUS

public static final MappingType CONTINUOUS

PASSTHROUGH

public static final MappingType PASSTHROUGH
Method Detail

values

public static final MappingType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(MappingType c : MappingType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static MappingType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name

getName

public String getName()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getBaseKey

public String getBaseKey()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getPropertyKey

public String getPropertyKey()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMappingType

@Deprecated
public static MappingType getMappingType(String baseKey)
Deprecated. Will be removed 5/2008

DOCUMENT ME!

Parameters:
baseKey - DOCUMENT ME!
Returns:
DOCUMENT ME!

www.cytoscape.org