Cytoscape 3.0.1 API

org.cytoscape.view.vizmap.gui.editor
Enum ContinuousEditorType

java.lang.Object
  extended by java.lang.Enum<ContinuousEditorType>
      extended by org.cytoscape.view.vizmap.gui.editor.ContinuousEditorType
All Implemented Interfaces:
Serializable, Comparable<ContinuousEditorType>

public enum ContinuousEditorType
extends Enum<ContinuousEditorType>

An enum describing the possible types of continuous editors.


Cytoscape Backwards Compatibility (Enum): This class is an enum therefore can't be extended by users. This means that we may add methods or enum values for minor version updates. Methods or enum values will only be removed for major version updates.

Enum Constant Summary
COLOR
          Used for mapping continuous attribute values to color visual property types such as Node Color.
CONTINUOUS
          Used for mapping continuous attribute values to continuous visual property types such as Node Size.
DISCRETE
          Used for mapping continuous attribute values to discrete visual property types such as Node Shape.
 
Method Summary
static ContinuousEditorType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ContinuousEditorType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, 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 ContinuousEditorType DISCRETE
Used for mapping continuous attribute values to discrete visual property types such as Node Shape.


CONTINUOUS

public static final ContinuousEditorType CONTINUOUS
Used for mapping continuous attribute values to continuous visual property types such as Node Size.


COLOR

public static final ContinuousEditorType COLOR
Used for mapping continuous attribute values to color visual property types such as Node Color.

Method Detail

values

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

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

valueOf

public static ContinuousEditorType 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
NullPointerException - if the argument is null

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.