FIGUE
*Tutorial *Previous *Current *Next

More Constructs : Setting the Available Space

* Step by Step

Define an initializer.
private final FacadeInitializer getParameters() {
  FacadeInitializer theParameters = new FacadeInitializer();
Set the initial available space.
theParameters.setFormattingWidth(INITIAL_SPACE);
return theParameters;
Pass the initializer to the facade on creation.
_facade = new AWTFacade(getParameters());
If needed reset the value after.
_facade.setFormattingWidth(_margin);

* 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.
Actions :
set the value in the text field (integer greater than 50) and hit return.

* 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