org.perfectjpattern.core.behavioral.observer
Class AnalogClock
java.lang.Object
   org.perfectjpattern.core.behavioral.observer.AnalogClock
org.perfectjpattern.core.behavioral.observer.AnalogClock
- All Implemented Interfaces: 
- IObserver<Date>, IClock, IWidget
- public class AnalogClock 
- extends Object- implements IClock
Concrete implementation of IClock of type Analog
- Version:
- $Revision: 1.0 $Date: May 25, 2008 3:40:41 PM $
- Author:
- Giovanni Azua
-  
- 
 
 
| Method Summary | 
|  void | draw()
 | 
| protected static void | setLogger(org.slf4j.Logger aLogger)
 | 
|  void | update(Date aDate)Notification from
 ISubjectinstance that a change 
 has ocurred. | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
AnalogClock
public AnalogClock()
draw
public void draw()
- 
 
- 
- Specified by:
- drawin interface- IWidget
 
- 
 
update
public void update(Date aDate)
- Notification from ISubjectinstance that a change 
 has ocurred.
 
- 
- Specified by:
- updatein interface- IObserver<Date>
 
- 
- Parameters:
- aDate- Event data pushed to- IObserverinstances.
 
setLogger
protected static void setLogger(org.slf4j.Logger aLogger)
- 
 
- 
 
Copyright © 2007-2009. All Rights Reserved.