#include <ubox.hpp>
Inheritance diagram for UFlowbox:
Public Member Functions | |
UFlowbox (const UArgs &a=UArgs::none) | |
virtual const UStyle & | getStyle (UContext *) const |
returns the contextual UStyle of this object. | |
Static Public Member Functions | |
static const UStyle & | makeStyle () |
creates the Style of this object. | |
Static Public Attributes | |
static UStyle * | style = null |
corresponding Ubit UStyle | |
Friends | |
UFlowbox & | uflowbox (const UArgs &a=UArgs::none) |
This class is typically used from creating text areas or hypermedia gadgets.
Geometry: this class implements a specific behavior that differs from other boxes: its height changes but its width remains constant when children are modified (= these objects will keep their initial width). The width can be specified by adding an UWidth child. It can also be changed through user interaction if this object is included in a box that is "flexible" in the horizontal direction (see UBox).
UFlowbox (and UTextbox and subclasses) should be used for displaying textual messages that are dynamically changed for optimization purpose.
an UFlowbox is an UBox with UFlowView renderer.
|
returns the contextual UStyle of this object. This virtual function calls the makeStyle() static function that was redefined for this specific class
Reimplemented from UBox. Reimplemented in UTcell. |
|
creates the Style of this object. This static function is redefined by each class that derives from UGroup. It is called by the virtual function UGroup::getStyle()
Reimplemented from UBox. Reimplemented in UTcell. |