Cytoscape 2.8.0 API

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_BOOLEAN
           
DISCRETE_COLOR
           
DISCRETE_CUSTOM_GRAPHICS
           
DISCRETE_FONT
           
DISCRETE_LINE_STYLE
           
DISCRETE_NODE_LINE_STYLE
           
DISCRETE_NUMBER
           
DISCRETE_OBJECT_POSITION
           
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 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_COLOR

public static final EditorDisplayer DISCRETE_COLOR

DISCRETE_FONT

public static final EditorDisplayer DISCRETE_FONT

DISCRETE_NUMBER

public static final EditorDisplayer DISCRETE_NUMBER

DISCRETE_BOOLEAN

public static final EditorDisplayer DISCRETE_BOOLEAN

DISCRETE_STRING

public static final EditorDisplayer DISCRETE_STRING

DISCRETE_SHAPE

public static final EditorDisplayer DISCRETE_SHAPE

DISCRETE_CUSTOM_GRAPHICS

public static final EditorDisplayer DISCRETE_CUSTOM_GRAPHICS

DISCRETE_ARROW_SHAPE

public static final EditorDisplayer DISCRETE_ARROW_SHAPE

DISCRETE_LINE_STYLE

public static final EditorDisplayer DISCRETE_LINE_STYLE

DISCRETE_NODE_LINE_STYLE

public static final EditorDisplayer DISCRETE_NODE_LINE_STYLE

DISCRETE_OBJECT_POSITION

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

Returns:
an array containing the constants of this enum type, in the order they are 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
NullPointerException - if the argument is null

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!

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.