Language
The Free and Open Productivity Suite
:: com :: sun :: star :: awt ::
|
interface XNumericField |
|
- Description
- gives access to the value and formatting of a numeric field.
|
Methods' Summary |
setValue |
sets the value which is displayed in the numeric field.
|
getValue |
returns the value which is currently displayed in the numeric field.
|
setMin |
sets the minimum value that can be entered by the user.
|
getMin |
returns the currently set minimum value that can be entered by the
user.
|
setMax |
sets the maximum value that can be entered by the user.
|
getMax |
returns the currently set maximum value that can be entered by the
user.
|
setFirst |
sets the first value to be set on POS1 key.
|
getFirst |
returns the currently set first value which is set on POS1 key.
|
setLast |
sets the last value to be set on END key.
|
getLast |
returns the currently set last value which is set on END key.
|
setSpinSize |
sets the increment value for the spin button.
|
getSpinSize |
returns the currently set increment value for the spin button.
|
setDecimalDigits |
sets the number of decimals.
|
getDecimalDigits |
returns the currently set number of decimals.
|
setStrictFormat |
determines if the format is checked during user input.
|
isStrictFormat |
returns whether the format is currently checked during user input.
|
Methods' Details |
setValue
[oneway] void |
setValue( |
[in] double |
Value ); |
- Description
- sets the value which is displayed in the numeric field.
|
|
getValue
- Description
- returns the value which is currently displayed in the numeric field.
|
|
setMin
[oneway] void |
setMin( |
[in] double |
Value ); |
- Description
- sets the minimum value that can be entered by the user.
|
|
getMin
- Description
- returns the currently set minimum value that can be entered by the
user.
|
|
setMax
[oneway] void |
setMax( |
[in] double |
Value ); |
- Description
- sets the maximum value that can be entered by the user.
|
|
getMax
- Description
- returns the currently set maximum value that can be entered by the
user.
|
|
setFirst
[oneway] void |
setFirst( |
[in] double |
Value ); |
- Description
- sets the first value to be set on POS1 key.
|
|
getFirst
- Description
- 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 be set on END key.
|
|
getLast
- Description
- 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 button.
|
|
getSpinSize
- Description
- returns the currently set increment value for the spin button.
|
|
setDecimalDigits
[oneway] void |
setDecimalDigits( |
[in] short |
nDigits ); |
- Description
- sets the number of decimals.
|
|
getDecimalDigits
short |
getDecimalDigits(); |
- Description
- returns the currently set number of decimals.
|
|
setStrictFormat
[oneway] void |
setStrictFormat( |
[in] boolean |
bStrict ); |
- Description
- determines if the format is checked during user input.
|
|
isStrictFormat
boolean |
isStrictFormat(); |
- Description
- returns whether the format is currently checked during user input.
|
|
Top of Page
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.