Cytoscape 2.4.1 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.visual
Class ShapeNodeRealizer

java.lang.Object
  extended by cytoscape.visual.ShapeNodeRealizer

public class ShapeNodeRealizer
extends Object

This class is a replacement for the yFiles ShapeNodeRealizer class. It defines byte constants specifying shape types.


Field Summary
static byte DIAMOND
           
static byte ELLIPSE
           
static byte HEXAGON
           
static byte OCTAGON
           
static byte PARALLELOGRAM
           
static byte RECT
           
static byte RECT_3D
           
static byte ROUND_RECT
           
static byte TRAPEZOID
           
static byte TRAPEZOID_2
           
static byte TRIANGLE
           
 
Constructor Summary
ShapeNodeRealizer()
           
 
Method Summary
static int getGinyShape(byte byteShape)
           
static String getNodeShapeText(byte shape)
           
 boolean isValidShape(byte shape)
           
static byte parseNodeShapeText(String text)
           
static Byte parseNodeShapeTextIntoByte(String text)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RECT

public static final byte RECT
See Also:
Constant Field Values

ROUND_RECT

public static final byte ROUND_RECT
See Also:
Constant Field Values

RECT_3D

public static final byte RECT_3D
See Also:
Constant Field Values

TRAPEZOID

public static final byte TRAPEZOID
See Also:
Constant Field Values

TRAPEZOID_2

public static final byte TRAPEZOID_2
See Also:
Constant Field Values

TRIANGLE

public static final byte TRIANGLE
See Also:
Constant Field Values

PARALLELOGRAM

public static final byte PARALLELOGRAM
See Also:
Constant Field Values

DIAMOND

public static final byte DIAMOND
See Also:
Constant Field Values

ELLIPSE

public static final byte ELLIPSE
See Also:
Constant Field Values

HEXAGON

public static final byte HEXAGON
See Also:
Constant Field Values

OCTAGON

public static final byte OCTAGON
See Also:
Constant Field Values
Constructor Detail

ShapeNodeRealizer

public ShapeNodeRealizer()
Method Detail

parseNodeShapeTextIntoByte

public static Byte parseNodeShapeTextIntoByte(String text)

parseNodeShapeText

public static byte parseNodeShapeText(String text)

getNodeShapeText

public static String getNodeShapeText(byte shape)

getGinyShape

public static int getGinyShape(byte byteShape)

isValidShape

public boolean isValidShape(byte shape)

www.cytoscape.org