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

cytoscape.visual
Enum ArrowShape

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

public enum ArrowShape
extends Enum<ArrowShape>

Defines arrow shapes.
This replaces constants defined in Arrow.java.

Since:
Cytoscape 2.5
Author:
kono

Enum Constant Summary
ARROW
           
CIRCLE
           
DELTA
           
DIAMOND
           
NONE
           
T
           
 
Method Summary
static ArrowShape getArrowShape(int ginyType)
          DOCUMENT ME!
 int getGinyArrow()
          Returns arrow type in GINY.
 String getGinyName()
          Returns name of arrow shape.
static Map<Object,Icon> getIconSet()
          DOCUMENT ME!
 String getName()
          DOCUMENT ME!
 String[] getPossibleGinyNames()
           
 int[] getPossibleGinyTypes()
           
 Shape getShape()
          DOCUMENT ME!
static ArrowShape parseArrowText(String text)
           
static ArrowShape valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ArrowShape[] 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

NONE

public static final ArrowShape NONE

DIAMOND

public static final ArrowShape DIAMOND

DELTA

public static final ArrowShape DELTA

ARROW

public static final ArrowShape ARROW

T

public static final ArrowShape T

CIRCLE

public static final ArrowShape CIRCLE
Method Detail

values

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

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

valueOf

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

getGinyArrow

public int getGinyArrow()
Returns arrow type in GINY.

Returns:

getGinyName

public String getGinyName()
Returns name of arrow shape.

Returns:

getName

public String getName()
DOCUMENT ME!

Returns:
DOCUMENT ME!

parseArrowText

public static ArrowShape parseArrowText(String text)
Parameters:
text -
Returns:

getPossibleGinyNames

public String[] getPossibleGinyNames()

getPossibleGinyTypes

public int[] getPossibleGinyTypes()

getArrowShape

public static ArrowShape getArrowShape(int ginyType)
DOCUMENT ME!

Parameters:
ginyType - DOCUMENT ME!
Returns:
DOCUMENT ME!

getShape

public Shape getShape()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getIconSet

public static Map<Object,Icon> getIconSet()
DOCUMENT ME!

Parameters:
size - DOCUMENT ME!
Returns:
DOCUMENT ME!

www.cytoscape.org