|  | 
| void | dispose () | 
|  | The owner of an object calls this method to explicitly free all resources kept by this object and thus break cyclic references. 
 | 
| void | addEventListener ([in] XEventListener xListener) | 
|  | adds an event listener to the object. 
 | 
| void | removeEventListener ([in] XEventListener aListener) | 
|  | removes an event listener from the listener list. 
 | 
| any | queryInterface ([in] type aType) | 
|  | queries for a new interface to an existing UNO object. 
 | 
| void | acquire () | 
|  | increases the reference counter by one. 
 | 
| void | release () | 
|  | decreases the reference counter by one. 
 | 
| void | setContext ([in] com::sun::star::uno::XInterface Context) | 
|  | sets the context of the control. 
 | 
| com::sun::star::uno::XInterface | getContext () | 
|  | gets the context of the control. 
 | 
| void | createPeer ([in] com::sun::star::awt::XToolkit Toolkit, [in] com::sun::star::awt::XWindowPeer Parent) | 
|  | creates a "child" window on the screen. 
 | 
| com::sun::star::awt::XWindowPeer | getPeer () | 
|  | returns the peer which was previously created or set. 
 | 
| boolean | setModel ([in] com::sun::star::awt::XControlModel Model) | 
|  | sets a model for the control. 
 | 
| com::sun::star::awt::XControlModel | getModel () | 
|  | returns the model for this control. 
 | 
| com::sun::star::awt::XView | getView () | 
|  | returns the view of this control. 
 | 
| void | setDesignMode ([in] boolean bOn) | 
|  | sets the design mode for use in a design editor. 
 | 
| boolean | isDesignMode () | 
|  | returns TRUE if the control is in design mode, FALSE otherwise. 
 | 
| boolean | isTransparent () | 
|  | returns TRUE if the control is transparent, FALSE otherwise. 
 | 
| void | setPosSize ([in] long X, [in] long Y, [in] long Width, [in] long Height, [in] short Flags) | 
|  | sets the outer bounds of the window. 
 | 
| com::sun::star::awt::Rectangle | getPosSize () | 
|  | returns the outer bounds of the window. 
 | 
| void | setVisible ([in] boolean Visible) | 
|  | shows or hides the window depending on the parameter. 
 | 
| void | setEnable ([in] boolean Enable) | 
|  | enables or disables the window depending on the parameter. 
 | 
| void | setFocus () | 
|  | sets the focus to the window. 
 | 
| void | addWindowListener ([in] com::sun::star::awt::XWindowListener xListener) | 
|  | adds a window listener to the object. 
 | 
| void | removeWindowListener ([in] com::sun::star::awt::XWindowListener xListener) | 
|  | removes the specified window listener from the listener list. 
 | 
| void | addFocusListener ([in] com::sun::star::awt::XFocusListener xListener) | 
|  | adds a focus listener to the object. 
 | 
| void | removeFocusListener ([in] com::sun::star::awt::XFocusListener xListener) | 
|  | removes the specified focus listener from the listener list. 
 | 
| void | addKeyListener ([in] com::sun::star::awt::XKeyListener xListener) | 
|  | adds a key listener to the object. 
 | 
| void | removeKeyListener ([in] com::sun::star::awt::XKeyListener xListener) | 
|  | removes the specified key listener from the listener list. 
 | 
| void | addMouseListener ([in] com::sun::star::awt::XMouseListener xListener) | 
|  | adds a mouse listener to the object. 
 | 
| void | removeMouseListener ([in] com::sun::star::awt::XMouseListener xListener) | 
|  | removes the specified mouse listener from the listener list. 
 | 
| void | addMouseMotionListener ([in] com::sun::star::awt::XMouseMotionListener xListener) | 
|  | adds a mouse motion listener to the object. 
 | 
| void | removeMouseMotionListener ([in] com::sun::star::awt::XMouseMotionListener xListener) | 
|  | removes the specified mouse motion listener from the listener list. 
 | 
| void | addPaintListener ([in] com::sun::star::awt::XPaintListener xListener) | 
|  | adds a paint listener to the object. 
 | 
| void | removePaintListener ([in] com::sun::star::awt::XPaintListener xListener) | 
|  | removes the specified paint listener from the listener list. 
 | 
| boolean | setGraphics ([in] com::sun::star::awt::XGraphics aDevice) | 
|  | sets the output device. 
 | 
| com::sun::star::awt::XGraphics | getGraphics () | 
|  | returns the output device which was set using the method XView::setGraphics(). 
 | 
| com::sun::star::awt::Size | getSize () | 
|  | returns the size of the object in device units. 
 | 
| void | draw ([in] long nX, [in] long nY) | 
|  | draws the object at the specified position. 
 | 
| void | setZoom ([in] float fZoomX, [in] float fZoomY) | 
|  | sets the zoom factor. 
 | 
| void | addItemListener ([in] com::sun::star::awt::XItemListener l) | 
|  | registers a listener for item events. 
 | 
| void | removeItemListener ([in] com::sun::star::awt::XItemListener l) | 
|  | unregisters a listener for item events. 
 | 
| void | addActionListener ([in] com::sun::star::awt::XActionListener l) | 
|  | registers a listener for action events. 
 | 
| void | removeActionListener ([in] com::sun::star::awt::XActionListener l) | 
|  | unregisters a listener for action events. 
 | 
| void | addItem ([in] string aItem, [in] short nPos) | 
|  | adds an item at the specified position. 
 | 
| void | addItems ([in] sequence< string > aItems, [in] short nPos) | 
|  | adds multiple items at the specified position. 
 | 
| void | removeItems ([in] short nPos, [in] short nCount) | 
|  | removes a number of items at the specified position. 
 | 
| short | getItemCount () | 
|  | returns the number of items in the listbox. 
 | 
| string | getItem ([in] short nPos) | 
|  | returns the item at the specified position. 
 | 
| sequence< string > | getItems () | 
|  | returns all items of the list box. 
 | 
| short | getSelectedItemPos () | 
|  | returns the position of the currently selected item. 
 | 
| sequence< short > | getSelectedItemsPos () | 
|  | returns the positions of all currently selected items. 
 | 
| string | getSelectedItem () | 
|  | returns the currently selected item. 
 | 
| sequence< string > | getSelectedItems () | 
|  | returns all currently selected items. 
 | 
| void | selectItemPos ([in] short nPos, [in] boolean bSelect) | 
|  | selects/deselects the item at the specified position. 
 | 
| void | selectItemsPos ([in] sequence< short > aPositions, [in] boolean bSelect) | 
|  | selects/deselects multiple items at the specified positions. 
 | 
| void | selectItem ([in] string aItem, [in] boolean bSelect) | 
|  | selects/deselects the specified item. 
 | 
| boolean | isMutipleMode () | 
|  | returns TRUE if multiple items can be selected, FALSE if only one item can be selected. 
 | 
| void | setMultipleMode ([in] boolean bMulti) | 
|  | determines if only a single item or multiple items can be selected. 
 | 
| short | getDropDownLineCount () | 
|  | returns the number of visible lines in drop down mode. 
 | 
| void | setDropDownLineCount ([in] short nLines) | 
|  | sets the number of visible lines for drop down mode. 
 | 
| void | makeVisible ([in] short nEntry) | 
|  | makes the item at the specified position visible by scrolling. 
 | 
| com::sun::star::awt::Size | getMinimumSize () | 
|  | returns the minimum size for this component. 
 | 
| com::sun::star::awt::Size | getPreferredSize () | 
|  | returns the preferred size for this component. 
 | 
| com::sun::star::awt::Size | calcAdjustedSize ([in] com::sun::star::awt::Size aNewSize) | 
|  | calculates the adjusted size for a given maximum size. 
 | 
| com::sun::star::awt::Size | getMinimumSize ([in] short nCols, [in] short nLines) | 
|  | returns the minimum size for a given number of columns and lines. 
 | 
| void | getColumnsAndLines ([out] short nCols, [out] short nLines) | 
|  | returns the ideal number of columns and lines for displaying this text. 
 | 
| XAccessibleContext | getAccessibleContext () | 
|  | Returns the AccessibleContext associated with this object. 
 | 
specifies a list box control. 
A list box displays a list of strings and allows a selection within these.