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 XDockableWindow
Usage Restrictions
not published
Description
specifies the docking interface for a window component.
A window can either be docked where it resides as a child window in
an application frame window or it can be floating where it will
reside in its own decorated top level window.
Methods' Summary
addDockableWindowListener
adds a docking listener to the object.
only a single listener may be registered at any time.
removeDockableWindowListener
removes the specified docking listener from the object.
enableDocking
enable or disable docking, docking is disabled by default
isFloating
queries the current window state
setFloatingMode
toggle between floating and docked state
lock
prevents the window from being undocked
this has no effect if the window is floating
unlock
enables undocking
this has no effect if the window is floating
isLocked
queries the current locking state
startPopupMode
shows the window in a menu like style, i.e. without decoration
a special indicator will allow for tearing off the window
see XDockableWindowListener for
the corresponding events
isInPopupMode
queries the current popup mode
Methods' Details
addDockableWindowListener
Description
adds a docking listener to the object.
only a single listener may be registered at any time.
removeDockableWindowListener
Description
removes the specified docking listener from the object.
enableDocking
void
enableDocking (
[in] boolean
bEnable );
Description
enable or disable docking, docking is disabled by default
Parameter bEnable
true specifies that docking is enabled
false specifies that docking is disabled and no
XDockableWindowListener will be called
isFloating
Description
queries the current window state
Returns
true if the window is floating
false if the window is docked
setFloatingMode
void
setFloatingMode (
[in] boolean
bFloating );
Description
toggle between floating and docked state
Parameter bFloating
specifies the new floating mode:
true means floating, false means docked
lock
Description
prevents the window from being undocked
this has no effect if the window is floating
unlock
Description
enables undocking
this has no effect if the window is floating
isLocked
Description
queries the current locking state
Returns
true if the window is locked
false if the window is not locked
startPopupMode
void
startPopupMode (
[in] Rectangle
WindowRect );
Description
shows the window in a menu like style, i.e. without decoration
a special indicator will allow for tearing off the window
see XDockableWindowListener for
the corresponding events
Parameter WindowRect
specifies the position and size of the popup window in frame coordinates
isInPopupMode
Description
queries the current popup mode
Returns
true if the window is in popup mode
false if the window is not in popup mode
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.