All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.doit.util.ColorSample

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----org.doit.util.ColorSample

public class ColorSample
extends Canvas

Constructor Index

 o ColorSample(String)

Method Index

 o getMinimumSize()
 o getMinimumSize(int)
 o getPreferredSize()
 o getPreferredSize(int)
 o paint(Graphics)
 o setColor(String)

Constructors

 o ColorSample
 public ColorSample(String color)

Methods

 o setColor
 public void setColor(String newColor)
 o paint
 public void paint(Graphics g)
Overrides:
paint in class Canvas
 o getPreferredSize
 public Dimension getPreferredSize()
Overrides:
getPreferredSize in class Component
 o getPreferredSize
 public Dimension getPreferredSize(int rows)
 o getMinimumSize
 public Dimension getMinimumSize()
Overrides:
getMinimumSize in class Component
 o getMinimumSize
 public Dimension getMinimumSize(int rows)

All Packages  Class Hierarchy  This Package  Previous  Next  Index