Cytoscape 2.8.0 API

cytoscape.visual.strokes
Enum PipeStroke.Type

java.lang.Object
  extended by java.lang.Enum<PipeStroke.Type>
      extended by cytoscape.visual.strokes.PipeStroke.Type
All Implemented Interfaces:
Serializable, Comparable<PipeStroke.Type>
Enclosing class:
PipeStroke

public static enum PipeStroke.Type
extends Enum<PipeStroke.Type>


Enum Constant Summary
BACKWARD
           
FORWARD
           
VERTICAL
           
 
Method Summary
 float adjust(float input)
           
static PipeStroke.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PipeStroke.Type[] 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

VERTICAL

public static final PipeStroke.Type VERTICAL

FORWARD

public static final PipeStroke.Type FORWARD

BACKWARD

public static final PipeStroke.Type BACKWARD
Method Detail

values

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

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

valueOf

public static PipeStroke.Type 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

adjust

public float adjust(float input)

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.