TrueZIP Driver TZP (ZIP.RAES) 7.0-rc1

de.schlichtherle.truezip.crypto.raes.param.swing
Class BasicFeedback

java.lang.Object
  extended by de.schlichtherle.truezip.crypto.raes.param.swing.BasicFeedback
All Implemented Interfaces:
Feedback
Direct Known Subclasses:
BasicInvalidKeyFeedback, BasicUnknownKeyFeedback

public class BasicFeedback
extends Object
implements Feedback

Provides feedback by beeping using the default toolkit.

Author:
Christian Schlichtherle

Constructor Summary
BasicFeedback()
           
 
Method Summary
 void feedback(JPanel panel)
          Starts the visual/audible feedback.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicFeedback

public BasicFeedback()
Method Detail

feedback

public void feedback(JPanel panel)
Starts the visual/audible feedback. This method is called when the panel is shown in its containing window. It is run on AWT's Event Dispatch Thread, so it must complete fast in order not to block the GUI. If an implementation is going to do animations, the Timer class should be used to schedule timer events for the animation.

The implementation in this class simply beeps using the default toolkit.

Specified by:
feedback in interface Feedback
Parameters:
panel - the panel to provide visual/audible feedback to.

TrueZIP Driver TZP (ZIP.RAES) 7.0-rc1

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.