Prev | Current Page 712 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

hLayout = b.vLayout = Margins(0);
grid.setElement(b, r, c);
}
view.render();
}
}
FieldLayout
The FieldLayout accepts just one Element instance. The purpose of this control is to associate a Label ,
which is automatically generated, to another element. Piling some fields vertically can be useful to have
the controls in them perfectly aligned.
The Flash 9 Implementation
The Flash 9 implementation of the user interface is not really complicated. It simply maps the
requirements from the UI controls and containers to object specifics for the environment.
The ButtonContext has three visual states for the mouseover, mouseout and mousedown
combinations. The TextBoxContext has just two states, one when the control has the focus and
the caret is visible and one when it is not selected. The LabelContext has just one state. It is possible to
change their aspect acting on the static fields with prefix style and change some of the available
parameters.
The StageView uses the whole stage area to dispose child controls.


Pages:
700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724