|
Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
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
This is a replacement for ShapeNodeRealizer.java
Enum Constant Summary | |
---|---|
DIAMOND
|
|
ELLIPSE
|
|
HEXAGON
|
|
OCTAGON
|
|
PARALLELOGRAM
|
|
RECT
|
|
RECT_3D
|
|
ROUND_RECT
|
|
TRAPEZOID
|
|
TRAPEZOID_2
|
|
TRIANGLE
|
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. |
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're declared. |
static String[] |
valuesAsString()
DOCUMENT ME! |
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 |
---|
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
Method Detail |
---|
public static final 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 namepublic 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()
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |