org.nakedobjects.plugins.dnd.viewer
Class AwtColor

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.viewer.AwtColor
All Implemented Interfaces:
Color

public class AwtColor
extends java.lang.Object
implements Color


Field Summary
static AwtColor BLACK
           
static AwtColor BLUE
           
static AwtColor DEBUG_BASELINE
           
static AwtColor DEBUG_BORDER_BOUNDS
           
static AwtColor DEBUG_DRAW_BOUNDS
           
static AwtColor DEBUG_REPAINT_BOUNDS
           
static AwtColor DEBUG_VIEW_BOUNDS
           
static AwtColor GRAY
           
static AwtColor GREEN
           
static AwtColor LIGHT_GRAY
           
static AwtColor NULL
           
static AwtColor ORANGE
           
static AwtColor RED
           
static AwtColor WHITE
           
static AwtColor YELLOW
           
 
Constructor Summary
AwtColor(int rgbColor)
           
AwtColor(java.lang.String propertyName, AwtColor defaultColor)
           
AwtColor(java.lang.String propertyName, java.lang.String defaultColor)
           
 
Method Summary
 Color brighter()
           
 Color darker()
           
 java.awt.Color getAwtColor()
           
 java.lang.String getName()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEBUG_BASELINE

public static final AwtColor DEBUG_BASELINE

DEBUG_DRAW_BOUNDS

public static final AwtColor DEBUG_DRAW_BOUNDS

DEBUG_VIEW_BOUNDS

public static final AwtColor DEBUG_VIEW_BOUNDS

DEBUG_REPAINT_BOUNDS

public static final AwtColor DEBUG_REPAINT_BOUNDS

DEBUG_BORDER_BOUNDS

public static final AwtColor DEBUG_BORDER_BOUNDS

RED

public static final AwtColor RED

GREEN

public static final AwtColor GREEN

BLUE

public static final AwtColor BLUE

BLACK

public static final AwtColor BLACK

WHITE

public static final AwtColor WHITE

GRAY

public static final AwtColor GRAY

LIGHT_GRAY

public static final AwtColor LIGHT_GRAY

ORANGE

public static final AwtColor ORANGE

YELLOW

public static final AwtColor YELLOW

NULL

public static final AwtColor NULL
Constructor Detail

AwtColor

public AwtColor(int rgbColor)

AwtColor

public AwtColor(java.lang.String propertyName,
                java.lang.String defaultColor)

AwtColor

public AwtColor(java.lang.String propertyName,
                AwtColor defaultColor)
Method Detail

brighter

public Color brighter()
Specified by:
brighter in interface Color

darker

public Color darker()
Specified by:
darker in interface Color

getAwtColor

public java.awt.Color getAwtColor()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getName

public java.lang.String getName()
Specified by:
getName in interface Color


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.