Methods' Summary |
addChild |
Adds a child. Some containers provide an interface for
adding children which you should use. |
removeChild |
Remove a child. Some containers provide an interface for
adding children which you should use.
|
getChildren |
Returns a sequence of the children of this container. |
getChildProperties |
Read/modify some child layout properties. XPropertySet provides a
rich API that allows, e.g., for introspection.
Should rarely be a need to use; containers shall provide an interface
for setting properties more confortably. |
setLayoutUnit |
Set at initilization, this object should be notified when a containers state
changes, that may affect its size, to queue a layout re-calculation. |
getLayoutUnit |
|
allocateArea |
To be used by the parent for the purpose of layout management.
For widgets, use XWindow::setPosSize() |
getRequestedSize |
Used by the layouting unit to evaluate size damage, and force a
re-allocation. |
getAllocatedArea |
Used by the layouting unit to evaluate size damage, and force a
re-allocation. |
getHeightForWidth |
For flow layouting (e.g. wrap-able labels). TODO: We might want to
re-design this approach -- check XLayoutConstrains::calcAdjustedSize(). |
hasHeightForWidth |
For flow layouting (e.g. wrap-able labels). TODO: We might want to
re-design this approach -- check XLayoutConstrains::calcAdjustedSize(). |
Methods' Details |
addChild
- Description
- Adds a child. Some containers provide an interface for
adding children which you should use.
|
|
removeChild
- Description
- Remove a child. Some containers provide an interface for
adding children which you should use.
|
|
getChildren
- Description
- Returns a sequence of the children of this container.
|
|
getChildProperties
- Description
- Read/modify some child layout properties. XPropertySet provides a
rich API that allows, e.g., for introspection.
Should rarely be a need to use; containers shall provide an interface
for setting properties more confortably.
|
|
setLayoutUnit
- Description
- Set at initilization, this object should be notified when a containers state
changes, that may affect its size, to queue a layout re-calculation.
|
|
getLayoutUnit
|
allocateArea
- Description
- To be used by the parent for the purpose of layout management.
For widgets, use XWindow::setPosSize()
|
|
getRequestedSize
- Description
- Used by the layouting unit to evaluate size damage, and force a
re-allocation.
|
|
getAllocatedArea
- Description
- Used by the layouting unit to evaluate size damage, and force a
re-allocation.
|
|
getHeightForWidth
long |
getHeightForWidth( |
[in] long |
Width ); |
- Description
- For flow layouting (e.g. wrap-able labels). TODO: We might want to
re-design this approach -- check XLayoutConstrains::calcAdjustedSize().
|
|
hasHeightForWidth
boolean |
hasHeightForWidth(); |
- Description
- For flow layouting (e.g. wrap-able labels). TODO: We might want to
re-design this approach -- check XLayoutConstrains::calcAdjustedSize().
|
|
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.