org.bibalex.daf.managers.checkin
Class SearchGUI

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by org.bibalex.daf.managers.BaseManagerGUI
                      extended by org.bibalex.daf.managers.checkin.SearchGUI
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible

public class SearchGUI
extends BaseManagerGUI

This class introduces DAFv2 components to User in order to form search query and executes this query

Author:
Mohammed.Abuouda
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
private  javax.swing.JComboBox AndOrCollectionComboBox
           
private  javax.swing.JComboBox AndOrCreatorComboBox
           
private  javax.swing.JComboBox AndOrExtIDComboBox
           
private  javax.swing.JComboBox AndOrExtTypeComboBox
           
private  javax.swing.JComboBox AndOrjobIDComboBox
           
private  javax.swing.JComboBox AndOrJobTypeComboBox
           
private  javax.swing.JComboBox AndOrLangComboBox
           
private  javax.swing.JComboBox CollectionComboBox
           
private  javax.swing.JLabel CollLabel
           
private  javax.swing.JLabel creatorLabel
           
private  javax.swing.JTextField creatorTextField
           
private  javax.swing.JLabel criteriaLabel
           
private  javax.swing.JLabel extIDLabel
           
private  javax.swing.JTextField extIDTextField
           
private  javax.swing.JComboBox ExtTypeComboBox
           
private  javax.swing.JLabel ExtTypeLbl
           
private  javax.swing.JLabel jobIDlabel
           
private  javax.swing.JTextField jobIDTextField
           
private  javax.swing.JTextField jobTitleTextField
           
private  javax.swing.JLabel jobTypeLabel
           
private  javax.swing.JComboBox jobTypesComboBox
           
private  javax.swing.JPanel jPanel
           
private  javax.swing.JComboBox LangComboBox
           
private  javax.swing.JLabel LangLabel
           
private  javax.swing.JPanel masterPanel
           
private  javax.swing.JButton submitButton
           
private  javax.swing.JLabel titleLabel
           
 
Fields inherited from class org.bibalex.daf.managers.BaseManagerGUI
currentInstance, resourceManager
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
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
SearchGUI()
          Class constructor
 
Method Summary
private  javax.swing.JComboBox getAndOrCollectionComboBox()
          This method initializes AndOrCollectionComboBox
private  javax.swing.JComboBox getAndOrCreatorComboBox()
          This method initializes AndOrCreatorComboBox
private  javax.swing.JComboBox getAndOrExtIDComboBox()
          This method initializes AndOrExtIDComboBox
private  javax.swing.JComboBox getAndOrExtTypeComboBox()
          This method initializes AndOrExtTypeComboBox
private  javax.swing.JComboBox getAndOrJobIDComboBox()
          This method initializes AndOrJobIDComboBox
private  javax.swing.JComboBox getAndOrJobTypeComboBox()
          This method initializes AndOrJobTypeComboBox
private  javax.swing.JComboBox getAndOrLangComboBox()
          This method initializes AndOrLangComboBox
private  javax.swing.JComboBox getCollectionComboBox()
          This method initializes CollectionComboBox and loads all Collections
private  javax.swing.JTextField getCreatorTextField()
          This method initializes CreatorTextField
private  javax.swing.JTextField getExtIDTextField()
          This method initializes ExtIDTextField
private  javax.swing.JComboBox getExtTypeComboBox()
          This method initializes ExtTypeComboBox and loads all ExternalTypes
private  javax.swing.JTextField getJobIDTextField()
          This method initializes JobIDTextField
private  javax.swing.JTextField getJobTitleTextField()
          This method initializes JobTitleTextField
private  javax.swing.JComboBox getJobTypesComboBox()
          This method initializes jobTypesComboBox and loads all Job Types
private  javax.swing.JPanel getJPanel()
          This method initializes jPanel
private  javax.swing.JComboBox getLangComboBox()
          This method initializes LangComboBox and loads all Languages
private  javax.swing.JPanel getMasterPanel()
          This method initializes masterPanel
private  javax.swing.JButton getSubmitButton()
          This method initializes SubmitButton
private  void initialize()
          This method initializes this
private  java.util.ArrayList prepareSearchArguments()
          this method gets the selected search parameters to be passed to Search SP
 void reloadManager()
          Reset controls when Search tab change
private  void showMsg(java.lang.String msg)
           
 
Methods inherited from class org.bibalex.daf.managers.BaseManagerGUI
setFocus, updateTitle
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, 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, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, 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

jPanel

private javax.swing.JPanel jPanel

masterPanel

private javax.swing.JPanel masterPanel

extIDTextField

private javax.swing.JTextField extIDTextField

jobIDTextField

private javax.swing.JTextField jobIDTextField

creatorTextField

private javax.swing.JTextField creatorTextField

jobTitleTextField

private javax.swing.JTextField jobTitleTextField

submitButton

private javax.swing.JButton submitButton

CollectionComboBox

private javax.swing.JComboBox CollectionComboBox

ExtTypeComboBox

private javax.swing.JComboBox ExtTypeComboBox

LangComboBox

private javax.swing.JComboBox LangComboBox

jobTypesComboBox

private javax.swing.JComboBox jobTypesComboBox

AndOrExtTypeComboBox

private javax.swing.JComboBox AndOrExtTypeComboBox

AndOrJobTypeComboBox

private javax.swing.JComboBox AndOrJobTypeComboBox

AndOrLangComboBox

private javax.swing.JComboBox AndOrLangComboBox

AndOrCollectionComboBox

private javax.swing.JComboBox AndOrCollectionComboBox

AndOrjobIDComboBox

private javax.swing.JComboBox AndOrjobIDComboBox

AndOrExtIDComboBox

private javax.swing.JComboBox AndOrExtIDComboBox

AndOrCreatorComboBox

private javax.swing.JComboBox AndOrCreatorComboBox

jobTypeLabel

private javax.swing.JLabel jobTypeLabel

CollLabel

private javax.swing.JLabel CollLabel

LangLabel

private javax.swing.JLabel LangLabel

criteriaLabel

private javax.swing.JLabel criteriaLabel

ExtTypeLbl

private javax.swing.JLabel ExtTypeLbl

titleLabel

private javax.swing.JLabel titleLabel

jobIDlabel

private javax.swing.JLabel jobIDlabel

extIDLabel

private javax.swing.JLabel extIDLabel

creatorLabel

private javax.swing.JLabel creatorLabel
Constructor Detail

SearchGUI

public SearchGUI()
Class constructor

Method Detail

initialize

private void initialize()
This method initializes this


getJPanel

private javax.swing.JPanel getJPanel()
This method initializes jPanel

Returns:
javax.swing.JPanel

getMasterPanel

private javax.swing.JPanel getMasterPanel()
This method initializes masterPanel

Returns:
javax.swing.JPanel

getJobTitleTextField

private javax.swing.JTextField getJobTitleTextField()
This method initializes JobTitleTextField

Returns:
javax.swing.JTextField

getJobIDTextField

private javax.swing.JTextField getJobIDTextField()
This method initializes JobIDTextField

Returns:
javax.swing.JTextField

getExtIDTextField

private javax.swing.JTextField getExtIDTextField()
This method initializes ExtIDTextField

Returns:
javax.swing.JTextField

getCreatorTextField

private javax.swing.JTextField getCreatorTextField()
This method initializes CreatorTextField

Returns:
javax.swing.JTextField

getSubmitButton

private javax.swing.JButton getSubmitButton()
This method initializes SubmitButton

Returns:
javax.swing.JButton

showMsg

private void showMsg(java.lang.String msg)

getJobTypesComboBox

private javax.swing.JComboBox getJobTypesComboBox()
This method initializes jobTypesComboBox and loads all Job Types

Returns:
javax.swing.JComboBox

getCollectionComboBox

private javax.swing.JComboBox getCollectionComboBox()
This method initializes CollectionComboBox and loads all Collections

Returns:
javax.swing.JComboBox

getLangComboBox

private javax.swing.JComboBox getLangComboBox()
This method initializes LangComboBox and loads all Languages

Returns:
javax.swing.JComboBox

getExtTypeComboBox

private javax.swing.JComboBox getExtTypeComboBox()
This method initializes ExtTypeComboBox and loads all ExternalTypes

Returns:
javax.swing.JComboBox

getAndOrLangComboBox

private javax.swing.JComboBox getAndOrLangComboBox()
This method initializes AndOrLangComboBox

Returns:
javax.swing.JComboBox

getAndOrCollectionComboBox

private javax.swing.JComboBox getAndOrCollectionComboBox()
This method initializes AndOrCollectionComboBox

Returns:
javax.swing.JComboBox

getAndOrJobTypeComboBox

private javax.swing.JComboBox getAndOrJobTypeComboBox()
This method initializes AndOrJobTypeComboBox

Returns:
javax.swing.JComboBox

getAndOrExtTypeComboBox

private javax.swing.JComboBox getAndOrExtTypeComboBox()
This method initializes AndOrExtTypeComboBox

Returns:
javax.swing.JComboBox

getAndOrJobIDComboBox

private javax.swing.JComboBox getAndOrJobIDComboBox()
This method initializes AndOrJobIDComboBox

Returns:
javax.swing.JComboBox

getAndOrExtIDComboBox

private javax.swing.JComboBox getAndOrExtIDComboBox()
This method initializes AndOrExtIDComboBox

Returns:
javax.swing.JComboBox

getAndOrCreatorComboBox

private javax.swing.JComboBox getAndOrCreatorComboBox()
This method initializes AndOrCreatorComboBox

Returns:
javax.swing.JComboBox

prepareSearchArguments

private java.util.ArrayList prepareSearchArguments()
this method gets the selected search parameters to be passed to Search SP


reloadManager

public void reloadManager()
Reset controls when Search tab change

Specified by:
reloadManager in class BaseManagerGUI