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

(Global Index)

Syntax

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

Description

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

Method 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

Known Services Which Export this Interface

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

Method Details



setDate

Syntax

oneway void setDate (
long Date );

Description

sets the date value to display in the date field.


getDate

Syntax

long getDate ();

Returns

the date value which is currently displayed in the date field.

setMin

Syntax

oneway void setMin (
long Date );

Description

sets the minimum value to accept by the user.


getMin

Syntax

long getMin ();

Returns

the currently set minimum value accepted by the user.

setMax

Syntax

oneway void setMax (
long Date );

Description

sets the maximum value to accept by the user.


getMax

Syntax

long getMax ();

Returns

the currently set maximum value accepted by the user.

setFirst

Syntax

oneway void setFirst (
long Date );

Description

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


getFirst

Syntax

long getFirst ();

Returns

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

setLast

Syntax

oneway void setLast (
long Date );

Description

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


getLast

Syntax

long getLast ();

Returns

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

setLongFormat

Syntax

oneway void setLongFormat (
boolean bLong );

Description

determines if the long date format is to be used.


isLongFormat

Syntax

boolean isLongFormat ();

Description

determines if the long date format is currently used.


setEmpty

Syntax

void setEmpty ();

Description

sets the empty value for the date.


isEmpty

Syntax

boolean isEmpty ();

Returns

whether currently the empty value is set for the date.

setStrictFormat

Syntax

oneway void setStrictFormat (
boolean bStrict );

Description

determines if the format is checked, even during editing.


isStrictFormat

Syntax

boolean isStrictFormat ();

Returns

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