Package 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.SerializableEnumerated type for an ARGB Channel selector.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ARGBChannelAstatic java.lang.StringALPHAstatic ARGBChannelBstatic java.lang.StringBLUEstatic intCHANNEL_ATypes.static intCHANNEL_Bstatic intCHANNEL_Gstatic intCHANNEL_Rstatic ARGBChannelGstatic java.lang.StringGREENstatic ARGBChannelRChannel valuesstatic java.lang.StringREDStrings used to get a more readable output when a value is displayed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectreadResolve()This is called by the serialization code before it returns an unserialized object.inttoInt()Convenience for enumeration switchingjava.lang.StringtoString()
-
-
-
Field Detail
-
CHANNEL_A
public static final int CHANNEL_A
Types.- See Also:
- Constant Field Values
-
CHANNEL_R
public static final int CHANNEL_R
- See Also:
- Constant Field Values
-
CHANNEL_G
public static final int CHANNEL_G
- See Also:
- Constant Field Values
-
CHANNEL_B
public static final int CHANNEL_B
- See Also:
- Constant Field Values
-
RED
public static final java.lang.String RED
Strings used to get a more readable output when a value is displayed.- See Also:
- Constant Field Values
-
GREEN
public static final java.lang.String GREEN
- See Also:
- Constant Field Values
-
BLUE
public static final java.lang.String BLUE
- See Also:
- Constant Field Values
-
ALPHA
public static final java.lang.String ALPHA
- See Also:
- Constant Field Values
-
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
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.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
-
-