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

cytoscape.visual.ui
Enum EditorDisplayer

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

public enum EditorDisplayer
extends Enum<EditorDisplayer>

Managing value editors in for each data types.
This enum contains both continuous and discrete editors.

Since:
Cytoscape 2.5
Version:
0.5
Author:
kono

Nested Class Summary
static class EditorDisplayer.EditorType
          Defines editor type.
 
Enum Constant Summary
CONTINUOUS_COLOR
           
CONTINUOUS_CONTINUOUS
           
CONTINUOUS_DISCRETE
           
DISCRETE_ARROW_SHAPE
           
DISCRETE_COLOR
           
DISCRETE_FONT
           
DISCRETE_LABEL_POSITION
           
DISCRETE_LINE_STYLE
           
DISCRETE_NUMBER
           
DISCRETE_SHAPE
           
DISCRETE_STRING
           
 
Method Summary
 Class getActionClass()
          DOCUMENT ME!
 String getCommand()
          DOCUMENT ME!
 Class getCompatibleClass()
          DOCUMENT ME!
static EditorDisplayer getEditor(VisualPropertyType type, EditorDisplayer.EditorType editor)
          Returns proper editor displayer object based on visual property type.
 Object[] getParameters()
          DOCUMENT ME!
 Class[] getParamTypes()
          DOCUMENT ME!
 void setParameters(Object[] param)
           
static EditorDisplayer valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EditorDisplayer[] 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_COLOR

public static final EditorDisplayer DISCRETE_COLOR

DISCRETE_FONT

public static final EditorDisplayer DISCRETE_FONT

DISCRETE_NUMBER

public static final EditorDisplayer DISCRETE_NUMBER

DISCRETE_STRING

public static final EditorDisplayer DISCRETE_STRING

DISCRETE_SHAPE

public static final EditorDisplayer DISCRETE_SHAPE

DISCRETE_ARROW_SHAPE

public static final EditorDisplayer DISCRETE_ARROW_SHAPE

DISCRETE_LINE_STYLE

public static final EditorDisplayer DISCRETE_LINE_STYLE

DISCRETE_LABEL_POSITION

public static final EditorDisplayer DISCRETE_LABEL_POSITION

CONTINUOUS_COLOR

public static final EditorDisplayer CONTINUOUS_COLOR

CONTINUOUS_CONTINUOUS

public static final EditorDisplayer CONTINUOUS_CONTINUOUS

CONTINUOUS_DISCRETE

public static final EditorDisplayer CONTINUOUS_DISCRETE
Method Detail

values

public static final EditorDisplayer[] 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(EditorDisplayer c : EditorDisplayer.values())
        System.out.println(c);

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

valueOf

public static EditorDisplayer 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

getActionClass

public Class getActionClass()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getCommand

public String getCommand()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getParamTypes

public Class[] getParamTypes()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getParameters

public Object[] getParameters()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getCompatibleClass

public Class getCompatibleClass()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setParameters

public void setParameters(Object[] param)

getEditor

public static EditorDisplayer getEditor(VisualPropertyType type,
                                        EditorDisplayer.EditorType editor)
Returns proper editor displayer object based on visual property type.

Parameters:
type - DOCUMENT ME!
Returns:
DOCUMENT ME!

www.cytoscape.org