Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XCurrencyField

Base Interface
com::sun::star::uno::XInterface

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


Known Services which Export this Interface

com::sun::star::awt::UnoControlCurrencyField specifies a field to display and edit a currency value.

Methods' 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

Methods' Details

setValue
 
[ oneway ] void
setValue(
[ in ] double Value );

Description
sets the value to display in the currency field.
getValue
 
double
getValue();
Returns
the value which is currently displayed in the currency field.
setMin
 
[ oneway ] void
setMin(
[ in ] double Value );

Description
sets the minimum value to accept by the user.
getMin
 
double
getMin();
Returns
the currently set minimum value accepted by the user.
setMax
 
[ oneway ] void
setMax(
[ in ] double Value );

Description
sets the maximum value to accept by the user.
getMax
 
double
getMax();
Returns
the currently set maximum value accepted by the user.
setFirst
 
[ oneway ] void
setFirst(
[ in ] double Value );

Description
sets the first value to set on 'Pos1' key.
getFirst
 
double
getFirst();
Returns
the currently set first value which is set on 'Pos1' key.
setLast
 
[ oneway ] void
setLast(
[ in ] double Value );

Description
sets the last value to set on 'End' key.
getLast
 
double
getLast();
Returns
the currently set last value which is set on 'End' key.
setSpinSize
 
[ oneway ] void
setSpinSize(
[ in ] double Value );

Description
sets the increment value for the spin buttons.
getSpinSize
 
double
getSpinSize();
Returns
the currently set increment value for the spin buttons.
setDecimalDigits
 
[ oneway ] void
setDecimalDigits(
[ in ] short nDigits );

Description
sets the number of decimals.
getDecimalDigits
 
short
getDecimalDigits();
Returns
the currently set number of decimals.
setStrictFormat
 
[ oneway ] void
setStrictFormat(
[ in ] boolean bStrict );

Description
determines whether the format is checked even during editing.
isStrictFormat
 
boolean
isStrictFormat();
Returns
whether the format is currently checked even during editing.

Top of Page