Name
basedatepickerweek — An abstract class representing a week for use with basedatepicker
Description
Basedatepickerweek is an abstract class representing a week for use with the
basedatepicker. See also basedatepicker
and basedatepickerday
Abstract class representing weeks for the basedatepicker.
Details
Properties (1)
-
dayclass
-
<attribute name="dayclass" value="$once{classroot.dayclass}" />
Name of the day class instance to use.
Methods (10)
-
focusOnDay()
-
<method name="focusOnDay" args="d" />
protected function focusOnDay(d);
-
getFirstDayInMonth()
-
<method name="getFirstDayInMonth" />
protected function getFirstDayInMonth() : number;
Returns the day in this week that is the first day of the month.
-
getLastDayInMonth()
-
<method name="getLastDayInMonth" />
protected function getLastDayInMonth() : number;
Returns the day in this week that is the last day of the month.
-
init()
-
-
isFirstDayInMonth()
-
<method name="isFirstDayInMonth" args="d" />
protected function isFirstDayInMonth(d) : boolean;
Answers the question: Is the given day the first day of the month?
-
isFirstWeek()
-
<method name="isFirstWeek" />
protected function isFirstWeek() : boolean;
Answers the question: Is this the first week of the month?
-
isLastDayInMonth()
-
<method name="isLastDayInMonth" args="d" />
public function isLastDayInMonth(d) : boolean;
Answers the question: Is the given day of the week the last day of
the month?
-
isLastWeek()
-
<method name="isLastWeek" />
protected function isLastWeek() : boolean;
Answers the question: Is this the last week of the month?
-
removeFocusFromDay()
-
<method name="removeFocusFromDay" args="d" />
protected function removeFocusFromDay(d);
Remove the focus from a day.
-
setStartingDay()
-
<method name="setStartingDay" args="d, max, earlydate, latedate" />
protected function setStartingDay(d, max, earlydate, latedate);
Sets daynum of each day in this week, starting with the first day
of the week. Also sets the disabled and selectable attributes
for each day as appropriate.
LZX Synopsis
<class name="
basedatepickerweek" extends="
LzView
">
<attribute name="
dayclass
" value="
$once{classroot.dayclass}" />
</class>
JavaScript Synopsis
public
basedatepickerweek extends
LzView
{
prototype public function
init
();
prototype protected function
isLastWeek
() :
boolean;
prototype protected function
setStartingDay
(
d,
max,
earlydate,
latedate);
}