File 'clock/monthBrowse.cls' (part of 'Pool_Clock')

Description (short)
Year/month choice
Written by
Andreas Kupries
Description
Widget to choose month and year
See also
monthList, yearBrowser, calendar
Keywords
calendar, choosing month and year, year/month choice

Class 'monthBrowser'

Superclasses
valueManager
Options
charwidth
Methods
public
TrackCharWidth (o oldValue)
TrackMonth (month)
TrackYear (year)
createSubwidgets ()
monthBrowser ()
setBindings ()
setBindingsTo (w)
updateDisplay ()

Options

-charwidth
Width of the widget in characters.
default value: 12

Methods

TrackCharWidth (o oldValue)

Executed whenever the width of the widget is changed by the outside.
Argument: o The name of the changed option, always '-charwidth'.
Argument: oldValue The old value of the option.

TrackMonth (month)

Callback. Used by the internal month list to integrate changes to the month into the overall value. Executed every time the month changed its value.
Argument: month The new value of the chosen month.

TrackYear (year)

Callback. Used by the internal year browser to integrate changes to the year into the overall value. Executed every time the year changed its value.
Argument: year The (possibly) new value of the chosen year.

createSubwidgets ()

Overrides valueManager:createSubwidgets
Called by the framework to generate the subwidgets and their layout.

monthBrowser ()

Initialize the value to the current month and year, if not set already by the user.

setBindings ()

Overrides valueManager:setBindings
Adds various keyboard accelerators to the month browser.

setBindingsTo (w)

Adds various keyboard accelerators to the given widget.
Argument: w The widget the accelerators are added to.

updateDisplay ()

Overrides valueManager:updateDisplay
Method required by the superclass valueManager to propagate changes to the value into the display.


Generated by AutoDoc 2.4 at 09/14/2000, invoked by Andreas Kupries