Class AreaRendererEndType

java.lang.Object
org.jfree.chart.renderer.AreaRendererEndType
All Implemented Interfaces:
Serializable

public final class AreaRendererEndType extends Object implements Serializable
An enumeration of the 'end types' for an area renderer.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      For serialization.
      See Also:
    • TAPER

      public static final AreaRendererEndType TAPER
      The area tapers from the first or last value down to zero.
    • TRUNCATE

      public static final AreaRendererEndType TRUNCATE
      The area is truncated at the first or last value.
    • LEVEL

      public static final AreaRendererEndType LEVEL
      The area is levelled at the first or last value.
    • name

      private final String name
      The name.
  • Constructor Details

    • AreaRendererEndType

      private AreaRendererEndType(String name)
      Private constructor.
      Parameters:
      name - the name.
  • Method Details

    • toString

      public String toString()
      Returns a string representing the object.
      Overrides:
      toString in class Object
      Returns:
      The string.
    • equals

      public boolean equals(Object obj)
      Returns true if this object is equal to the specified object, and false otherwise.
      Overrides:
      equals in class Object
      Parameters:
      obj - the object (null permitted).
      Returns:
      A boolean.
    • readResolve

      private Object readResolve() throws ObjectStreamException
      Ensures that serialization returns the unique instances.
      Returns:
      The object.
      Throws:
      ObjectStreamException - if there is a problem.