describes a control which can be used for inputting currency values, and which can (but not necessarily has to) be bound to a database field. More...
import "CurrencyField.idl";
Included Services | |
| service | com::sun::star::awt::UnoControlCurrencyField |
Included Services inherited from UnoControlCurrencyField | |
| service | com::sun::star::awt::UnoControlEdit |
Included Services inherited from UnoControlEdit | |
| service | com::sun::star::awt::UnoControl |
Exported Interfaces | |
| interface | com::sun::star::form::XBoundControl |
Exported Interfaces inherited from UnoControlCurrencyField | |
| interface | com::sun::star::awt::XSpinField |
| gives access to the value of a spin field and makes it possible to register for spin events. | |
| interface | com::sun::star::awt::XCurrencyField |
Exported Interfaces inherited from UnoControlEdit | |
| interface | com::sun::star::awt::XTextComponent |
| interface | com::sun::star::awt::XLayoutConstrains |
| interface | com::sun::star::awt::XTextLayoutConstrains |
Exported Interfaces inherited from UnoControl | |
| interface | com::sun::star::lang::XComponent |
| interface | com::sun::star::awt::XControl |
| interface | com::sun::star::awt::XWindow |
| interface | com::sun::star::awt::XView |
| interface | com::sun::star::accessibility::XAccessible |
| provides access to the accessible context associated with this object. | |
Additional Inherited Members | |
Public Member Functions inherited from XComponent | |
| 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. | |
Public Member Functions inherited from XInterface | |
| 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. | |
Public Member Functions inherited from XControl | |
| 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. | |
Public Member Functions inherited from XWindow | |
| 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. | |
Public Member Functions inherited from XView | |
| 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. | |
Public Member Functions inherited from XTextComponent | |
| void | addTextListener ([in] com::sun::star::awt::XTextListener l) |
| registers a text event listener. | |
| void | removeTextListener ([in] com::sun::star::awt::XTextListener l) |
| unregisters a text event listener. | |
| void | setText ([in] string aText) |
| sets the text of the component. | |
| void | insertText ([in] com::sun::star::awt::Selection Sel, [in] string Text) |
| inserts text at the specified position. | |
| string | getText () |
| returns the text of the component. | |
| string | getSelectedText () |
| returns the currently selected text. | |
| void | setSelection ([in] com::sun::star::awt::Selection aSelection) |
| sets the user selection. | |
| com::sun::star::awt::Selection | getSelection () |
| returns the current user selection. | |
| boolean | isEditable () |
| returns if the text is editable by the user. | |
| void | setEditable ([in] boolean bEditable) |
| makes the text editable for the user or read-only. | |
| void | setMaxTextLen ([in] short nLen) |
| sets the maximum text length. | |
| short | getMaxTextLen () |
| returns the currently set maximum text length. | |
Public Member Functions inherited from XLayoutConstrains | |
| 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. | |
Public Member Functions inherited from XTextLayoutConstrains | |
| 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. | |
Public Member Functions inherited from XCurrencyField | |
| void | setValue ([in] double Value) |
| sets the value which is displayed in the currency field. | |
| double | getValue () |
| returns the value which is currently displayed in the currency field. | |
| void | setMin ([in] double Value) |
| sets the minimum value that can be entered by the user. | |
| double | getMin () |
| returns the currently set minimum value that can be entered by the user. | |
| void | setMax ([in] double Value) |
| sets the maximum value that can be entered by the user. | |
| double | getMax () |
| returns the currently set maximum value that can be entered by the user. | |
| void | setFirst ([in] double Value) |
| sets the first value to be set on POS1 key. | |
| double | getFirst () |
| returns the currently set first value which is set on POS1 key. | |
| void | setLast ([in] double Value) |
| sets the last value to be set on END key. | |
| double | getLast () |
| returns the currently set last value which is set on END key. | |
| void | setSpinSize ([in] double Value) |
| sets the increment value for the spin button. | |
| double | getSpinSize () |
| returns the currently set increment value for the spin button. | |
| void | setDecimalDigits ([in] short nDigits) |
| sets the number of decimals. | |
| short | getDecimalDigits () |
| returns the currently set number of decimals. | |
| void | setStrictFormat ([in] boolean bStrict) |
| determines if the format is checked during user input. | |
| boolean | isStrictFormat () |
| returns whether the format is currently checked during user input. | |
Public Member Functions inherited from XBoundControl | |
| boolean | getLock () |
| determines whether the input is currently locked or not. | |
| void | setLock ([in] boolean bLock) |
| is used for altering the current lock state of the component. | |
Protected Member Functions inherited from XAccessible | |
| XAccessibleContext | getAccessibleContext () |
| Returns the AccessibleContext associated with this object. | |
Protected Member Functions inherited from XSpinField | |
| void | addSpinListener ([in] com::sun::star::awt::XSpinListener l) |
| registers a listener for spin events. | |
| void | removeSpinListener ([in] com::sun::star::awt::XSpinListener l) |
| unregisters a listener for spin events. | |
| void | up () |
| increases the value by one step. | |
| void | down () |
| decreases the value by one step. | |
| void | first () |
| sets the value to the previously set lower value. | |
| void | last () |
| sets the value to the previously set upper value. | |
| void | enableRepeat ([in] boolean bRepeat) |
| enables/disables automatic repeat mode. | |
Protected Member Functions inherited from XCurrencyField | |
| void | setValue ([in] double Value) |
| sets the value which is displayed in the currency field. | |
| double | getValue () |
| returns the value which is currently displayed in the currency field. | |
| void | setMin ([in] double Value) |
| sets the minimum value that can be entered by the user. | |
| double | getMin () |
| returns the currently set minimum value that can be entered by the user. | |
| void | setMax ([in] double Value) |
| sets the maximum value that can be entered by the user. | |
| double | getMax () |
| returns the currently set maximum value that can be entered by the user. | |
| void | setFirst ([in] double Value) |
| sets the first value to be set on POS1 key. | |
| double | getFirst () |
| returns the currently set first value which is set on POS1 key. | |
| void | setLast ([in] double Value) |
| sets the last value to be set on END key. | |
| double | getLast () |
| returns the currently set last value which is set on END key. | |
| void | setSpinSize ([in] double Value) |
| sets the increment value for the spin button. | |
| double | getSpinSize () |
| returns the currently set increment value for the spin button. | |
| void | setDecimalDigits ([in] short nDigits) |
| sets the number of decimals. | |
| short | getDecimalDigits () |
| returns the currently set number of decimals. | |
| void | setStrictFormat ([in] boolean bStrict) |
| determines if the format is checked during user input. | |
| boolean | isStrictFormat () |
| returns whether the format is currently checked during user input. | |
describes a control which can be used for inputting currency values, and which can (but not necessarily has to) be bound to a database field.
The model of the control has to support the com::sun::star::form::component::CurrencyField service.
| interface com::sun::star::form::XBoundControl |