modnlp.tec.client.gui
public class BrowserFrame extends BrowserGUI
Dictionary
,
Server
,
Serialized Formjavax.swing.JFrame.AccessibleJFrame
Modifier and Type | Field and Description |
---|---|
java.lang.String |
clicked |
int |
column |
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Constructor and Description |
---|
BrowserFrame(int width,
int height,
ConcordanceBrowser parent)
Create a TEC Window Object
|
Modifier and Type | Method and Description |
---|---|
void |
addPluginMenuItem(Plugin plugin,
java.lang.String mentry) |
void |
alertWindow(java.lang.String msg) |
void |
clearMessageArea() |
void |
clickAdvConcFlag(boolean f) |
void |
concordanceChanged(ConcordanceDisplayEvent e)
Implement ConcordanceDisplayListener method.
|
void |
concordanceChanged(ConcordanceListSizeEvent e)
Implement ConcordanceDisplayListener method.
|
void |
defaultChanged(DefaultChangeEvent e)
Event raised (typically by a DefaultManager) to indicate
that a preference has changed in a way that requires
its displayed form to be updated.
|
void |
defaultChanged(FontSizeChangeEvent e) |
void |
defaultChanged(SortHorizonChangeEvent e) |
boolean |
getCase() |
int |
getListFontSize() |
ConcordanceListModel |
getListModel() |
int |
getPreferredFontSize() |
boolean |
getPunctuation() |
int |
getSortLeftCtxHorizon() |
int |
getSortRightCtxHorizon() |
void |
initGUI() |
boolean |
interruptDownloading() |
void |
itemStateChanged(java.awt.event.ItemEvent e) |
void |
labelMessage(java.lang.String msg)
Display a message in this window's user message area.
|
void |
progressBarUnknownStart(java.lang.String msg) |
void |
resetShowDetailString() |
void |
setListFontSize(int s) |
void |
setShowDetailString(int col,
java.lang.String str) |
void |
updateStatusLabel(java.lang.String msg) |
void |
updateStatusLabelScroll(java.lang.String msg) |
void |
valueChanged(javax.swing.event.ListSelectionEvent e) |
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, 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, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public BrowserFrame(int width, int height, ConcordanceBrowser parent)
width
- window widthheight
- window heightpublic void initGUI()
public void resetShowDetailString()
public void setShowDetailString(int col, java.lang.String str)
public void addPluginMenuItem(Plugin plugin, java.lang.String mentry)
public void itemStateChanged(java.awt.event.ItemEvent e)
public void clickAdvConcFlag(boolean f)
public void valueChanged(javax.swing.event.ListSelectionEvent e)
valueChanged
in interface javax.swing.event.ListSelectionListener
valueChanged
in class BrowserGUI
public boolean interruptDownloading()
public void alertWindow(java.lang.String msg)
public void concordanceChanged(ConcordanceDisplayEvent e)
concordanceChanged
in interface ConcordanceDisplayListener
concordanceChanged
in class BrowserGUI
e
- a concordance list eventpublic void concordanceChanged(ConcordanceListSizeEvent e)
concordanceChanged
in interface ConcordanceDisplayListener
concordanceChanged
in class BrowserGUI
public void progressBarUnknownStart(java.lang.String msg)
public void updateStatusLabel(java.lang.String msg)
updateStatusLabel
in class BrowserGUI
public void updateStatusLabelScroll(java.lang.String msg)
public void labelMessage(java.lang.String msg)
public void clearMessageArea()
public void defaultChanged(DefaultChangeEvent e)
TecDefaultChangeListener
defaultChanged
in interface DefaultChangeListener
defaultChanged
in interface TecDefaultChangeListener
defaultChanged
in class BrowserGUI
e
- a concordance list eventDefaultManager
,
DefaultChangeEvent
public void defaultChanged(SortHorizonChangeEvent e)
defaultChanged
in interface TecDefaultChangeListener
defaultChanged
in class BrowserGUI
public void defaultChanged(FontSizeChangeEvent e)
defaultChanged
in interface TecDefaultChangeListener
defaultChanged
in class BrowserGUI
public int getListFontSize()
public int getPreferredFontSize()
getPreferredFontSize
in class BrowserGUI
public void setListFontSize(int s)
public int getSortRightCtxHorizon()
public int getSortLeftCtxHorizon()
public boolean getCase()
public boolean getPunctuation()
public ConcordanceListModel getListModel()