Class
caplin.presenter.node

CalendarDateField

The class is still in Beta and is subject to API changes.
Represents a DateField that can be updated with a calendar.

Constructor Summary

Attributes Name and Description
caplin.presenter.node.CalendarDateField( vDate, vStartDate, vEndDate)

Field Summary

Attributes Name and Description
<static> caplin.presenter.node.CalendarDateField.ALL_DAYS

Represents the ALL days strategy

currentMonth

The current month displayed.

currentYear

The current year displayed

<static> caplin.presenter.node.CalendarDateField.NO_DAYS

Represents the NO days strategy

validDatesForMonth

The current valid dates is the displayed month.

Fields borrowed from class caplin.presenter.node.DateField:
endDate, startDate

Method Summary

Attributes Name and Description
Array getValidDatesForMonth()

Returns an array of integers, which are the valid dates for the current month.

void setAvailableDateStrategy(int nStrategy)

Sets the strategy of available dates.

Constructor Detail

caplin.presenter.node.CalendarDateField( vDate, vStartDate, vEndDate)

Parameters
vDate The initial date
vStartDate The first selectable date
vEndDate The last selectable date.

Field Detail

<static> int caplin.presenter.node.CalendarDateField.ALL_DAYS

Represents the ALL days strategy

See
#setAvailableDateStrategy

caplin.presenter.property.WritableProperty currentMonth

The current month displayed.

caplin.presenter.property.WritableProperty currentYear

The current year displayed

<static> int caplin.presenter.node.CalendarDateField.NO_DAYS

Represents the NO days strategy

See
#setAvailableDateStrategy

caplin.presenter.property.WritableProperty validDatesForMonth

The current valid dates is the displayed month.

Method Detail

Array getValidDatesForMonth()

Returns an array of integers, which are the valid dates for the current month.

void setAvailableDateStrategy(int nStrategy)

Sets the strategy of available dates.

Parameters
int nStrategy one of the static constants (e.g. ALL_DAYS, or NO_DAYS) on this class.