public static enum ShapeAnnotation.ShapeType extends Enum<ShapeAnnotation.ShapeType>
Enum Constant and Description |
---|
CUSTOM |
ELLIPSE |
HEXAGON |
OCTAGON |
PARALLELOGRAM |
PENTAGON |
RECTANGLE |
ROUNDEDRECTANGLE |
STAR5 |
STAR6 |
TRIANGLE |
Modifier and Type | Method and Description |
---|---|
String |
shapeName() |
String |
toString() |
static ShapeAnnotation.ShapeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShapeAnnotation.ShapeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShapeAnnotation.ShapeType RECTANGLE
public static final ShapeAnnotation.ShapeType ROUNDEDRECTANGLE
public static final ShapeAnnotation.ShapeType ELLIPSE
public static final ShapeAnnotation.ShapeType TRIANGLE
public static final ShapeAnnotation.ShapeType PENTAGON
public static final ShapeAnnotation.ShapeType STAR5
public static final ShapeAnnotation.ShapeType HEXAGON
public static final ShapeAnnotation.ShapeType STAR6
public static final ShapeAnnotation.ShapeType OCTAGON
public static final ShapeAnnotation.ShapeType PARALLELOGRAM
public static final ShapeAnnotation.ShapeType CUSTOM
public static ShapeAnnotation.ShapeType[] values()
for (ShapeAnnotation.ShapeType c : ShapeAnnotation.ShapeType.values()) System.out.println(c);
public static ShapeAnnotation.ShapeType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String shapeName()
public String toString()
toString
in class Enum<ShapeAnnotation.ShapeType>
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.