Class sgraphics.wrapper.Outline
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sgraphics.wrapper.Outline

java.lang.Object
   |
   +----sgraphics.GlyphImpl
           |
           +----sgraphics.MonoGlyph
                   |
                   +----sgraphics.wrapper.Outline

public class Outline
extends MonoGlyph
Border draws a recessed border around a child.

Constructor Index

 o Outline(Color, Color)

Method Index

 o allocate(Allocation)
 o draw(Painter)

Constructors

 o Outline
  public Outline(Color highlight,
                 Color shadow)
Parameters:
child - the child glyph.
highlight - the color of the top and the left side of the child.
shadow - the color of the bottom and the right side of the child.

Methods

 o allocate
  public void allocate(Allocation allocation)
Overrides:
allocate in class MonoGlyph
 o draw
  public void draw(Painter painter)
Overrides:
draw in class MonoGlyph

All Packages  Class Hierarchy  This Package  Previous  Next  Index