oracle.adfnmc.component.ui
Class Color
java.lang.Object
oracle.adfnmc.component.ui.Color
public class Color
- extends java.lang.Object
Constructor Summary |
Color(int rgb)
|
Color(int red,
int green,
int blue)
|
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
CLASS_INSTANCE
public static final java.lang.Class CLASS_INSTANCE
m_red
protected final int m_red
m_green
protected final int m_green
m_blue
protected final int m_blue
m_rgb
protected final int m_rgb
Color
public Color(int rgb)
Color
public Color(int red,
int green,
int blue)
isColorDefined
public static boolean isColorDefined(java.lang.String color)
interpretColor
public static Color interpretColor(java.lang.String color,
java.lang.String defaultColor)
getRed
public int getRed()
getGreen
public int getGreen()
getBlue
public int getBlue()
getRGB
public int getRGB()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.