FIGUE
*Tutorial *Previous *Current *Next

More Constructs : Adjusting the Space Around a Box

* Step by Step

Create an inset with the expected margins.
final GlyphInterface theInsets = new Insets(BEFORE,
                                            AFTER,
                                            LEFT,
                                            RIGHT);
Push another glyph in it.
final GlyphInterface theContext 
   = new ChangeGraphicalContextAnonymous("italic","
                                         green",
                                         "yellow");
theInsets.addChild(theContext);
final GlyphInterface theOtherLine = new Horizontal(5);
theContext.addChild(theOtherLine);
theOtherLine.addChild(Atom.newAtom("It's"));
theOtherLine.addChild(Atom.newAtom("a"));
theOtherLine.addChild(Atom.newAtom("Wonderful"));
theOtherLine.addChild(Atom.newAtom("Life"));

* Example

Accelerators :
home, end, page up, page down, left arrow,right arrow, up arrow, down arrow.
Autoscrolling :
drag the mouse inside the text area, approach a border or a corner, and wait.

* The Whole Program

* Related Classes and Methods

* What Next ?

Now you can :

*Tutorial *Previous *Current *Next

Comments or suggestions?
Need some help?
Copyright ©1998 INRIA
Last updated 4 November 1998 by Bruno Conductier
FIGUE