com.panayotis.gnuplot.style
Enum Smooth

java.lang.Object
  extended by java.lang.Enum<Smooth>
      extended by com.panayotis.gnuplot.style.Smooth
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Smooth>

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

Define how this plot should be smoothed. Please refer to the documentation of gnuplot for specific explanation of each method


Enum Constant Summary
ACSPLINES
           
BEZIER
           
CSPLINES
           
FREQUENCY
           
SBEZIER
           
UNIQUE
           
 
Method Summary
 java.lang.String toString()
          Retrieve the gnuplot argument for this smoothing mechanism
static Smooth valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Smooth[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNIQUE

public static final Smooth UNIQUE

FREQUENCY

public static final Smooth FREQUENCY

CSPLINES

public static final Smooth CSPLINES

ACSPLINES

public static final Smooth ACSPLINES

BEZIER

public static final Smooth BEZIER

SBEZIER

public static final Smooth SBEZIER
Method Detail

values

public static final Smooth[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Smooth c : Smooth.values())
        System.out.println(c);

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

valueOf

public static Smooth 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

toString

public java.lang.String toString()
Retrieve the gnuplot argument for this smoothing mechanism

Overrides:
toString in class java.lang.Enum<Smooth>
Returns:
the gnuplot argument