Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: awt ::

deprecated interface XVclWindowPeer
Base Interfaces
XVclWindowPeerXWindowPeer
   ┗ ::com::sun::star::lang::XComponent

XWindowPeer
(referenced interface's summary:)
gives access to the actual window implementation on the device.
Usage Restrictions
deprecated
Description
gives access to the VCL window implementation.

Methods' Summary
isChild returns true if the window peer is a child, false otherwise.  
setDesignMode sets the design mode for use in a design editor.  
isDesignMode returns true if the window peer is in design mode, false otherwise.  
enableClipSiblings enables clipping of sibling windows.  
setForeground sets the foreground color.  
setControlFont sets the control font.  
getStyles returns the font, foreground and background color for the specified type.  
setProperty sets the value of the property with the specified name.  
getProperty returns the value of the property with the specified name.  
Methods' Details
isChild
boolean
isChild( [in] XWindowPeer  Peer );

Description
returns true if the window peer is a child, false otherwise.
setDesignMode
[oneway] void
setDesignMode( [in] boolean  bOn );

Description
sets the design mode for use in a design editor.
isDesignMode
boolean
isDesignMode();

Description
returns true if the window peer is in design mode, false otherwise.
enableClipSiblings
[oneway] void
enableClipSiblings( [in] boolean  bClip );

Description
enables clipping of sibling windows.
setForeground
[oneway] void
setForeground( [in] ::com::sun::star::util::Color  Color );

Description
sets the foreground color.
setControlFont
[oneway] void
setControlFont( [in] FontDescriptor  aFont );

Description
sets the control font.
getStyles
void
getStyles( [in] short  nType,
[out] FontDescriptor  Font,
[out] ::com::sun::star::util::Color  ForegroundColor,
[out] ::com::sun::star::util::Color  BackgroundColor );

Description
returns the font, foreground and background color for the specified type.
setProperty
void
setProperty( [in] string  PropertyName,
[in] any  Value );

Description
sets the value of the property with the specified name.
getProperty
any
getProperty( [in] string  PropertyName );

Description
returns the value of the property with the specified name.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.