|
|||||||||||
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 input file into the output file. |
protected void |
encrypt(String in,
String out)
Encrypts the input file into the output file. |
void |
setInputFilename()
Asks the user to browse and select the input file. |
void |
setOutputFilename()
Asks the user to browse and select the input 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 input file.out
- The output file.protected void encrypt(String in, String out)
in
- The input file.out
- The output file.public void setInputFilename()
public void setOutputFilename()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |