|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<NodeShape> cytoscape.visual.NodeShape
public enum NodeShape
Enum Constant Summary | |
---|---|
DIAMOND
|
|
ELLIPSE
|
|
HEXAGON
|
|
OCTAGON
|
|
PARALLELOGRAM
|
|
RECT
|
|
RECT_3D
|
|
ROUND_RECT
|
|
TRAPEZOID
|
|
TRAPEZOID_2
|
|
TRIANGLE
|
|
VEE
|
Method Summary | |
---|---|
int |
getGinyShape()
Get GINY shape as integer. |
static Map<Object,Icon> |
getIconSet()
DOCUMENT ME! |
static NodeShape |
getNodeShape(int ginyShape)
Convert from Giny shape to Cytoscape NodeShape enum. |
static String |
getNodeShapeText(NodeShape shape)
DOCUMENT ME! |
Shape |
getShape()
Returns a Shape object for the NodeShape in question. |
String |
getShapeName()
Get name of the shape. |
boolean |
isSupported()
If the shape is supported by rendering engine, return true. Otherwise, return false. |
static boolean |
isValidShape(NodeShape type)
DOCUMENT ME! |
static NodeShape |
parseNodeShapeText(String text)
DOCUMENT ME! |
static NodeShape |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NodeShape[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
static String[] |
valuesAsString()
DOCUMENT ME! |
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 |
---|
public static final NodeShape RECT
public static final NodeShape ROUND_RECT
public static final NodeShape RECT_3D
public static final NodeShape TRAPEZOID
public static final NodeShape TRAPEZOID_2
public static final NodeShape TRIANGLE
public static final NodeShape PARALLELOGRAM
public static final NodeShape DIAMOND
public static final NodeShape ELLIPSE
public static final NodeShape HEXAGON
public static final NodeShape OCTAGON
public static final NodeShape VEE
Method Detail |
---|
public static NodeShape[] values()
for (NodeShape c : NodeShape.values()) System.out.println(c);
public static NodeShape valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic boolean isSupported()
public static NodeShape parseNodeShapeText(String text)
text
- DOCUMENT ME!
public static String[] valuesAsString()
public String getShapeName()
public static boolean isValidShape(NodeShape type)
type
- DOCUMENT ME!
public static String getNodeShapeText(NodeShape shape)
shape
- DOCUMENT ME!
public int getGinyShape()
public static NodeShape getNodeShape(int ginyShape)
ginyShape
-
public Shape getShape()
public static Map<Object,Icon> getIconSet()
|
Cytoscape 2.8.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |