Class sgraphics.MonoGlyph
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sgraphics.MonoGlyph

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

public class MonoGlyph
extends GlyphImpl
The MonoGlyph class is a Proxy class for another Glyph or child of a Glyph. It may be used to add functionality to a Glyph or change its behavior. For example: a frame glyph around a text editor glyph.

Constructor Index

 o MonoGlyph()
 o MonoGlyph(Glyph)

Method Index

 o allocate(Allocation)
 o append(Glyph)
 o count()
 o draw(Painter)
 o empty()
 o getChild(int)
 o pick(Picker)
 o prepend(Glyph)
 o replace(int, Glyph)
 o requirements()
Ask for the glyph's geometry requirements.

Constructors

 o MonoGlyph
  public MonoGlyph()
 o MonoGlyph
  public MonoGlyph(Glyph body)

Methods

 o requirements
  public Requirements requirements()
Ask for the glyph's geometry requirements.
Overrides:
requirements in class GlyphImpl
 o allocate
  public void allocate(Allocation allocation)
Overrides:
allocate in class GlyphImpl
 o pick
  public void pick(Picker pick)
Overrides:
pick in class GlyphImpl
 o draw
  public void draw(Painter painter)
Overrides:
draw in class GlyphImpl
 o append
  public void append(Glyph glyph)
Overrides:
append in class GlyphImpl
 o prepend
  public void prepend(Glyph glyph)
Overrides:
prepend in class GlyphImpl
 o replace
  public void replace(int position,
                      Glyph glyph)
Overrides:
replace in class GlyphImpl
 o getChild
  public Glyph getChild(int pos)
Overrides:
getChild in class GlyphImpl
 o empty
  public void empty()
Overrides:
empty in class GlyphImpl
 o count
  public int count()
Overrides:
count in class GlyphImpl

All Packages  Class Hierarchy  This Package  Previous  Next  Index