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

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

interface XDateField

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

Description
makes it possible to set the limits and the value of a date field.


Known Services which Export this Interface

com::sun::star::awt::UnoControlDateField specifies a control to display and edit a date value.

Methods' Summary

setDate sets the date value to display in the date field.
getDate
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
setLongFormat determines if the long date format is to be used.
isLongFormat determines if the long date format is currently used.
setEmpty sets the empty value for the date.
isEmpty
setStrictFormat determines if the format is checked, even during editing.
isStrictFormat

Methods' Details

setDate
 
[ oneway ] void
setDate(
[ in ] long Date );

Description
sets the date value to display in the date field.
getDate
 
long
getDate();
Returns
the date value which is currently displayed in the date field.
setMin
 
[ oneway ] void
setMin(
[ in ] long Date );

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

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

Description
sets the first value to set on 'Pos1' key.
getFirst
 
long
getFirst();
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 set on 'End' key.
getLast
 
long
getLast();
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
 
boolean
isLongFormat();
Description
determines if the long date format is currently used.
setEmpty
 
void
setEmpty();
Description
sets the empty value for the date.
isEmpty
 
boolean
isEmpty();
Returns
whether currently the empty value is set for the date.
setStrictFormat
 
[ oneway ] void
setStrictFormat(
[ in ] boolean bStrict );

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

Top of Page