|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPanel org.bibalex.daf.managers.BaseManagerGUI org.bibalex.daf.managers.checkin.NewJobGUI
public class NewJobGUI
The NewJob GUI.
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.JButton |
addButton
|
private javax.swing.JPanel |
assignJobPanel
|
private javax.swing.JComboBox |
batchComboBox
|
private javax.swing.JLabel |
batchLabel
|
private static int |
BIB_ID
|
private javax.swing.JComboBox |
collectionComboBox
|
private javax.swing.JLabel |
collectionLabel
|
private javax.swing.JComboBox |
conditionComboBox
|
private javax.swing.JLabel |
conditionLabel
|
private javax.swing.JLabel |
creatorLabel
|
private javax.swing.JTextField |
creatorTextField
|
private DateButton |
dateDateButton
|
private javax.swing.JLabel |
dateLabel
|
private DateButton |
dueDateDateButton
|
private javax.swing.JLabel |
dueDateLabel
|
private java.lang.String |
errorMsg
|
private javax.swing.JLabel |
externalIDLabel
|
private ExternalID[] |
externalIDs
|
private javax.swing.JButton |
externalIDsButton
|
private javax.swing.JLabel |
externalIDsLabel
|
private javax.swing.JTextField |
externalIDTextField
|
private javax.swing.JComboBox |
externalIDTypeComboBox
|
private javax.swing.JLabel |
externalIDTypeLabel
|
private javax.swing.JButton |
extractButton
|
private javax.swing.JPanel |
extractInfoPanel
|
private javax.swing.JLabel |
info1Label
|
private javax.swing.JTextField |
info1TextField
|
private javax.swing.JLabel |
info2Label
|
private javax.swing.JTextField |
info2TextField
|
private javax.swing.JLabel |
info3Label
|
private javax.swing.JTextField |
info3TextField
|
private javax.swing.JPanel |
jobInfoPanel
|
private javax.swing.JComboBox |
jobTypeComboBox
|
private javax.swing.JLabel |
jobTypeLabel
|
private javax.swing.JPanel |
jPanel
|
private javax.swing.JComboBox |
languageComboBox
|
private javax.swing.JLabel |
languageLabel
|
private javax.swing.JLabel |
lobLabel
|
private javax.swing.JScrollPane |
lobScrollPane
|
private javax.swing.JTextArea |
lobTextArea
|
private javax.swing.JComboBox |
phaseComboBox
|
private javax.swing.JLabel |
phaseLabel
|
private java.lang.Object[] |
phaseUserPreAssignedEntries
|
private ICheckInPlugIn |
plugIn
|
private javax.swing.JComboBox |
plugInComboBox
|
private javax.swing.JLabel |
plugInLabel
|
private javax.swing.JButton |
preAssignButton
|
private javax.swing.JLabel |
priorityLabel
|
private javax.swing.JTextField |
priorityTextField
|
private javax.swing.JButton |
searchButton
|
private static int |
SERIAL_ID
|
private javax.swing.JComboBox |
storageComboBox
|
private javax.swing.JLabel |
storageLabel
|
private javax.swing.JLabel |
titleLabel
|
private javax.swing.JScrollPane |
titleScrollPane
|
private javax.swing.JTextArea |
titleTextArea
|
private javax.swing.JComboBox |
userComboBox
|
private javax.swing.JLabel |
userLabel
|
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 | |
---|---|
NewJobGUI()
This is the default constructor |
Method Summary | |
---|---|
private void |
addJob()
Adds the job to the database. |
private void |
changeDueDate()
Chanegs the dueDateDatButton value. |
private boolean |
checkInJob_Database(Job job)
Perform the database related steps necessary to check-in the job. |
private boolean |
checkInJob_Physically(Job job)
Perform the physically related steps necessary to check-in the job. |
private void |
extractJob(java.lang.String id,
java.lang.String externalIDType)
Extracts the job information from the selected plug in. |
private void |
fillBatchComboBox()
Fills the batch ComboBox. |
private void |
fillCollectionComboBox()
Fills the Collection ComboBox. |
private void |
fillConditionComboBox()
Fills the job condition ComboBox. |
private void |
fillExternalIDTypeComboBox()
Fills the externalIDType ComboBox. |
private void |
fillJobTypeComboBox()
Fills the job type ComboBox. |
private void |
fillLanguageComboBox()
Fills the language ComboBox. |
private void |
fillPhaseComboBox()
Fills the phase ComboBox. |
private void |
fillPlugInComboBox()
Fills the plugIn ComboBox. |
private void |
fillStorageComboBox()
Fills the storage ComboBox. |
private void |
fillUserComboBox()
Fills the phase ComboBox. |
javax.swing.JButton |
getAddButton()
|
private javax.swing.JPanel |
getAssignJobPanel()
This method initializes assignInfoPanel |
private javax.swing.JComboBox |
getBatchComboBox()
|
private javax.swing.JLabel |
getBatchLabel()
|
private java.lang.String |
getBibID(ExternalID[] externalIDs)
Gets the value of the item whose type is BibID. |
private javax.swing.JComboBox |
getCollectionComboBox()
|
private javax.swing.JLabel |
getCollectionLabel()
|
private javax.swing.JComboBox |
getConditionComboBox()
|
private javax.swing.JLabel |
getConditionLabel()
|
private javax.swing.JLabel |
getCreatorLabel()
|
private javax.swing.JTextField |
getCreatorTextField()
|
private DateButton |
getDateDateButton()
|
private javax.swing.JLabel |
getDateLabel()
|
private DateButton |
getDueDateDateButton()
|
private javax.swing.JLabel |
getDueDateLabel()
|
private javax.swing.JLabel |
getExternalIDLabel()
This method initializes externalID JLabel. |
private javax.swing.JButton |
getExternalIDsButton()
|
private javax.swing.JLabel |
getExternalIDsLabel()
|
private javax.swing.JTextField |
getExternalIDTextField()
This method initializes externalID JTextField. |
private javax.swing.JComboBox |
getExternalIDTypeComboBox()
This method initializes externalIDType JComboBox. |
private javax.swing.JLabel |
getExternalIDTypeLabel()
This method initializes externalIDType JLabel. |
private javax.swing.JButton |
getExtractButton()
This method initializes extract JButton. |
private javax.swing.JPanel |
getExtractInfoPanel()
This method initializes extractInfoPanel |
private javax.swing.JLabel |
getInfo1Label()
|
private javax.swing.JTextField |
getInfo1TextField()
|
private javax.swing.JLabel |
getInfo2Label()
|
private javax.swing.JTextField |
getInfo2TextField()
|
private javax.swing.JLabel |
getInfo3Label()
|
private javax.swing.JTextField |
getInfo3TextField()
|
private javax.swing.JPanel |
getJobInfoPanel()
This method initializes jobInfoPanel. |
private javax.swing.JComboBox |
getJobTypeComboBox()
|
javax.swing.JLabel |
getJobTypeLabel()
|
private javax.swing.JPanel |
getJPanel()
initializes main Panel |
private javax.swing.JComboBox |
getLanguageComboBox()
|
private javax.swing.JLabel |
getLanguageLabel()
|
private javax.swing.JLabel |
getLobLabel()
|
private javax.swing.JScrollPane |
getLobScrollPane()
|
private javax.swing.JTextArea |
getLobTextArea()
|
private javax.swing.JComboBox |
getPhaseComboBox()
|
private javax.swing.JLabel |
getPhaseLabel()
|
private javax.swing.JComboBox |
getPlugInComboBox()
This method initializes PlugIn JComboBox. |
private javax.swing.JLabel |
getPlugInLabel()
This method initializes PlugIn JLabel. |
private javax.swing.JButton |
getPreAssignButton()
This method initializes preAssignButton |
private javax.swing.JLabel |
getPriorityLabel()
|
private javax.swing.JTextField |
getPriorityTextField()
|
private javax.swing.JButton |
getSearchButton()
This method initializes searchButton |
private javax.swing.JComboBox |
getStorageComboBox()
|
private javax.swing.JLabel |
getStorageLabel()
|
private javax.swing.JLabel |
getTitleLabel()
|
private javax.swing.JScrollPane |
getTitleScrollPane()
|
private javax.swing.JTextArea |
getTitleTextArea()
|
private javax.swing.JComboBox |
getUserComboBox()
|
private javax.swing.JLabel |
getUserLabel()
|
private void |
initialize()
Initializes this instance. |
private void |
manageExternalIDs()
Allows the user to manage the external IDs of the job |
void |
reloadManager()
|
private void |
resetControls()
Resets the text displayed on the controls. |
private void |
searchJob(java.lang.String id,
java.lang.String externalIDType)
Extracts the job information from the selected plug in. |
private void |
selectDefaultCondition()
Selects the default job condition. |
private void |
selectDefaultExternalIDType()
Selects the default externalID type. |
private void |
selectDefaultLanguage()
Selects the default language. |
private void |
selectDefaultPlugIn()
Selects the default plugin |
private void |
selectJobType()
Select an item from the collection ComboBox that matches the selected bacth collection |
private void |
selectLanguageByAbbr(java.lang.String abbrv)
Selects the language by abbreviation. |
private void |
showError(java.lang.String msg)
Shows an Error MessageBox dialog. |
private void |
showMsg(java.lang.String msg)
Shows a MessageBox dialog. |
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 |
---|
private static final int BIB_ID
private static final int SERIAL_ID
private javax.swing.JPanel jPanel
private javax.swing.JPanel extractInfoPanel
private javax.swing.JLabel externalIDLabel
private javax.swing.JTextField externalIDTextField
private javax.swing.JLabel externalIDTypeLabel
private javax.swing.JComboBox externalIDTypeComboBox
private javax.swing.JLabel plugInLabel
private javax.swing.JComboBox plugInComboBox
private javax.swing.JButton extractButton
private javax.swing.JPanel jobInfoPanel
private javax.swing.JLabel titleLabel
private javax.swing.JScrollPane titleScrollPane
private javax.swing.JTextArea titleTextArea
private javax.swing.JLabel creatorLabel
private javax.swing.JTextField creatorTextField
private javax.swing.JLabel externalIDsLabel
private javax.swing.JButton externalIDsButton
private javax.swing.JLabel dateLabel
private DateButton dateDateButton
private javax.swing.JLabel info1Label
private javax.swing.JTextField info1TextField
private javax.swing.JLabel info2Label
private javax.swing.JTextField info2TextField
private javax.swing.JLabel info3Label
private javax.swing.JTextField info3TextField
private javax.swing.JLabel lobLabel
private javax.swing.JScrollPane lobScrollPane
private javax.swing.JTextArea lobTextArea
private javax.swing.JLabel dueDateLabel
private DateButton dueDateDateButton
private javax.swing.JLabel priorityLabel
private javax.swing.JTextField priorityTextField
private javax.swing.JLabel collectionLabel
private javax.swing.JComboBox collectionComboBox
private javax.swing.JLabel batchLabel
private javax.swing.JComboBox batchComboBox
private javax.swing.JLabel storageLabel
private javax.swing.JComboBox storageComboBox
private javax.swing.JLabel jobTypeLabel
private javax.swing.JComboBox jobTypeComboBox
private javax.swing.JLabel languageLabel
private javax.swing.JComboBox languageComboBox
private javax.swing.JLabel conditionLabel
private javax.swing.JComboBox conditionComboBox
private javax.swing.JPanel assignJobPanel
private javax.swing.JLabel phaseLabel
private javax.swing.JComboBox phaseComboBox
private javax.swing.JLabel userLabel
private javax.swing.JComboBox userComboBox
private javax.swing.JButton addButton
private javax.swing.JButton preAssignButton
private javax.swing.JButton searchButton
private ICheckInPlugIn plugIn
private ExternalID[] externalIDs
private java.lang.Object[] phaseUserPreAssignedEntries
private java.lang.String errorMsg
Constructor Detail |
---|
public NewJobGUI()
Method Detail |
---|
private void initialize()
public void reloadManager()
reloadManager
in class BaseManagerGUI
BaseManagerGUI.reloadManager()
private void selectDefaultExternalIDType()
private void selectDefaultPlugIn()
private void selectDefaultLanguage()
private void selectDefaultCondition()
private javax.swing.JPanel getJPanel()
private javax.swing.JPanel getExtractInfoPanel()
private javax.swing.JLabel getExternalIDLabel()
private javax.swing.JTextField getExternalIDTextField()
private javax.swing.JLabel getExternalIDTypeLabel()
private javax.swing.JComboBox getExternalIDTypeComboBox()
private void fillExternalIDTypeComboBox()
private javax.swing.JLabel getPlugInLabel()
private javax.swing.JComboBox getPlugInComboBox()
private void fillPlugInComboBox()
private javax.swing.JButton getExtractButton()
private void extractJob(java.lang.String id, java.lang.String externalIDType)
id
- The ID of the job.externalIDType
- The extrenal ID type of the job.private javax.swing.JPanel getJobInfoPanel()
private javax.swing.JLabel getTitleLabel()
private javax.swing.JScrollPane getTitleScrollPane()
private javax.swing.JTextArea getTitleTextArea()
private javax.swing.JLabel getCreatorLabel()
private javax.swing.JTextField getCreatorTextField()
private javax.swing.JLabel getExternalIDsLabel()
private javax.swing.JButton getExternalIDsButton()
private void manageExternalIDs()
private javax.swing.JLabel getDateLabel()
private DateButton getDateDateButton()
private javax.swing.JLabel getInfo1Label()
private javax.swing.JTextField getInfo1TextField()
private javax.swing.JLabel getInfo2Label()
private javax.swing.JTextField getInfo2TextField()
private javax.swing.JLabel getInfo3Label()
private javax.swing.JTextField getInfo3TextField()
private javax.swing.JLabel getLobLabel()
private javax.swing.JScrollPane getLobScrollPane()
private javax.swing.JTextArea getLobTextArea()
private javax.swing.JLabel getLanguageLabel()
private javax.swing.JComboBox getLanguageComboBox()
private void fillLanguageComboBox()
private void selectLanguageByAbbr(java.lang.String abbrv)
abbrv
- The abbreviation of the language.private javax.swing.JLabel getConditionLabel()
private javax.swing.JComboBox getConditionComboBox()
private void fillConditionComboBox()
private javax.swing.JLabel getPriorityLabel()
private javax.swing.JTextField getPriorityTextField()
private javax.swing.JLabel getDueDateLabel()
private DateButton getDueDateDateButton()
private javax.swing.JLabel getCollectionLabel()
private javax.swing.JComboBox getCollectionComboBox()
private void fillBatchComboBox()
private void fillCollectionComboBox()
private javax.swing.JLabel getStorageLabel()
private javax.swing.JComboBox getStorageComboBox()
private void fillStorageComboBox()
private javax.swing.JLabel getBatchLabel()
private javax.swing.JComboBox getBatchComboBox()
private void selectJobType()
public javax.swing.JLabel getJobTypeLabel()
private javax.swing.JComboBox getJobTypeComboBox()
private void changeDueDate()
private void fillJobTypeComboBox()
private javax.swing.JPanel getAssignJobPanel()
private javax.swing.JLabel getPhaseLabel()
private javax.swing.JComboBox getPhaseComboBox()
private void fillPhaseComboBox()
private javax.swing.JLabel getUserLabel()
private javax.swing.JComboBox getUserComboBox()
private void fillUserComboBox()
public javax.swing.JButton getAddButton()
private void addJob()
private boolean checkInJob_Database(Job job)
job
- The job to check in.
private java.lang.String getBibID(ExternalID[] externalIDs)
externalIDs
- The external IDs array to search for the item in.
private boolean checkInJob_Physically(Job job)
job
- The job to check in.
private void resetControls()
private void showMsg(java.lang.String msg)
msg
- The name of the message to retrieve from the resource file.private void showError(java.lang.String msg)
msg
- The name of the message to retrieve from the resource file.private javax.swing.JButton getPreAssignButton()
private javax.swing.JButton getSearchButton()
private void searchJob(java.lang.String id, java.lang.String externalIDType)
id
- The ID of the job.externalIDType
- The extrenal ID type of the job.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |