Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
:: com :: sun :: star :: awt ::
unpublished
interface XLayoutContainer
Base Interfaces
XLayoutContainer
┗ ::com::sun::star::container ::XChild
::com::sun::star::container ::XChild
(referenced interface's summary:)
provides access to the parent of the object.
Usage Restrictions
not published
Description
specifies the layout constraints for a surrounding container.
Since
OOo 3.0
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().
Top of Page Copyright © 2013, 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.