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


Home | Packages | Files | Procedures | Classes | Keywords | External packages


Written by
Andreas Kupries
Description
Widget to choose a year, effectively a spin button.
See also
calendar
Keywords
calendar, choosing a year, year choice

Class 'yearBrowser'

Superclasses
valueManager
Options
charwidth
Methods
TrackCharWidth, createSubwidgets, down, setBindings, setBindingsTo, up, updateDisplay, yearBrowser

-charwidth
Number of characters shown

TrackCharWidth (o oldValue)

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

createSubwidgets ()

Create the internal widgets and their layout.

down ()

callback used by decrementer button to change the year

setBindings ()

Associate bindings for this widget with its internal components.

setBindingsTo (w)

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

up ()

Callback. Used by the incrementer button to add one to the year.

updateDisplay ()

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

yearBrowser ()

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


Generated by AutoDoc 2.1 at 02/20/1999, invoked by Andreas Kupries