    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

##

ColorSample(String)

##

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

##

ColorSample

     public ColorSample(String color)

##

setColor

     public void setColor(String newColor)

paint

     public void paint(Graphics g)

  Overrides:
    paint in class Canvas

getPreferredSize

     public Dimension getPreferredSize()

  Overrides:
    getPreferredSize in class Component

getPreferredSize

     public Dimension getPreferredSize(int rows)

getMinimumSize

     public Dimension getMinimumSize()

  Overrides:
    getMinimumSize in class Component

getMinimumSize

     public Dimension getMinimumSize(int rows)

    All Packages  Class Hierarchy  This Package  Previous  Next  Index