org.jzy3d.plot3d.rendering.view.modes
Enum ViewBoundMode

java.lang.Object
  extended by java.lang.Enum<ViewBoundMode>
      extended by org.jzy3d.plot3d.rendering.view.modes.ViewBoundMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ViewBoundMode>

public enum ViewBoundMode
extends java.lang.Enum<ViewBoundMode>

Indicates a bounding mode.


Enum Constant Summary
AUTO_FIT
          Automatically fits to the scene graph bounds.
MANUAL
          Fits the view to the manual bounds.
 
Method Summary
static ViewBoundMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ViewBoundMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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

AUTO_FIT

public static final ViewBoundMode AUTO_FIT
Automatically fits to the scene graph bounds.


MANUAL

public static final ViewBoundMode MANUAL
Fits the view to the manual bounds.

Method Detail

values

public static ViewBoundMode[] 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 (ViewBoundMode c : ViewBoundMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ViewBoundMode valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null