marimba.util
Interface TimerClient

All Known Subinterfaces:
ClockClient
All Known Implementing Classes:
AnimatedWidget, ClockWidget, FolderWidget, PlayerUtil, PopupMenu, ScrollbarWidget, SpinBoxWidget, TextBoxWidget, TextOutputStream, TextView, Widget, WidgetMenu

public interface TimerClient

A client of a timer.

Version:
1.7, 12/19/96
Author:
Arthur van Hoff

Method Summary
 long tick(long tm, java.lang.Object arg)
          Called when the clock ticks.
 

Method Detail

tick

public long tick(long tm,
                 java.lang.Object arg)
Called when the clock ticks. This method should return the time at which the clock should tick next (-1 means never again). The argument is the tm the tick was supposed to occur.