|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsystem.WDYSControl
This class processes all the user events.
Field Summary | |
protected WDYSFrame |
gui
The GUI that this control class processes events for. |
Constructor Summary | |
WDYSControl(WDYSFrame gui)
Constructs a new control class that processes events from the passed GUI. |
Method Summary | |
void |
actionPerformed(ActionEvent event)
Processes an event caused by the GUI. |
protected void |
decrypt(String in,
String out)
Decrypts the encrypted file into the decrypted file. |
protected void |
encrypt(String in,
String out)
Encrypts the decrypted file into the encrypted file. |
void |
setDecryptedFilename()
Asks the user to browse and select the decrypted file. |
void |
setEncryptedFilename()
Asks the user to browse and select the encrypted file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected WDYSFrame gui
Constructor Detail |
public WDYSControl(WDYSFrame gui)
gui
- The GUI this control class works for.Method Detail |
public void actionPerformed(ActionEvent event)
actionPerformed
in interface ActionListener
ActionListener.actionPerformed(java.awt.event.ActionEvent)
protected void decrypt(String in, String out)
in
- The encrypted file.out
- The decrypted file.protected void encrypt(String in, String out)
in
- The decrypted file.out
- The encrypted file.public void setDecryptedFilename()
public void setEncryptedFilename()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |