Package org.jungrapht.visualization
Enum VisualizationModel.SpatialSupport
- java.lang.Object
-
- java.lang.Enum<VisualizationModel.SpatialSupport>
-
- org.jungrapht.visualization.VisualizationModel.SpatialSupport
-
- All Implemented Interfaces:
Serializable
,Comparable<VisualizationModel.SpatialSupport>
- Enclosing interface:
- VisualizationModel<V,E>
public static enum VisualizationModel.SpatialSupport extends Enum<VisualizationModel.SpatialSupport>
the types of spatial data strucure to use with the visualization
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VisualizationModel.SpatialSupport
valueOf(String name)
Returns the enum constant of this type with the specified name.static VisualizationModel.SpatialSupport[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RTREE
public static final VisualizationModel.SpatialSupport RTREE
-
QUADTREE
public static final VisualizationModel.SpatialSupport QUADTREE
-
GRID
public static final VisualizationModel.SpatialSupport GRID
-
NONE
public static final VisualizationModel.SpatialSupport NONE
-
-
Method Detail
-
values
public static VisualizationModel.SpatialSupport[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VisualizationModel.SpatialSupport c : VisualizationModel.SpatialSupport.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VisualizationModel.SpatialSupport valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-