Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

service UnoControlListBoxModel
Description
specifies the standard model of an UnoControlListBox.

Included Services - Summary
UnoControlModel
(referenced entity's summary:)
specifies the standard model of an UnoControl in the Smalltalk model view controller design.
Exported Interfaces - Summary
XItemList

allows mmanipulating the list of items in the list box more fine-grained than the StringItemList property. (details)

Properties' Summary
short
Align
[ OPTIONAL ]
specifies the horiztontal alignment of the text in the control.  
::com::sun::star::util::Color
BackgroundColor
specifies the background color (RGB) of the control.  
short
Border
specifies the border style of the control.  
long
BorderColor
[ OPTIONAL ]
specifies the color of the border, if present  
boolean
Dropdown
specifies if the control has a drop down button.  
boolean
Enabled
determines whether the control is enabled or disabled.  
FontDescriptor
FontDescriptor
specifies the font attributes of the text in the control.  
short
FontEmphasisMark
specifies the ::com::sun::star::text::FontEmphasis value of the text in the control.  
short
FontRelief
specifies the ::com::sun::star::text::FontRelief value of the text in the control.  
string
HelpText
specifies the help text of the control.  
string
HelpURL
specifies the help URL of the control.  
short
LineCount
specifies the maximum line count displayed in the drop down box.  
boolean
MultiSelection
specifies if more than one entry can be selected.  
boolean
Printable
specifies that the control will be printed with the document.  
boolean
ReadOnly
specifies that the content of the control cannot be modified by the user.  
sequence< short >
SelectedItems
specifies the sequence of selected items, identfied by the position.  
sequence< string >
StringItemList
specifies the list of items.  
boolean
Tabstop
specifies that the control can be reached with the TAB key.  
::com::sun::star::util::Color
TextColor
specifies the text color (RGB) of the control.  
::com::sun::star::util::Color
TextLineColor
specifies the text line color (RGB) of the control.  
short
WritingMode
[ OPTIONAL ]
denotes the writing mode used in the control, as specified in the ::com::sun::star::text::WritingMode2 constants group.  
short
MouseWheelBehavior
[ OPTIONAL ]
defines how the mouse wheel can be used to scroll through the control's content.  
[ maybevoid ] short
ItemSeparatorPos
[ OPTIONAL ]
specifies where an item separator - a horizontal line - is drawn.  
Included Services - Details
UnoControlModel
(referenced entity's summary:)
specifies the standard model of an UnoControl in the Smalltalk model view controller design.
Exported Interfaces - Details
XItemList
Usage Restrictions
optional
Description
allows mmanipulating the list of items in the list box more fine-grained than the StringItemList property.
Since
OOo 3.3
Properties' Details
Align
short Align;
Usage Restrictions
optional
Description
specifies the horiztontal alignment of the text in the control.
 0: left
 1: center
 2: right
 
BackgroundColor
::com::sun::star::util::Color BackgroundColor;
Description
specifies the background color (RGB) of the control.
Border
short Border;
Description
specifies the border style of the control.
 0: No border
 1: 3D border
 2: simple border
 
BorderColor
long BorderColor;
Usage Restrictions
optional
Description
specifies the color of the border, if present

Not every border style (see Border) may support coloring. For instance, usually a border with 3D effect will ignore the BorderColor setting.

Since
OOo 2.0
Dropdown
boolean Dropdown;
Description
specifies if the control has a drop down button.
Enabled
boolean Enabled;
Description
determines whether the control is enabled or disabled.
FontDescriptor
FontDescriptor FontDescriptor;
Description
specifies the font attributes of the text in the control.
FontEmphasisMark
short FontEmphasisMark;
Description
specifies the ::com::sun::star::text::FontEmphasis value of the text in the control.
FontRelief
short FontRelief;
Description
specifies the ::com::sun::star::text::FontRelief value of the text in the control.
HelpText
string HelpText;
Description
specifies the help text of the control.
HelpURL
string HelpURL;
Description
specifies the help URL of the control.
LineCount
short LineCount;
Description
specifies the maximum line count displayed in the drop down box.
MultiSelection
boolean MultiSelection;
Description
specifies if more than one entry can be selected.
Printable
boolean Printable;
Description
specifies that the control will be printed with the document.
ReadOnly
boolean ReadOnly;
Description
specifies that the content of the control cannot be modified by the user.
SelectedItems
sequence< short > SelectedItems;
Description
specifies the sequence of selected items, identfied by the position.
StringItemList
sequence< string > StringItemList;
Description
specifies the list of items.
Tabstop
boolean Tabstop;
Description
specifies that the control can be reached with the TAB key.
TextColor
::com::sun::star::util::Color TextColor;
Description
specifies the text color (RGB) of the control.
TextLineColor
::com::sun::star::util::Color TextLineColor;
Description
specifies the text line color (RGB) of the control.
WritingMode
short WritingMode;
Usage Restrictions
optional
Description
denotes the writing mode used in the control, as specified in the ::com::sun::star::text::WritingMode2 constants group.

Only ::com::sun::star::text::WritingMode2::LR_TB and ::com::sun::star::text::WritingMode2::RL_TB are supported at the moment.

Since
OOo 3.1
MouseWheelBehavior
short MouseWheelBehavior;
Usage Restrictions
optional
Description
defines how the mouse wheel can be used to scroll through the control's content.

Usually, the mouse wheel scrool through the control's entry list. Using this property, and one of the MouseWheelBehavior constants, you can control under which circumstances this is possible.

ItemSeparatorPos
[ maybevoid ] short ItemSeparatorPos;
Usage Restrictions
optional
Description
specifies where an item separator - a horizontal line - is drawn.

If this is not NULL, then a horizontal line will be drawn between the item at the given position, and the following item.

Since
OOo 3.3

 
Top of Page

Apache Software Foundation

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

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