|
||||||||||
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.BatchManagerGUI
public class BatchManagerGUI
The Batch Manager GUI.
Nested Class Summary | |
---|---|
private static class |
BatchManagerGUI.UIStates
|
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.JLabel |
availableBatchLabel
|
private javax.swing.JList |
availableBatchList
|
private javax.swing.JScrollPane |
availableBatchScrollPane
|
private javax.swing.JLabel |
availableCollectionLabel
|
private javax.swing.JList |
availableCollectionList
|
private javax.swing.JScrollPane |
availableCollectionScrollPane
|
private javax.swing.JComboBox |
collectionComboBox
|
private javax.swing.JLabel |
collectionLabel
|
private javax.swing.JLabel |
commentLabel
|
private javax.swing.JTextField |
commentTextField
|
private javax.swing.JButton |
createNewBatchButton
|
private DateButton |
dateDateButton
|
private javax.swing.JLabel |
dateLabel
|
private javax.swing.JButton |
deleteBatchButton
|
private javax.swing.JPanel |
detailsPanel
|
private javax.swing.JPanel |
jContentPane
|
private javax.swing.JComboBox |
jobTypeComboBox
|
private javax.swing.JLabel |
jobTypeLabel
|
protected int |
lastSelectedBatchIndex
|
private javax.swing.JPanel |
masterPanel
|
private javax.swing.JLabel |
nameLabel
|
private javax.swing.JTextField |
nameTextField
|
private boolean |
recordModified
|
private javax.swing.JButton |
saveButton
|
private BatchManagerGUI.UIStates |
uiState
|
private java.awt.event.KeyAdapter |
updatesKeyAdapter
|
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 | |
---|---|
BatchManagerGUI()
Creates a new instance of BatchManagerGUI. |
Method Summary | |
---|---|
private void |
adjustDetailsPanel()
|
private void |
clearDetailsPanel()
Clears the Details JPanel. |
private boolean |
confirmDiscardChanges()
Confirm discard User changes message |
private void |
fieldsChanged()
|
private void |
fillCollectionComboBox()
Fills the collection ComboBox. |
private void |
fillJobTypeComboBox()
Fills the jobType ComboBox. |
private javax.swing.JLabel |
getAvailableBatchLabel()
Initializes availableBatch JLabel |
private javax.swing.JList |
getAvailableBatchList()
Initializes availableBatch JList |
private javax.swing.JScrollPane |
getAvailableBatchScrollPane()
|
private javax.swing.JLabel |
getAvailableCollectionLabel()
Initializes availableCollection JLabel |
private javax.swing.JList |
getAvailableCollectionList()
Initializes availableBatch JList |
private javax.swing.JScrollPane |
getAvailableCollectionScrollPane()
|
private javax.swing.JComboBox |
getCollectionComboBox()
Initializes collection ComboBox. |
private javax.swing.JLabel |
getCollectionLabel()
Initializes collection JLabel. |
private javax.swing.JLabel |
getCommentLabel()
Initializes comment JLabel. |
private javax.swing.JTextField |
getCommentTextField()
Initializes comment JTextField |
private javax.swing.JButton |
getCreateNewBatchButton()
This method initializes CreateNewBatch JButton. |
private DateButton |
getDateDateButton()
Initializes date DateButton |
private javax.swing.JLabel |
getDateLabel()
Initializes date JLabel. |
private javax.swing.JButton |
getDeleteBatchButton()
Initializes deleteBatch JButton |
private javax.swing.JPanel |
getDetailsPanel()
This method initializes detailsPanel |
private java.awt.Container |
getJContentPane()
|
private javax.swing.JComboBox |
getJobTypeComboBox()
Initializes job type ComboBox |
private javax.swing.JLabel |
getJobTypeLabel()
Initializes job type JLabel. |
private javax.swing.JPanel |
getMasterPanel()
This method initializes masterPanel |
private javax.swing.JLabel |
getNameLabel()
Initializes name JLabel. |
private javax.swing.JTextField |
getNameTextField()
Initializes name JTextField. |
private javax.swing.JButton |
getSaveButton()
This method initializes saveButton |
private void |
initialize()
Initializes this instance. |
private void |
loadAvailableBatchList()
|
private void |
loadAvailableCollectionList()
|
void |
reloadManager()
|
private void |
saveBatch()
|
private void |
setCreateMode()
Sets this panel in create mode. |
private void |
setEditMode()
Sets this panel in edit mode. |
private void |
showMsg(java.lang.String msg)
|
private boolean |
validateValues()
Makes sure taht the values entered are valid. |
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 BatchManagerGUI.UIStates uiState
protected int lastSelectedBatchIndex
private boolean recordModified
private javax.swing.JPanel jContentPane
private javax.swing.JPanel masterPanel
private javax.swing.JLabel availableCollectionLabel
private javax.swing.JScrollPane availableCollectionScrollPane
private javax.swing.JList availableCollectionList
private javax.swing.JLabel availableBatchLabel
private javax.swing.JScrollPane availableBatchScrollPane
private javax.swing.JList availableBatchList
private javax.swing.JButton deleteBatchButton
private javax.swing.JButton createNewBatchButton
private javax.swing.JPanel detailsPanel
private javax.swing.JLabel nameLabel
private javax.swing.JTextField nameTextField
private javax.swing.JLabel dateLabel
private DateButton dateDateButton
private javax.swing.JLabel commentLabel
private javax.swing.JTextField commentTextField
private javax.swing.JLabel collectionLabel
private javax.swing.JComboBox collectionComboBox
private javax.swing.JLabel jobTypeLabel
private javax.swing.JComboBox jobTypeComboBox
private javax.swing.JButton saveButton
private java.awt.event.KeyAdapter updatesKeyAdapter
Constructor Detail |
---|
public BatchManagerGUI()
Method Detail |
---|
private void initialize()
private java.awt.Container getJContentPane()
private javax.swing.JPanel getMasterPanel()
private javax.swing.JLabel getAvailableCollectionLabel()
AvailableBatchLabel
private javax.swing.JScrollPane getAvailableCollectionScrollPane()
private javax.swing.JList getAvailableCollectionList()
private void loadAvailableCollectionList()
private javax.swing.JLabel getAvailableBatchLabel()
AvailableBatchLabel
private javax.swing.JScrollPane getAvailableBatchScrollPane()
private javax.swing.JList getAvailableBatchList()
private void loadAvailableBatchList()
private javax.swing.JButton getDeleteBatchButton()
private javax.swing.JButton getCreateNewBatchButton()
private void setCreateMode()
private void setEditMode()
private void adjustDetailsPanel()
private void clearDetailsPanel()
private javax.swing.JPanel getDetailsPanel()
private javax.swing.JLabel getNameLabel()
private javax.swing.JTextField getNameTextField()
private javax.swing.JLabel getDateLabel()
private DateButton getDateDateButton()
private javax.swing.JLabel getCommentLabel()
private javax.swing.JTextField getCommentTextField()
private javax.swing.JLabel getCollectionLabel()
private javax.swing.JComboBox getCollectionComboBox()
private void fillCollectionComboBox()
private javax.swing.JLabel getJobTypeLabel()
private javax.swing.JComboBox getJobTypeComboBox()
private void fillJobTypeComboBox()
private void fieldsChanged()
private javax.swing.JButton getSaveButton()
private void saveBatch()
private boolean validateValues()
private boolean confirmDiscardChanges()
private void showMsg(java.lang.String msg)
public void reloadManager()
reloadManager
in class BaseManagerGUI
BaseManagerGUI.reloadManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |