interface XCurrencyField in module com::sun::star::awt::

(Global Index)

Syntax

interface XCurrencyField : com::sun::star::uno::XInterface ;

Description

makes it possible to set the formatting and value for a currency field.

Method Summary

setValue sets the value to display in the currency field.

getValue

setMin sets the minimum value to accept by the user.

getMin

setMax sets the maximum value to accept by the user.

getMax

setFirst sets the first value to set on 'Pos1' key.

getFirst

setLast sets the last value to set on 'End' key.

getLast

setSpinSize sets the increment value for the spin buttons.

getSpinSize

setDecimalDigits sets the number of decimals.

getDecimalDigits

setStrictFormat determines whether the format is checked even during editing.

isStrictFormat

Known Services Which Export this Interface

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

Method Details



setValue

Syntax

oneway void setValue (
double Value );

Description

sets the value to display in the currency field.


getValue

Syntax

double getValue ();

Returns

the value which is currently displayed in the currency field.

setMin

Syntax

oneway void setMin (
double Value );

Description

sets the minimum value to accept by the user.


getMin

Syntax

double getMin ();

Returns

the currently set minimum value accepted by the user.

setMax

Syntax

oneway void setMax (
double Value );

Description

sets the maximum value to accept by the user.


getMax

Syntax

double getMax ();

Returns

the currently set maximum value accepted by the user.

setFirst

Syntax

oneway void setFirst (
double Value );

Description

sets the first value to set on 'Pos1' key.


getFirst

Syntax

double getFirst ();

Returns

the currently set first value which is set on 'Pos1' key.

setLast

Syntax

oneway void setLast (
double Value );

Description

sets the last value to set on 'End' key.


getLast

Syntax

double getLast ();

Returns

the currently set last value which is set on 'End' key.

setSpinSize

Syntax

oneway void setSpinSize (
double Value );

Description

sets the increment value for the spin buttons.


getSpinSize

Syntax

double getSpinSize ();

Returns

the currently set increment value for the spin buttons.

setDecimalDigits

Syntax

oneway void setDecimalDigits (
short nDigits );

Description

sets the number of decimals.


getDecimalDigits

Syntax

short getDecimalDigits ();

Returns

the currently set number of decimals.

setStrictFormat

Syntax

oneway void setStrictFormat (
boolean bStrict );

Description

determines whether the format is checked even during editing.


isStrictFormat

Syntax

boolean isStrictFormat ();

Returns

whether the format is currently checked even during editing.
Top of Page