Class ARGBChannel

java.lang.Object
org.apache.batik.ext.awt.image.ARGBChannel
All Implemented Interfaces:
Serializable

public final class ARGBChannel extends Object implements Serializable
Enumerated type for an ARGB Channel selector.
Version:
$Id: ARGBChannel.java 1808888 2017-09-19 14:22:11Z ssteiner $
See Also:
  • Field Details

  • Constructor Details

    • ARGBChannel

      private ARGBChannel(int val, String desc)
      Constructor is private so that no instances other than the ones in the enumeration can be created.
      See Also:
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      description
    • toInt

      public int toInt()
      Convenience for enumeration switching
      Returns:
      value
    • readResolve

      public Object readResolve()
      This is called by the serialization code before it returns an unserialized object. To provide for unicity of instances, the instance that was read is replaced by its static equivalent