Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.component.ui
Class Color

java.lang.Object
  extended by oracle.adfnmc.component.ui.Color

public class Color
extends java.lang.Object


Field Summary
static java.lang.Class CLASS_INSTANCE
           
protected  int m_blue
           
protected  int m_green
           
protected  int m_red
           
protected  int m_rgb
           
 
Constructor Summary
Color(int rgb)
           
Color(int red, int green, int blue)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getBlue()
           
 int getGreen()
           
 int getRed()
           
 int getRGB()
           
static Color interpretColor(java.lang.String color, java.lang.String defaultColor)
           
static boolean isColorDefined(java.lang.String color)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

Color

public Color(int rgb)

Color

public Color(int red,
             int green,
             int blue)
Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.