Class sgraphics.wrapper.LabeledOutline
All Packages Class Hierarchy This Package Previous Next Index
Class sgraphics.wrapper.LabeledOutline
java.lang.Object
|
+----sgraphics.GlyphImpl
|
+----sgraphics.MonoGlyph
|
+----sgraphics.wrapper.Outline
|
+----sgraphics.wrapper.LabeledOutline
- public class LabeledOutline
- extends Outline
Border draws a three dimensional border, with a label, around a body glyph.
-
LabeledOutline(Glyph, Glyph, Color, Color)
- Construct the outline.
-
allocate(Allocation)
-
-
body()
-
-
label()
-
-
requirements()
- Ask for the glyph's geometry requirements.
-
setBody(Glyph)
-
-
setLabel(Glyph)
-
LabeledOutline
public LabeledOutline(Glyph body,
Glyph label,
Color highlight,
Color shadow)
- Construct the outline.
- Parameters:
- body - the body glyph.
- label - the label glyph. This can be any glyph.
- highlight - the color of the top and the left side of the body.
- shadow - the color of the bottom and the right side of the body.
requirements
public Requirements requirements()
- Ask for the glyph's geometry requirements.
- Overrides:
- requirements in class MonoGlyph
allocate
public void allocate(Allocation allocation)
- Overrides:
- allocate in class Outline
setBody
public void setBody(Glyph body)
- Overrides:
- setBody in class GlyphImpl
body
public Glyph body()
- Overrides:
- body in class GlyphImpl
setLabel
public void setLabel(Glyph label)
label
public Glyph label()
All Packages Class Hierarchy This Package Previous Next Index