|
|
|
|
Getting Started : Creating a Column
|
|
Step by Step
Import the usual figue packages.
|
import figue.*;
import figue.box.*;
import figue.path.*; |
Create a column with the expected interline and indentation.
|
final GlyphInterface theColumn = new Vertical(10,5); |
Push some atoms in the column.
|
theColumn.addChild(Atom.newAtom("It's"));
theColumn.addChild(Atom.newAtom('a'));
theColumn.addChild(Atom.newAtom("wonderful"));
theColumn.addChild(Atom.newAtom("life"));
theColumn.addChild(Atom.newAtom("!!")); |
Apply the modification to the facade.
|
PathInterface thePath = new Path();
thePath.addOperation(new InsertGlyph(theColumn,0));
_facade.buildInit(thePath);
_facade.buildComplete(); |
|
|
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.
|
|
|
Related Classes
and Methods
|
|
|
What Next ?
Now you can :
- start the next lesson to learn about
resources
- learn more about :
- [PENDING : links to related issue]
- go back to the table of contents
|
|
|
|
|
|
|
|
|