|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsystem.GPLdControl
This class provides the coupling between the "see" and the "do".
| Field Summary | |
protected GPLdFrame |
gui
The GUI this control class is coupled with. |
| Constructor Summary | |
GPLdControl(GPLdFrame gui)
Constructs a new control class. |
|
| Method Summary | |
void |
actionPerformed(ActionEvent event)
Gets called when the user interacts with the GUI. |
protected void |
GPL(File folder)
This method does the actual work, it adds the correctly formatted GPL to the source files. |
protected void |
start()
Starts the adding process. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected GPLdFrame gui
| Constructor Detail |
public GPLdControl(GPLdFrame gui)
gui - The GUI this contorl class is coupled with.| Method Detail |
public void actionPerformed(ActionEvent event)
actionPerformed in interface ActionListenerevent - The ActionEvent object for this event.ActionListener.actionPerformed(java.awt.event.ActionEvent)protected void start()
protected void GPL(File folder)
throws IOException,
kirk.io.WriteNotAllowedException
This method does the actual work, it adds the correctly formatted GPL to
the source files. Of course, FileLineList does all the
actual work :^P
This method is recursive.
Precondition is that the passed File exists, and is a
folder.
folder - The folder to go through.
IOException - When IO stuff goes wrong.
kirk.io.WriteNotAllowedException - When writing is not allowed.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||