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 comfortably. |
setLayoutUnit |
Set at initialization, 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 comfortably.
|
|
setLayoutUnit
- Description
- Set at initialization, 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 © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.