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
-
body_
-
-
children_
-
-
GlyphImpl()
-
-
allocate(Allocation)
-
-
append(Glyph)
-
-
body()
-
-
computeSqueeze(Requirement, float)
-
-
count()
-
-
draw(Painter)
-
-
empty()
-
-
getChild(int)
-
-
getParentGlyph()
-
-
getSgraphicsAdapter()
-
-
grab(Viewer)
-
-
needRedraw()
- This calls up the parent chain which leads to redrawing
all the glyphs under the Viewer.
-
needRedraw(Area)
- This calls up the parent chain which leads to redrawing
the area.
-
needResize()
- This calls up the parent chain which leads to resizing and redrawing
all the glyphs under the Viewer.
-
pick(Picker)
-
-
prepend(Glyph)
-
-
replace(int, Glyph)
-
-
require(Requirement, float, float, float, float)
-
-
requireLeadTrail(Requirement, float, float, float, float, float, float)
-
-
requirement(Requirements, int)
-
-
requirements()
- Ask for the glyph's geometry requirements.
-
setBody(Glyph)
-
-
setParent(Glyph)
-
-
swap(int, int)
-
-
ungrab()
-
children_
protected Glyph children_[]
body_
protected Glyph body_
GlyphImpl
public GlyphImpl()
setParent
public synchronized void setParent(Glyph parent)
getParentGlyph
public synchronized Glyph getParentGlyph()
allocate
public void allocate(Allocation allocation)
pick
public void pick(Picker pick)
body
public Glyph body()
setBody
public void setBody(Glyph body)
append
public void append(Glyph glyph)
prepend
public void prepend(Glyph glyph)
replace
public void replace(int position,
Glyph glyph)
swap
public void swap(int position1,
int position2)
getChild
public Glyph getChild(int pos)
empty
public void empty()
count
public int count()
grab
public void grab(Viewer target)
ungrab
public void ungrab()
needRedraw
public void needRedraw()
- This calls up the parent chain which leads to redrawing
all the glyphs under the Viewer.
needRedraw
public void needRedraw(Area area)
- This calls up the parent chain which leads to redrawing
the area.
needResize
public void needResize()
- This calls up the parent chain which leads to resizing and redrawing
all the glyphs under the Viewer.
draw
public void draw(Painter painter)
getSgraphicsAdapter
public SgraphicsAdapter getSgraphicsAdapter()
requireLeadTrail
public static void requireLeadTrail(Requirement r,
float naturalLead,
float maxLead,
float minLead,
float naturalTrail,
float maxTrail,
float minTrail)
computeSqueeze
public static float computeSqueeze(Requirement r,
float length)
requirement
public static Requirement requirement(Requirements r,
int axis)
require
public static void require(Requirement r,
float natural,
float stretch,
float shrink,
float alignment)
All Packages Class Hierarchy This Package Previous Next Index