org.thdl.tib.scanner
Class DuffScannerPanel

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--org.thdl.tib.scanner.ScannerPanel
                          |
                          +--org.thdl.tib.scanner.DuffScannerPanel
All Implemented Interfaces:
Accessible, ActionListener, EventListener, ImageObserver, MenuContainer, Serializable

public class DuffScannerPanel
extends ScannerPanel

Graphical interfase to be used by applications and applets to input a Tibetan text (in Roman or Tibetan script) and display the words (in Roman or Tibetan script) with their definitions (in Roman script). Uses the THDL inputting system.

Author:
Andrés Montano Pellegrini
See Also:
WindowScannerFilter, AppletScannerFilter, Serialized Form

Field Summary
private  org.thdl.tib.input.DuffPane duffInput
           
private  TextArea fullDef
           
private  JPanel inputPanel
           
private  JScrollPane listDef
           
private  org.thdl.tib.scanner.DictionaryTableModel model
           
(package private)  boolean showingTibetan
           
private  org.thdl.tib.scanner.DictionaryTable table
           
private  TextArea txtInput
           
 
Fields inherited from class org.thdl.tib.scanner.ScannerPanel
chkDicts, cmdTranslate, scanner
 
Fields inherited from class java.awt.Panel
 
Fields inherited from class java.awt.Container
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
DuffScannerPanel(String file)
           
 
Method Summary
 void addFocusListener(FocusListener fl)
           
 void clear()
           
 void setEnableTibetanScript(boolean enabled)
           
 void translate()
           
 
Methods inherited from class org.thdl.tib.scanner.ScannerPanel
actionPerformed, closingRemarks, doingStatus, returnStatusToNorm, setDicts
 
Methods inherited from class java.awt.Panel
addNotify, getAccessibleContext
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fullDef

private TextArea fullDef

txtInput

private TextArea txtInput

duffInput

private org.thdl.tib.input.DuffPane duffInput

inputPanel

private JPanel inputPanel

listDef

private JScrollPane listDef

table

private org.thdl.tib.scanner.DictionaryTable table

model

private org.thdl.tib.scanner.DictionaryTableModel model

showingTibetan

boolean showingTibetan
Constructor Detail

DuffScannerPanel

public DuffScannerPanel(String file)
Method Detail

addFocusListener

public void addFocusListener(FocusListener fl)
Overrides:
addFocusListener in class ScannerPanel

clear

public void clear()
Specified by:
clear in class ScannerPanel

translate

public void translate()
Specified by:
translate in class ScannerPanel

setEnableTibetanScript

public void setEnableTibetanScript(boolean enabled)
Overrides:
setEnableTibetanScript in class ScannerPanel


These API docs were created 02/02/2003 08:20 PM.
Copyright © 2001-2002 Tibetan and Himalayan Digital Library. All Rights Reserved.
Hosted by SourceForge_Logo