| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--java.awt.Window
|
+--java.awt.Frame
|
+--javax.swing.JFrame
|
+--applications.proxy.main.TextUIWindow
Description of the Class
| Inner Class Summary | |
(package private) class | TextUIWindow.AutoMapListener Description of the Class |
(package private) class | TextUIWindow.ExportASCIIAction Description of the Class |
(package private) class | TextUIWindow.LinkAction Description of the Class |
(package private) class | TextUIWindow.MonitorAction Description of the Class |
(package private) class | TextUIWindow.QuitAction Description of the Class |
(package private) class | TextUIWindow.SearchAction Description of the Class |
(package private) class | TextUIWindow.TranslateListener Description of the Class |
(package private) class | TextUIWindow.TutorialAction Description of the Class |
(package private) class | TextUIWindow.VisualizeHtmlAction Description of the Class |
(package private) class | TextUIWindow.VisualizeJavaAction Description of the Class |
(package private) class | TextUIWindow.VisualizePluginAction Description of the Class |
| Inner classes inherited from class javax.swing.JFrame |
JFrame.AccessibleJFrame |
| Inner classes inherited from class java.awt.Frame |
Frame.AccessibleAWTFrame |
| Field Summary | |
(package private) String[] | combuffer |
(package private) int | comindex |
(package private) int | compos |
(package private) int | count |
(package private) int | index |
(package private) String | inline |
private boolean | m_advancedFeatures |
protected JMenuItem | m_asciiExportDescription of the Field |
(package private) ExclusiveMenuItem | m_autoMapHTML |
(package private) ExclusiveMenuItem | m_autoMapVRML |
private ExclusiveMenuItem | m_currAutoMapSelection |
private ExclusiveMenuItem | m_currTransSelection |
private boolean | m_doOutputFromMam |
private ExclusiveMenuItem | m_echo |
private ExclusiveMenuItem | m_hideActivity |
protected InputHandler | m_inputHandler |
protected JTextField | m_inputTextAreaDescription of the Field |
protected MamCommunicator | m_mamCommDescription of the Field |
(package private) ExclusiveMenuItem | m_noAutoMap |
private ExclusiveMenuItem | m_noEcho |
private ExclusiveMenuItem | m_originalTransSelection |
protected DefaultStyledDocument | m_outputDocument |
protected PhatJTextPane | m_outputTextPaneDescription of the Field |
protected JViewport | m_outputViewportDescription of the Field |
(package private) String[] | m_randomLanguagePairs |
private ExclusiveMenuItem | m_showActivity |
private Map | m_textAttributeSets |
(package private) TranslateListener | m_translateListener |
(package private) JMenu | m_transMenu |
final static int | MAM_TEXT_TYPE_INDEX |
final static int | MOO_TEXT_TYPE_INDEX |
(package private) final static String | OUTPUT_FROM_SYSTEM_SOUND_NAME |
final static int | SYSTEM_TEXT_TYPE_INDEX |
final static String[] | TEXT_TYPES |
| Fields inherited from class javax.swing.JFrame |
EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled, accessibleContext |
| Fields inherited from class java.awt.Frame |
DEFAULT_CURSOR, CROSSHAIR_CURSOR, TEXT_CURSOR, WAIT_CURSOR, SW_RESIZE_CURSOR, SE_RESIZE_CURSOR, NW_RESIZE_CURSOR, NE_RESIZE_CURSOR, N_RESIZE_CURSOR, S_RESIZE_CURSOR, W_RESIZE_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, MOVE_CURSOR, NORMAL, ICONIFIED |
| Fields inherited from class java.awt.Component |
TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT |
| Constructor Summary | |
TextUIWindow(String title, InputHandler handler)Constructor for the TextUIWindow object | |
| Method Summary | |
void | actionAutoMapHTML() |
void | actionAutoMapVRML() |
void | actionNoAutoMap() |
void | addKeyListener(KeyListener newListener)Adds a feature to the KeyListener attribute of the TextUIWindow object |
protected void | buildMenus()Description of the Method |
protected void | buildTextAttributeSets() |
void | connectionHijacked()Description of the Method |
void | disableAdvancedMooFeatures()Description of the Method |
boolean | getAdvancedMooFeatures()Gets the AdvancedMooFeatures attribute of the TextUIWindow object |
protected MamCommunicator | getMamCommunicator()Gets the MamCommunicator attribute of the TextUIWindow object |
protected Map | getTextAttributeSets() |
void | keyPressed(KeyEvent keyEvent)Description of the Method |
void | keyReleased(KeyEvent keyEvent)Description of the Method |
void | keyTyped(KeyEvent keyEvent)Description of the Method |
static void | main(String[] args)The main program for the TextUIWindow class |
void | mamFinishedExporting(String mooUserName, String mooPassword, boolean successful)Description of the Method |
void | mamMessageReceivedFromMoo(String mamMessage)Description of the Method |
synchronized void | mamSystemShutdown()Description of the Method |
synchronized void | mooConnectionClosed()Description of the Method |
void | mooExportStarted()Description of the Method |
void | mooTranslationChanged(String languagePair)Description of the Method |
synchronized void | outputFromMam(String output)Description of the Method |
synchronized void | outputFromMoo(String output)Description of the Method |
void | outputFromSystem(String output)Description of the Method |
protected void | playEventSound(String eventSoundName)Description of the Method |
void | randomizeTranslation()Description of the Method |
void | restoreTranslation()Description of the Method |
void | setAdvancedMooFeatures(boolean bAdvanced)Sets the AdvancedMooFeatures attribute of the TextUIWindow object |
void | setMamCommunicator(MamCommunicator mamCommunicator)Sets the MamCommunicator attribute of the TextUIWindow object |
void | show() |
private synchronized void | showText(String text, AttributeSet outputAttributeSet)Description of the Method |
| Methods inherited from class javax.swing.JFrame |
frameInit, createRootPane, processKeyEvent, processWindowEvent, setDefaultCloseOperation, getDefaultCloseOperation, update, setJMenuBar, getJMenuBar, isRootPaneCheckingEnabled, setRootPaneCheckingEnabled, addImpl, remove, setLayout, getRootPane, setRootPane, getContentPane, setContentPane, getLayeredPane, setLayeredPane, getGlassPane, setGlassPane, paramString, getAccessibleContext |
| Methods inherited from class java.awt.Frame |
finalize, addNotify, getTitle, setTitle, getIconImage, setIconImage, getMenuBar, setMenuBar, isResizable, setResizable, setState, getState, remove, removeNotify, setCursor, getCursorType, getFrames |
| Methods inherited from class java.awt.Window |
pack, hide, dispose, toFront, toBack, getToolkit, getWarningString, getLocale, getInputContext, setCursor, getOwner, getOwnedWindows, addWindowListener, removeWindowListener, getListeners, processEvent, getFocusOwner, postEvent, isShowing, applyResourceBundle, applyResourceBundle, getGraphicsConfiguration |
| Methods inherited from class java.awt.Container |
getComponentCount, countComponents, getComponent, getComponents, getInsets, insets, add, add, add, add, add, remove, removeAll, getLayout, doLayout, layout, invalidate, validate, validateTree, setFont, getPreferredSize, preferredSize, getMinimumSize, minimumSize, getMaximumSize, getAlignmentX, getAlignmentY, paint, print, paintComponents, printComponents, addContainerListener, removeContainerListener, processContainerEvent, deliverEvent, getComponentAt, locate, getComponentAt, findComponentAt, findComponentAt, isAncestorOf, list, list |
| Methods inherited from class java.awt.Component |
getName, setName, getParent, getPeer, setDropTarget, getDropTarget, getTreeLock, isValid, isDisplayable, isVisible, isEnabled, setEnabled, enable, enable, disable, isDoubleBuffered, enableInputMethods, setVisible, show, getForeground, setForeground, getBackground, setBackground, getFont, setLocale, getColorModel, getLocation, getLocationOnScreen, location, setLocation, move, setLocation, getSize, size, setSize, resize, setSize, resize, getBounds, bounds, setBounds, reshape, setBounds, getX, getY, getWidth, getHeight, getBounds, getSize, getLocation, isOpaque, isLightweight, getGraphics, getFontMetrics, getCursor, paintAll, repaint, repaint, repaint, repaint, printAll, imageUpdate, createImage, createImage, prepareImage, prepareImage, checkImage, checkImage, contains, inside, contains, dispatchEvent, addComponentListener, removeComponentListener, addFocusListener, removeFocusListener, addHierarchyListener, removeHierarchyListener, addHierarchyBoundsListener, removeHierarchyBoundsListener, removeKeyListener, addMouseListener, removeMouseListener, addMouseMotionListener, removeMouseMotionListener, addInputMethodListener, removeInputMethodListener, getInputMethodRequests, enableEvents, disableEvents, coalesceEvents, processComponentEvent, processFocusEvent, processMouseEvent, processMouseMotionEvent, processInputMethodEvent, processHierarchyEvent, processHierarchyBoundsEvent, handleEvent, mouseDown, mouseDrag, mouseUp, mouseMove, mouseEnter, mouseExit, keyDown, keyUp, action, gotFocus, lostFocus, isFocusTraversable, requestFocus, transferFocus, nextFocus, hasFocus, add, toString, list, list, list, addPropertyChangeListener, removePropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, firePropertyChange, setComponentOrientation, getComponentOrientation |
| Methods inherited from class java.lang.Object |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait |
| Field Detail |
String[] combuffer
int comindex
int compos
int count
int index
String inline
private boolean m_advancedFeatures
protected JMenuItem m_asciiExport
ExclusiveMenuItem m_autoMapHTML
ExclusiveMenuItem m_autoMapVRML
private ExclusiveMenuItem m_currAutoMapSelection
private ExclusiveMenuItem m_currTransSelection
private boolean m_doOutputFromMam
private ExclusiveMenuItem m_echo
private ExclusiveMenuItem m_hideActivity
protected InputHandler m_inputHandler
protected JTextField m_inputTextArea
protected MamCommunicator m_mamComm
ExclusiveMenuItem m_noAutoMap
private ExclusiveMenuItem m_noEcho
private ExclusiveMenuItem m_originalTransSelection
protected DefaultStyledDocument m_outputDocument
protected PhatJTextPane m_outputTextPane
protected JViewport m_outputViewport
String[] m_randomLanguagePairs
private ExclusiveMenuItem m_showActivity
private Map m_textAttributeSets
TranslateListener m_translateListener
JMenu m_transMenu
public final static int MAM_TEXT_TYPE_INDEX
public final static int MOO_TEXT_TYPE_INDEX
final static String OUTPUT_FROM_SYSTEM_SOUND_NAME
public final static int SYSTEM_TEXT_TYPE_INDEX
public final static String[] TEXT_TYPES
| Constructor Detail |
public TextUIWindow(String title, InputHandler handler)
| Method Detail |
public void actionAutoMapHTML()
public void actionAutoMapVRML()
public void actionNoAutoMap()
public void addKeyListener(KeyListener newListener)
protected void buildMenus()
protected void buildTextAttributeSets()
public void connectionHijacked()
public void disableAdvancedMooFeatures()
public boolean getAdvancedMooFeatures()
protected MamCommunicator getMamCommunicator()
protected Map getTextAttributeSets()
public void keyPressed(KeyEvent keyEvent)
public void keyReleased(KeyEvent keyEvent)
public void keyTyped(KeyEvent keyEvent)
public static void main(String[] args)
public void mamFinishedExporting(String mooUserName, String mooPassword, boolean successful)
public void mamMessageReceivedFromMoo(String mamMessage)
public synchronized void mamSystemShutdown()
public synchronized void mooConnectionClosed()
public void mooExportStarted()
public void mooTranslationChanged(String languagePair)
public synchronized void outputFromMam(String output)
public synchronized void outputFromMoo(String output)
public void outputFromSystem(String output)
protected void playEventSound(String eventSoundName)
public void randomizeTranslation()
public void restoreTranslation()
public void setAdvancedMooFeatures(boolean bAdvanced)
public void setMamCommunicator(MamCommunicator mamCommunicator)
public void show()
private synchronized void showText(String text, AttributeSet outputAttributeSet)
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||