net.sourceforge.wohenchan
Class ConverterPane

java.lang.Object
  |
  +--org.eclipse.swt.widgets.Widget
        |
        +--org.eclipse.swt.widgets.Control
              |
              +--org.eclipse.swt.widgets.Scrollable
                    |
                    +--org.eclipse.swt.widgets.Composite
                          |
                          +--net.sourceforge.wohenchan.ConverterPane
All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable, java.util.EventListener, org.eclipse.swt.events.SelectionListener, org.eclipse.swt.internal.SWTEventListener

public class ConverterPane
extends org.eclipse.swt.widgets.Composite
implements org.eclipse.swt.events.SelectionListener

Version:
$Name: $ $Date: 2003/09/08 21:05:04 $
Author:
$Author: wtanaka $

Field Summary
private  LanguageChooser m_inputLang
           
private  org.eclipse.swt.widgets.Text m_inputText
           
private  LanguageChooser m_outputLang
           
private  org.eclipse.swt.widgets.Text m_outputText
           
private static java.util.Hashtable simptotrad
           
private static java.util.Hashtable tradtosimp
           
 
Fields inherited from class org.eclipse.swt.widgets.Composite
 
Fields inherited from class org.eclipse.swt.widgets.Scrollable
 
Fields inherited from class org.eclipse.swt.widgets.Control
 
Fields inherited from class org.eclipse.swt.widgets.Widget
handle
 
Constructor Summary
ConverterPane(org.eclipse.swt.widgets.Composite parent)
           
 
Method Summary
private  void asserthashtables()
           
 void attemptconvert()
           
 char simpToTrad(char input)
           
 char tradToSimp(char input)
           
 void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent evt)
           
 void widgetSelected(org.eclipse.swt.events.SelectionEvent evt)
           
 
Methods inherited from class org.eclipse.swt.widgets.Composite
checkSubclass, computeSize, getBorderWidth, getChildren, getLayout, getTabList, layout, layout, setFocus, setLayout, setTabList
 
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getVerticalBar
 
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addFocusListener, addHelpListener, addKeyListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addPaintListener, addTraverseListener, computeSize, forceFocus, getAccessible, getBackground, getBounds, getDisplay, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getParent, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, redraw, redraw, removeControlListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removePaintListener, removeTraverseListener, setBackground, setBounds, setBounds, setCapture, setCursor, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update
 
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_inputText

private org.eclipse.swt.widgets.Text m_inputText

m_outputText

private org.eclipse.swt.widgets.Text m_outputText

m_inputLang

private LanguageChooser m_inputLang

m_outputLang

private LanguageChooser m_outputLang

tradtosimp

private static java.util.Hashtable tradtosimp

simptotrad

private static java.util.Hashtable simptotrad
Constructor Detail

ConverterPane

public ConverterPane(org.eclipse.swt.widgets.Composite parent)
Method Detail

widgetSelected

public void widgetSelected(org.eclipse.swt.events.SelectionEvent evt)
Specified by:
widgetSelected in interface org.eclipse.swt.events.SelectionListener

widgetDefaultSelected

public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent evt)
Specified by:
widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListener

tradToSimp

public char tradToSimp(char input)

simpToTrad

public char simpToTrad(char input)

attemptconvert

public void attemptconvert()

asserthashtables

private void asserthashtables()