Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.eireneh.bible.view.awt.beans
Class Display  view Display download Display.java

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended bycom.eireneh.bible.view.awt.beans.Display
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class Display
extends java.awt.Panel

An AWT Bible display pane. TODO: Re-write this using Tasks
Distribution Licence:
Project B is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
The License is available on the internet here, by writing to Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA, Or locally at the Licence link below.
The copyright to this program is held by it's authors.

Version:
D9.I9.T6

Nested Class Summary
 
Nested classes inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
protected  java.awt.Button btn_go
          The GO button
protected  java.awt.Choice cbo_type
          The query chooser
private static java.lang.String DEFAULT_PASSAGE
          The default Passage to view
protected static java.lang.String HELP_MSG
          The Help string
protected static com.eireneh.util.Logger log
          The log stream
private static java.lang.String[] OPTIONS
          The Available options
protected  java.awt.Panel pnl_top
          The top panel
private static int QUERY_FAST_PASS
          Query of type search - must match the index below
private static int QUERY_HELP
          Query of type help - must match the index below
private static int QUERY_MATCH
          Query of type best match - must match the index below
private static int QUERY_PASSAGE
          Query of type passage - must match the index below
private static int QUERY_SEARCH
          Query of type search - must match the index below
protected  java.awt.ScrollPane scr_results
          The results scroller
protected  java.awt.TextField txt_query
          The query entry box
protected  java.awt.TextArea txt_results
          The results
private static int VERSES_MAX
          The maximum number of verses to fetch at a time
 
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
Display()
          Create a basic swing display
 
Method Summary
private  void jbInit()
          Initialize the gui components
 void view()
          When someone clicks on the GO button
 
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, getComponentZOrder, 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, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusDownCycle, update, validate, validateTree
 
Methods inherited from class java.awt.Component
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, 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, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pnl_top

protected java.awt.Panel pnl_top
The top panel


cbo_type

protected java.awt.Choice cbo_type
The query chooser


txt_query

protected java.awt.TextField txt_query
The query entry box


btn_go

protected java.awt.Button btn_go
The GO button


txt_results

protected java.awt.TextArea txt_results
The results


scr_results

protected java.awt.ScrollPane scr_results
The results scroller


log

protected static com.eireneh.util.Logger log
The log stream


DEFAULT_PASSAGE

private static final java.lang.String DEFAULT_PASSAGE
The default Passage to view

See Also:
Constant Field Values

OPTIONS

private static final java.lang.String[] OPTIONS
The Available options


QUERY_PASSAGE

private static final int QUERY_PASSAGE
Query of type passage - must match the index below

See Also:
Constant Field Values

QUERY_MATCH

private static final int QUERY_MATCH
Query of type best match - must match the index below

See Also:
Constant Field Values

QUERY_SEARCH

private static final int QUERY_SEARCH
Query of type search - must match the index below

See Also:
Constant Field Values

QUERY_FAST_PASS

private static final int QUERY_FAST_PASS
Query of type search - must match the index below

See Also:
Constant Field Values

QUERY_HELP

private static final int QUERY_HELP
Query of type help - must match the index below

See Also:
Constant Field Values

VERSES_MAX

private static final int VERSES_MAX
The maximum number of verses to fetch at a time

See Also:
Constant Field Values

HELP_MSG

protected static final java.lang.String HELP_MSG
The Help string

See Also:
Constant Field Values
Constructor Detail

Display

public Display()
Create a basic swing display

Method Detail

jbInit

private void jbInit()
Initialize the gui components


view

public void view()
When someone clicks on the GO button