jInfer

cz.cuni.mff.ksi.jinfer.autoeditor.options
Class ShapeUtils

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.autoeditor.options.ShapeUtils

public final class ShapeUtils
extends Object

Utility class for AutoEditor node shapes.


Field Summary
static VertexShape REGULAR_NODE_SHAPE_DEFAULT
           
static String REGULAR_NODE_SHAPE_PROP
           
static VertexShape SUPERFINAL_NODE_SHAPE_DEFAULT
           
static String SUPERFINAL_NODE_SHAPE_PROP
           
static VertexShape SUPERINITIAL_NODE_SHAPE_DEFAULT
           
static String SUPERINITIAL_NODE_SHAPE_PROP
           
 
Method Summary
static VertexShape getShapeProperty(String property, VertexShape defaultValue)
          Get VertexShape property value for a particular property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REGULAR_NODE_SHAPE_PROP

public static final String REGULAR_NODE_SHAPE_PROP
See Also:
Constant Field Values

REGULAR_NODE_SHAPE_DEFAULT

public static final VertexShape REGULAR_NODE_SHAPE_DEFAULT

SUPERINITIAL_NODE_SHAPE_PROP

public static final String SUPERINITIAL_NODE_SHAPE_PROP
See Also:
Constant Field Values

SUPERINITIAL_NODE_SHAPE_DEFAULT

public static final VertexShape SUPERINITIAL_NODE_SHAPE_DEFAULT

SUPERFINAL_NODE_SHAPE_PROP

public static final String SUPERFINAL_NODE_SHAPE_PROP
See Also:
Constant Field Values

SUPERFINAL_NODE_SHAPE_DEFAULT

public static final VertexShape SUPERFINAL_NODE_SHAPE_DEFAULT
Method Detail

getShapeProperty

public static VertexShape getShapeProperty(String property,
                                           VertexShape defaultValue)
Get VertexShape property value for a particular property.

Parameters:
property - Name of the property to get the value for.
defaultValue - Default value to be returned, if no value is saved for the particular property.
Returns:
Property value for the particular property if exists, otherwise defaultValue.

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011