Language
The Free and Open Productivity Suite
:: com :: sun :: star :: awt ::
|
interface XDateField |
|
- Description
- gives access to the value and settings of a date field.
|
Methods' Summary |
setDate |
sets the date value which is displayed in the date field.
|
getDate |
returns the date value which is currently displayed in the date field.
|
setMin |
sets the minimum date value that can be entered by the user.
|
getMin |
returns the currently set minimum date value that can be entered by
the user.
|
setMax |
sets the maximum date value that can be entered by the user.
|
getMax |
returns the currently set maximum date 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.
|
setLongFormat |
determines if the long date format is to be used.
|
isLongFormat |
determines if the long date format is currently used.
|
setEmpty |
sets an empty value for the date.
|
isEmpty |
returns whether currently an empty value is set for the date.
|
setStrictFormat |
determines if the format is checked during user input.
|
isStrictFormat |
returns whether the format is currently checked during user input.
|
Methods' Details |
setDate
[oneway] void |
setDate( |
[in] long |
Date ); |
- Description
- sets the date value which is displayed in the date field.
The date value must be specified in the format
YYYYMMDD.
|
|
getDate
- Description
- returns the date value which is currently displayed in the date field.
|
|
setMin
[oneway] void |
setMin( |
[in] long |
Date ); |
- Description
- sets the minimum date value that can be entered by the user.
|
|
getMin
- Description
- returns the currently set minimum date value that can be entered by
the user.
|
|
setMax
[oneway] void |
setMax( |
[in] long |
Date ); |
- Description
- sets the maximum date value that can be entered by the user.
|
|
getMax
- Description
- returns the currently set maximum date value that can be entered by
the user.
|
|
setFirst
[oneway] void |
setFirst( |
[in] long |
Date ); |
- 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] long |
Date ); |
- 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.
|
|
setLongFormat
[oneway] void |
setLongFormat( |
[in] boolean |
bLong ); |
- Description
- determines if the long date format is to be used.
|
|
isLongFormat
- Description
- determines if the long date format is currently used.
|
|
setEmpty
- Description
- sets an empty value for the date.
|
|
isEmpty
- Description
- returns whether currently an empty value is set for the date.
|
|
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.