ooodev.adapter.awt.currency_field_partial module
- class ooodev.adapter.awt.currency_field_partial.CurrencyFieldPartial(component, interface=com.sun.star.awt.XCurrencyField)[source]
Bases:
object
Partial class for XCurrencyField.
- Parameters:
component (XCurrencyField) –
interface (UnoInterface | None) –
- __init__(component, interface=com.sun.star.awt.XCurrencyField)[source]
Constructor
- Parameters:
component (XCurrencyField) – UNO Component that implements
com.sun.star.awt.XCurrencyField
interface.interface (UnoInterface, optional) – The interface to be validated. Defaults to
XCurrencyField
.
- Return type:
None
- get_first()[source]
Gets the currently set first value which is set on POS1 key.
- Return type:
float
- get_max()[source]
Gets the currently set maximum value that can be entered by the user.
- Return type:
float
- get_min()[source]
Gets the currently set minimum value that can be entered by the user.
- Return type:
float
- get_spin_size()[source]
Gets the currently set increment value for the spin button.
- Return type:
float
- get_value()[source]
Gets the value which is currently displayed in the currency field.
- Return type:
float
- is_strict_format()[source]
Gets whether the format is currently checked during user input.
- Return type:
bool
- set_decimal_digits(digits)[source]
Sets the number of decimals.
- Return type:
None
- Parameters:
digits (int) –
- set_first(value)[source]
sets the first value to be set on POS1 key.
- Return type:
None
- Parameters:
value (float) –
- set_last(value)[source]
Sets the last value to be set on END key.
- Return type:
None
- Parameters:
value (float) –
- set_max(value)[source]
Sets the maximum value that can be entered by the user.
- Return type:
None
- Parameters:
value (float) –
- set_min(value)[source]
Sets the minimum value that can be entered by the user.
- Return type:
None
- Parameters:
value (float) –
- set_spin_size(value)[source]
sets the increment value for the spin button.
- Return type:
None
- Parameters:
value (float) –