org.apache.batik.ext.awt.image
Class ARGBChannel
java.lang.Object
|
+--org.apache.batik.ext.awt.image.ARGBChannel
- All Implemented Interfaces:
- java.io.Serializable
- public final class ARGBChannel
- extends java.lang.Object
- implements java.io.Serializable
Enumerated type for an ARGB Channel selector.
- See Also:
- Serialized Form
Method Summary |
java.lang.Object |
readResolve()
This is called by the serialization code before it returns an unserialized
object. |
int |
toInt()
Convenience for enumeration switching |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CHANNEL_A
public static final int CHANNEL_A
- Types.
CHANNEL_R
public static final int CHANNEL_R
CHANNEL_G
public static final int CHANNEL_G
CHANNEL_B
public static final int CHANNEL_B
RED
public static final java.lang.String RED
- Strings used to get a more readable output when
a value is displayed.
GREEN
public static final java.lang.String GREEN
BLUE
public static final java.lang.String BLUE
ALPHA
public static final java.lang.String ALPHA
R
public static final ARGBChannel R
- Channel values
G
public static final ARGBChannel G
B
public static final ARGBChannel B
A
public static final ARGBChannel A
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- Returns:
- description
toInt
public int toInt()
- Convenience for enumeration switching
- Returns:
- value
readResolve
public java.lang.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
Copyright © 2002 Apache Software Foundation. All Rights Reserved.