Overview
Package
Class
Use
Tree
Deprecated
Index
All Classes
Help
Prev Class
Next Class
Sample
Document
Enum java.awt.MultipleGradientPaint.CycleMethod
Inherited members: ShowHide
Deprecated: ShowHide
View: ClientSubclassPackageImplementation
java.awt

Enum MultipleGradientPaint.CycleMethod

  • java.lang.Object
    • java.lang.Enum<MultipleGradientPaint.CycleMethod>
      • java.awt.MultipleGradientPaint.CycleMethod
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<MultipleGradientPaint.CycleMethod>
    Enclosing class:
    MultipleGradientPaint
    public static enum MultipleGradientPaint.CycleMethod extends java.lang.Enum<MultipleGradientPaint.CycleMethod>
    The method to use when painting outside the gradient bounds.
    Since:
    1.6
    • Enum Constants 
      Enum Constant and Description
      Ordinary member indicator NO_CYCLE Reveal DetailHide Detail
      NO_CYCLE
      Use the terminal colors to fill the remaining area.
      public static final MultipleGradientPaint.CycleMethod NO_CYCLE
      Use the terminal colors to fill the remaining area.
      Ordinary member indicator REFLECT Reveal DetailHide Detail
      REFLECT
      Cycle the gradient colors start-to-end, end-to-start to fill the remaining area.
      public static final MultipleGradientPaint.CycleMethod REFLECT
      Cycle the gradient colors start-to-end, end-to-start to fill the remaining area.
      Ordinary member indicator REPEAT Reveal DetailHide Detail
      REPEAT
      Cycle the gradient colors start-to-end, start-to-end to fill the remaining area.
      public static final MultipleGradientPaint.CycleMethod REPEAT
      Cycle the gradient colors start-to-end, start-to-end to fill the remaining area.
    • Static Methods 
      Modifier and Type Static Method and Description
      Ordinary member indicator valueOf Reveal DetailHide Detail
      static MultipleGradientPaint.CycleMethod valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      public static MultipleGradientPaint.CycleMethod 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
      Ordinary member indicator values Reveal DetailHide Detail
      static MultipleGradientPaint.CycleMethod[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      public static MultipleGradientPaint.CycleMethod[] 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 (MultipleGradientPaint.CycleMethod c : MultipleGradientPaint.CycleMethod.values())
          System.out.println(c);
      
      Returns:
      an array containing the constants of this enum type, in the order they are declared
      • Static methods inherited from class java.lang.Enum

        valueOf
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
This document was created by Dulcet from the OpenJDK sources. Copyright © 1993, 2012 Oracle and/or its affiliates. All rights reserved.

SourceForge