cz.hdf.cdnavigator.gui
Class PhotoEditPanel

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 cz.hdf.gui.HPanel
                      extended by cz.hdf.cdnavigator.gui.PhotoEditPanel
All Implemented Interfaces:
cz.hdf.gui.HRelocalize, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible

public class PhotoEditPanel
extends cz.hdf.gui.HPanel

DOCUMENT ME!

Author:
hunter
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.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
protected  cz.hdf.gui.HButtonNoted dtAlbumActionButton
          data tab button for add, edit or del action
protected  cz.hdf.gui.HRadioButton dtAlbumAddRadio
          data tab radio button for action add
protected  javax.swing.JComboBox dtAlbumCDCombo
          data album CDs combo
protected  java.util.List dtAlbumCDIDs
          store CD IDs.
protected  cz.hdf.gui.HRadioButton dtAlbumDelRadio
          data tab radio button for action del
protected  cz.hdf.gui.HRadioButton dtAlbumEditRadio
          data tab radio button for action edit
protected  javax.swing.JTextArea dtAlbumInfoArea
          data tab album info area
protected  javax.swing.JTextField dtAlbumNameField
          data tab album name field
protected  javax.swing.JComboBox dtAlbumRatingCombo
          data album rating combo
protected  javax.swing.JTextField dtAppertureField
          data tab apperture field
protected  javax.swing.JTextField dtCameraField
          data tab camera field
protected  javax.swing.JTextField dtDateField
          data tab date field
protected  javax.swing.JTextField dtExposureBiasField
          data tab exposure bias field
protected  javax.swing.JTextField dtExposureField
          data tab exposure program field
protected  javax.swing.JTextField dtFileField
          data tab file field
protected  javax.swing.JTextField dtFlashField
          data tab flash field
protected  javax.swing.JTextField dtFocalLengthField
          data tab focal length field
protected  javax.swing.JTextField dtHeightField
          data tab height field
protected  javax.swing.JTextField dtISOSensitivityField
          data tab ISO sensitivity field
protected  javax.swing.JTextField dtMeteringModeField
          data tab metering mode field
protected  javax.swing.JTextField dtNumberField
          data tab number field
protected  cz.hdf.gui.HButtonNoted dtPhotoActionButton
          data tab button for add, edit or del action
protected  cz.hdf.gui.HRadioButton dtPhotoAddRadio
          data tab radio button for action add
protected  javax.swing.JComboBox dtPhotoAlbumNameCombo
          data album name combo
protected  cz.hdf.gui.HRadioButton dtPhotoDelRadio
          data tab radio button for action del
protected  cz.hdf.gui.HRadioButton dtPhotoEditRadio
          data tab radio button for action edit
protected  javax.swing.JTextArea dtPhotoInfoArea
          data album tab photo info area
protected  javax.swing.JComboBox dtPhotoRatingCombo
          data album tab photo rating combo
protected  javax.swing.JTextField dtShutterField
          data tab shutter speed field
protected  javax.swing.JTextField dtSubjectDistanceField
          data tab subject distance field
protected  javax.swing.JFileChooser dtThumbFileChooser
          data tab file chooser for thumb image
protected  cz.hdf.gui.HImagePanel dtThumbImage
          data tab thumb image
protected  javax.swing.JTextField dtTimeField
          data tab time field
protected  javax.swing.JTextField dtWhiteBalanceField
          data tab white balance field
protected  javax.swing.JTextField dtWidthField
          data tab width field
private  java.util.logging.Logger logger
          Logger.
protected  PhotoWindow window
          parent window
 
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
PhotoEditPanel(PhotoWindow _window)
           
 
Method Summary
private  void clearAlbumFields()
           
private  void clearPhotoFields()
           
protected  void dtAddAlbumIntoDB()
          Insert new music album into DB.
protected  void dtAddPhotoIntoDB()
          Insert new song into DB.
protected  void dtAlbumChangeProcess(boolean _showStatusInfo)
          Album radioButtons Insert/Update/Delete changed selection.
protected  void dtDeleteAlbumFromDB()
          Delete existing album from DB.
protected  void dtDeletePhotoFromDB()
          Delete existing song from DB.
protected  void dtPhotoChangeProcess(boolean _showStatusInfo)
          Photo radioButtons Insert/Update/Delete changed selection.
protected  void dtUpdateAlbumInDB()
          Update existing album in DB.
protected  void dtUpdatePhotoInDB()
          Update existing song in DB.
protected  void rereadAlbums()
           
protected  void rereadCDs()
           
 
Methods inherited from class cz.hdf.gui.HPanel
relocalize
 
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, getBaseline, getBaselineResizeBehavior, 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, isPaintingForPrint, 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, 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, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dtAlbumAddRadio

protected cz.hdf.gui.HRadioButton dtAlbumAddRadio
data tab radio button for action add


dtAlbumEditRadio

protected cz.hdf.gui.HRadioButton dtAlbumEditRadio
data tab radio button for action edit


dtAlbumDelRadio

protected cz.hdf.gui.HRadioButton dtAlbumDelRadio
data tab radio button for action del


dtAlbumActionButton

protected cz.hdf.gui.HButtonNoted dtAlbumActionButton
data tab button for add, edit or del action


dtPhotoAddRadio

protected cz.hdf.gui.HRadioButton dtPhotoAddRadio
data tab radio button for action add


dtPhotoEditRadio

protected cz.hdf.gui.HRadioButton dtPhotoEditRadio
data tab radio button for action edit


dtPhotoDelRadio

protected cz.hdf.gui.HRadioButton dtPhotoDelRadio
data tab radio button for action del


dtPhotoActionButton

protected cz.hdf.gui.HButtonNoted dtPhotoActionButton
data tab button for add, edit or del action


dtAlbumNameField

protected javax.swing.JTextField dtAlbumNameField
data tab album name field


dtAlbumCDCombo

protected javax.swing.JComboBox dtAlbumCDCombo
data album CDs combo


dtAlbumRatingCombo

protected javax.swing.JComboBox dtAlbumRatingCombo
data album rating combo


dtAlbumInfoArea

protected javax.swing.JTextArea dtAlbumInfoArea
data tab album info area


dtNumberField

protected javax.swing.JTextField dtNumberField
data tab number field


dtDateField

protected javax.swing.JTextField dtDateField
data tab date field


dtTimeField

protected javax.swing.JTextField dtTimeField
data tab time field


dtPhotoInfoArea

protected javax.swing.JTextArea dtPhotoInfoArea
data album tab photo info area


dtPhotoRatingCombo

protected javax.swing.JComboBox dtPhotoRatingCombo
data album tab photo rating combo


dtPhotoAlbumNameCombo

protected javax.swing.JComboBox dtPhotoAlbumNameCombo
data album name combo


dtFileField

protected javax.swing.JTextField dtFileField
data tab file field


dtThumbFileChooser

protected javax.swing.JFileChooser dtThumbFileChooser
data tab file chooser for thumb image


dtThumbImage

protected cz.hdf.gui.HImagePanel dtThumbImage
data tab thumb image


dtHeightField

protected javax.swing.JTextField dtHeightField
data tab height field


dtWidthField

protected javax.swing.JTextField dtWidthField
data tab width field


dtShutterField

protected javax.swing.JTextField dtShutterField
data tab shutter speed field


dtAppertureField

protected javax.swing.JTextField dtAppertureField
data tab apperture field


dtExposureField

protected javax.swing.JTextField dtExposureField
data tab exposure program field


dtExposureBiasField

protected javax.swing.JTextField dtExposureBiasField
data tab exposure bias field


dtISOSensitivityField

protected javax.swing.JTextField dtISOSensitivityField
data tab ISO sensitivity field


dtFocalLengthField

protected javax.swing.JTextField dtFocalLengthField
data tab focal length field


dtSubjectDistanceField

protected javax.swing.JTextField dtSubjectDistanceField
data tab subject distance field


dtMeteringModeField

protected javax.swing.JTextField dtMeteringModeField
data tab metering mode field


dtFlashField

protected javax.swing.JTextField dtFlashField
data tab flash field


dtWhiteBalanceField

protected javax.swing.JTextField dtWhiteBalanceField
data tab white balance field


dtCameraField

protected javax.swing.JTextField dtCameraField
data tab camera field


dtAlbumCDIDs

protected java.util.List dtAlbumCDIDs
store CD IDs. Index of each ID points to indexes in dtAlbumCDCombo.


window

protected PhotoWindow window
parent window


logger

private java.util.logging.Logger logger
Logger. Hierarchy is set to name of this class.

Constructor Detail

PhotoEditPanel

public PhotoEditPanel(PhotoWindow _window)
Parameters:
_window -
Method Detail

clearAlbumFields

private void clearAlbumFields()

dtAlbumChangeProcess

protected void dtAlbumChangeProcess(boolean _showStatusInfo)
Album radioButtons Insert/Update/Delete changed selection.


clearPhotoFields

private void clearPhotoFields()

dtPhotoChangeProcess

protected void dtPhotoChangeProcess(boolean _showStatusInfo)
Photo radioButtons Insert/Update/Delete changed selection.


dtAddAlbumIntoDB

protected void dtAddAlbumIntoDB()
Insert new music album into DB.


dtAddPhotoIntoDB

protected void dtAddPhotoIntoDB()
Insert new song into DB.


dtUpdateAlbumInDB

protected void dtUpdateAlbumInDB()
Update existing album in DB.


dtUpdatePhotoInDB

protected void dtUpdatePhotoInDB()
Update existing song in DB.


dtDeleteAlbumFromDB

protected void dtDeleteAlbumFromDB()
Delete existing album from DB.


dtDeletePhotoFromDB

protected void dtDeletePhotoFromDB()
Delete existing song from DB.


rereadCDs

protected void rereadCDs()

rereadAlbums

protected void rereadAlbums()


CDnavigator JavaDoc, HDF company www.hdf.cz