de.schlichtherle.truezip.crypto.raes.param.swing
Class BasicFeedback
java.lang.Object
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
|
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 |
BasicFeedback
public BasicFeedback()
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.
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.