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 ::

constants group WindowAttribute
Description
These values are used to specify the decorations of a window.

IMPORTANT: These constands have to be disjunct with constants in VclWindowPeerAttribute.


Constants
SHOW specifies that the window is initially visible.  
FULLSIZE specifies that the window fills the complete desktop area.  
OPTIMUMSIZE specifies that the window is optimum size.  
MINSIZE specifies that the window is minimum size.  
BORDER specifies that the window has visible borders.  
SIZEABLE specifies that the size of the window can be changed by the user.  
MOVEABLE specifies that the window can be moved by the user.  
CLOSEABLE specifies that the window can be closed by the user.  
SYSTEMDEPENDENT [ DEPRECATED ]
specifies that the window should support the XSystemDependentWindowPeer interface.  
NODECORATION specifies that the window should have no decoration.  
Constants' Details
SHOW
const long SHOW = 1;
Description
specifies that the window is initially visible.
FULLSIZE
const long FULLSIZE = 2;
Description
specifies that the window fills the complete desktop area.

This applies only to top windows.

OPTIMUMSIZE
const long OPTIMUMSIZE = 4;
Description
specifies that the window is optimum size.

This applies only to top windows.

MINSIZE
const long MINSIZE = 8;
Description
specifies that the window is minimum size.

This applies only to top windows.

BORDER
const long BORDER = 16;
Description
specifies that the window has visible borders.

This applies only to top windows.

SIZEABLE
const long SIZEABLE = 32;
Description
specifies that the size of the window can be changed by the user.

This applies only to top windows.

MOVEABLE
const long MOVEABLE = 64;
Description
specifies that the window can be moved by the user.

This applies only to top windows.

CLOSEABLE
const long CLOSEABLE = 128;
Description
specifies that the window can be closed by the user.

This applies only to top windows.

SYSTEMDEPENDENT
const long SYSTEMDEPENDENT = 256;
Usage Restrictions
deprecated
Deprecation Info
conflicts with VclWindowPeerAttribute::HSCROLL
Description
specifies that the window should support the XSystemDependentWindowPeer interface.

This flag may be ignored, but in this case no system-dependent extension works.

See also
XSystemDependentWindowPeer, ::com::sun::star::lang::SystemDependent
NODECORATION
const long NODECORATION = 512;
Description
specifies that the window should have no decoration.
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.