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

Class sgraphics.GlyphImpl

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

public class GlyphImpl
extends Object
implements Glyph, Axis

Variable Index

 o body_
 o children_

Constructor Index

 o GlyphImpl()

Method Index

 o allocate(Allocation)
 o append(Glyph)
 o body()
 o computeSqueeze(Requirement, float)
 o count()
 o draw(Painter)
 o empty()
 o getChild(int)
 o getParentGlyph()
 o getSgraphicsAdapter()
 o grab(Viewer)
 o needRedraw()
This calls up the parent chain which leads to redrawing all the glyphs under the Viewer.
 o needRedraw(Area)
This calls up the parent chain which leads to redrawing the area.
 o needResize()
This calls up the parent chain which leads to resizing and redrawing all the glyphs under the Viewer.
 o pick(Picker)
 o prepend(Glyph)
 o replace(int, Glyph)
 o require(Requirement, float, float, float, float)
 o requireLeadTrail(Requirement, float, float, float, float, float, float)
 o requirement(Requirements, int)
 o requirements()
Ask for the glyph's geometry requirements.
 o setBody(Glyph)
 o setParent(Glyph)
 o swap(int, int)
 o ungrab()

Variables

 o children_
  protected Glyph children_[]
 o body_
  protected Glyph body_

Constructors

 o GlyphImpl
  public GlyphImpl()

Methods

 o setParent
  public synchronized void setParent(Glyph parent)
 o getParentGlyph
  public synchronized Glyph getParentGlyph()
 o allocate
  public void allocate(Allocation allocation)
 o pick
  public void pick(Picker pick)
 o body
  public Glyph body()
 o setBody
  public void setBody(Glyph body)
 o append
  public void append(Glyph glyph)
 o prepend
  public void prepend(Glyph glyph)
 o replace
  public void replace(int position,
                      Glyph glyph)
 o swap
  public void swap(int position1,
                   int position2)
 o getChild
  public Glyph getChild(int pos)
 o empty
  public void empty()
 o count
  public int count()
 o grab
  public void grab(Viewer target)
 o ungrab
  public void ungrab()
 o needRedraw
  public void needRedraw()
This calls up the parent chain which leads to redrawing all the glyphs under the Viewer.
 o needRedraw
  public void needRedraw(Area area)
This calls up the parent chain which leads to redrawing the area.
 o needResize
  public void needResize()
This calls up the parent chain which leads to resizing and redrawing all the glyphs under the Viewer.
 o draw
  public void draw(Painter painter)
 o getSgraphicsAdapter
  public SgraphicsAdapter getSgraphicsAdapter()
 o requireLeadTrail
  public static void requireLeadTrail(Requirement r,
                                      float naturalLead,
                                      float maxLead,
                                      float minLead,
                                      float naturalTrail,
                                      float maxTrail,
                                      float minTrail)
 o computeSqueeze
  public static float computeSqueeze(Requirement r,
                                     float length)
 o requirement
  public static Requirement requirement(Requirements r,
                                        int axis)
 o require
  public static void require(Requirement r,
                             float natural,
                             float stretch,
                             float shrink,
                             float alignment)

All Packages  Class Hierarchy  This Package  Previous  Next  Index