cytoscape.visual.strokes
Enum PipeStroke.Type
java.lang.Object
java.lang.Enum<PipeStroke.Type>
cytoscape.visual.strokes.PipeStroke.Type
- All Implemented Interfaces:
- Serializable, Comparable<PipeStroke.Type>
- Enclosing class:
- PipeStroke
public static enum PipeStroke.Type
- extends Enum<PipeStroke.Type>
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. |
VERTICAL
public static final PipeStroke.Type VERTICAL
FORWARD
public static final PipeStroke.Type FORWARD
BACKWARD
public static final PipeStroke.Type BACKWARD
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)
Copyright 2010 Cytoscape Consortium. All rights reserved.