TrueZIP Driver TZP (ZIP.RAES) 7.0-rc1

de.schlichtherle.truezip.crypto.raes.param.swing
Interface Feedback

All Known Subinterfaces:
InvalidKeyFeedback, UnknownKeyFeedback
All Known Implementing Classes:
BasicFeedback, BasicInvalidKeyFeedback, BasicUnknownKeyFeedback, HurlingWindowFeedback

public interface Feedback

Provides visual and/or audible feedback to the user when prompting for a key in its feedback(javax.swing.JPanel) method.

Note that the feedback(javax.swing.JPanel) method of this class is called when the panel is just showing. This implies that the panel is fully initialized and the implementation of this interface is not expected to do anything in particular.

Author:
Christian Schlichtherle

Method Summary
 void feedback(JPanel panel)
          Starts the visual/audible feedback.
 

Method Detail

feedback

void feedback(@NonNull
              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.

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.