learningTool
Class LearningTool

java.lang.Object
  extended by learningTool.LearningTool
All Implemented Interfaces:
Controller

public class LearningTool
extends Object
implements Controller


Nested Class Summary
 class LearningTool.LTErrorHandler
           
 
Constructor Summary
LearningTool()
          Constructor: Tree nodes are populated here; use the SerializeDoc serialized file to extract the nodes and reconstruct the hashtable.
 
Method Summary
 void about(Component widget, ActionEvent event)
           
 void compile(Component widget, ActionEvent event)
           
 void copy(Component widget, ActionEvent event)
          For copy, cut, and paste functionality, we need to check both editable text areas to see what is selected.
 void cut(Component widget, ActionEvent event)
           
 void documentation(Component widget, TreeSelectionEvent event)
           
 void executable(Component widget, ActionEvent event)
           
 void help(Component widget, ActionEvent event)
           
 void language(Component widget, ActionEvent event)
           
static void main(String[] args)
           
 void newDoc(Component widget, ActionEvent event)
           
 void open(Component widget, ActionEvent event)
           
 void paste(Component widget, ActionEvent event)
           
 void quit(Component widget, ActionEvent event)
           
 void run(Component widget, ActionEvent event)
           
 void save(Component widget, ActionEvent event)
           
 void saveAs(Component widget, ActionEvent event)
           
 void selElvis(Component widget, ActionEvent event)
           
 void selJava(Component widget, ActionEvent event)
           
 void suppressModifiers(Component widget, ActionEvent event)
           
 void tutorial(Component widget, ActionEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LearningTool

public LearningTool()
             throws IOException,
                    FileNotFoundException,
                    ClassNotFoundException
Constructor: Tree nodes are populated here; use the SerializeDoc serialized file to extract the nodes and reconstruct the hashtable.

Throws:
IOException, - FileNotFoundException
ClassNotFoundException
IOException
FileNotFoundException
Method Detail

main

public static void main(String[] args)
                 throws FileNotFoundException,
                        IOException,
                        ClassNotFoundException
Throws:
FileNotFoundException
IOException
ClassNotFoundException

newDoc

public void newDoc(Component widget,
                   ActionEvent event)
Specified by:
newDoc in interface Controller

open

public void open(Component widget,
                 ActionEvent event)
Specified by:
open in interface Controller

save

public void save(Component widget,
                 ActionEvent event)
Specified by:
save in interface Controller

saveAs

public void saveAs(Component widget,
                   ActionEvent event)
Specified by:
saveAs in interface Controller

quit

public void quit(Component widget,
                 ActionEvent event)
Specified by:
quit in interface Controller

copy

public void copy(Component widget,
                 ActionEvent event)
For copy, cut, and paste functionality, we need to check both editable text areas to see what is selected.

Specified by:
copy in interface Controller

cut

public void cut(Component widget,
                ActionEvent event)
Specified by:
cut in interface Controller

paste

public void paste(Component widget,
                  ActionEvent event)
Specified by:
paste in interface Controller

selElvis

public void selElvis(Component widget,
                     ActionEvent event)
Specified by:
selElvis in interface Controller

selJava

public void selJava(Component widget,
                    ActionEvent event)
Specified by:
selJava in interface Controller

help

public void help(Component widget,
                 ActionEvent event)
Specified by:
help in interface Controller

tutorial

public void tutorial(Component widget,
                     ActionEvent event)
Specified by:
tutorial in interface Controller

about

public void about(Component widget,
                  ActionEvent event)
Specified by:
about in interface Controller

compile

public void compile(Component widget,
                    ActionEvent event)
Specified by:
compile in interface Controller

suppressModifiers

public void suppressModifiers(Component widget,
                              ActionEvent event)
Specified by:
suppressModifiers in interface Controller

executable

public void executable(Component widget,
                       ActionEvent event)
Specified by:
executable in interface Controller

language

public void language(Component widget,
                     ActionEvent event)
Specified by:
language in interface Controller

run

public void run(Component widget,
                ActionEvent event)
Specified by:
run in interface Controller

documentation

public void documentation(Component widget,
                          TreeSelectionEvent event)
Specified by:
documentation in interface Controller