kr.ac.kaist.swrc.jhannanum.demo
Class GUIDemo.SharedActionHandler

java.lang.Object
  extended by kr.ac.kaist.swrc.jhannanum.demo.GUIDemo.SharedActionHandler
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener
Enclosing class:
GUIDemo

private class GUIDemo.SharedActionHandler
extends java.lang.Object
implements java.awt.event.ActionListener

The event handler that is used in various purpose.

Author:
Sangwon Park (hudoni@world.kaist.ac.kr), CILab, SWRC, KAIST

Constructor Summary
private GUIDemo.SharedActionHandler()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Performs an action depending on the given action event.
private  void activateWorkflow()
          Activates the work flow.
private  void analyzeText()
          Analyze the input text with the activated work flow.
private  void fileOpen()
          Reads a text file, and use the text as the input data.
private  void help()
          Show 'help' window.
private  void initWorkflow()
          Initialize the work flow with the sequence of the plug-ins that the user selected.
private  void reset()
          Reset the work flow and the demo program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUIDemo.SharedActionHandler

private GUIDemo.SharedActionHandler()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Performs an action depending on the given action event.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

fileOpen

private void fileOpen()
Reads a text file, and use the text as the input data.


help

private void help()
Show 'help' window.


initWorkflow

private void initWorkflow()
Initialize the work flow with the sequence of the plug-ins that the user selected.


activateWorkflow

private void activateWorkflow()
Activates the work flow.


analyzeText

private void analyzeText()
Analyze the input text with the activated work flow.


reset

private void reset()
Reset the work flow and the demo program.