se.datadosen.explorer
Class JAlbumExplorer

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 se.datadosen.explorer.JAlbumExplorer
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible

public class JAlbumExplorer
extends javax.swing.JPanel
implements java.beans.PropertyChangeListener

A visual file manager for JAlbum

See Also:
Serialized Form

Nested Class Summary
 class JAlbumExplorer.FolderTreeNode
           
 
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
 JAlbumManager albumManager
           
 javax.swing.JPanel albumsPanel
           
 ToggleAction captionLabelTypeAction
           
 javax.swing.Action closeFilterBarAction
           
 javax.swing.Action copyFiltersAction
           
 ToggleAction customOrderingAction
           
 javax.swing.Action deleteAction
           
 javax.swing.Action editModeAction
           
 JEditPanel editor
           
 javax.swing.Action excludeSelectedAction
           
 JExplorerPanel explorer
           
 javax.swing.Action explorerAction
           
 javax.swing.JPanel explorerCard
           
 ToggleAction fileNameLabelTypeAction
           
 javax.swing.Action filterBarAction
           
 ToggleAction foldersFirstAction
           
 javax.swing.Action hideExcludedAction
           
 javax.swing.JCheckBoxMenuItem hideExcludedMenuItem
           
static int IMAGE_CACHE_SIZE
           
 ToggleAction includeOriginalAction
           
 javax.swing.Action includeSelectedAction
           
 javax.swing.Action invertSelectionAction
           
 WordList knownKeywords
           
 javax.swing.Action largeThumbnailsAction
           
 javax.swing.JCheckBoxMenuItem largeThumbnailsMenuItem
           
 javax.swing.JPanel leftPanel
           
 javax.swing.Action newFolderAction
           
 javax.swing.Action openAction
           
 ToggleAction orderByCameraDateAction
           
 ToggleAction orderByDateAction
           
 ToggleAction orderByNameAction
           
 ToggleAction orderByRatingAction
           
 ToggleAction orderFoldersByDateAction
           
 ToggleAction orderFoldersByNameAction
           
 javax.swing.Action parentFolderAction
           
 javax.swing.Action pasteAction
           
 javax.swing.Action pasteFiltersAction
           
 javax.swing.Action photobookAction
           
 javax.swing.Action photobookAliasAction
           
 javax.swing.Action propertiesAction
           
 javax.swing.Action refreshAction
           
 javax.swing.Action removeFiltersAction
           
 javax.swing.Action repairLinkAction
           
 ToggleAction reverseFolderOrderingAction
           
 ToggleAction reverseOrderingAction
           
 javax.swing.JPanel rightPanel
           
 javax.swing.Action rotateLeftAction
           
 javax.swing.Action rotateRightAction
           
 javax.swing.Action saveCopyAsAction
           
 javax.swing.Action selectAllAction
           
 javax.swing.Action showInFilesystemAction
           
 javax.swing.Action shuffleAction
           
 javax.swing.Action slideShowAction
           
 javax.swing.Action toggleFilterBarAction
           
 ToggleAction useJAlbumOrderingAction
           
 javax.swing.JPanel viewPanel
           
 
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
JAlbumExplorer(JAlbumFrame parent)
           
 
Method Summary
 javax.swing.JPopupMenu getComponentPopupMenu()
          For internal use
 AlbumObject getCurrentFolder()
           
 javax.swing.JComponent getNotification()
           
 AlbumObject getRootFolder()
           
 void populateFolderOrderingSubMenu(javax.swing.JMenu menu)
           
 void populateLabelTypeSubMenu(javax.swing.JMenu menu)
           
 void populateOrderingSubMenu(javax.swing.JMenu menu)
           
 void propertyChange(java.beans.PropertyChangeEvent evt)
           
 void selectRootFolderInTreeView()
           
 void setExplorerView()
           
 javax.swing.JComponent setNotification(javax.swing.JComponent notification)
          Don't use directly.
 void setRootFolder(AlbumObject root)
           
 void setTexts()
           
 void startSlideshow()
           
 void syncModel()
           
 void viewFolder(AlbumObject folder)
           
 
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, 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, 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

IMAGE_CACHE_SIZE

public static final int IMAGE_CACHE_SIZE
See Also:
Constant Field Values

parentFolderAction

public javax.swing.Action parentFolderAction

refreshAction

public javax.swing.Action refreshAction

filterBarAction

public javax.swing.Action filterBarAction

toggleFilterBarAction

public javax.swing.Action toggleFilterBarAction

closeFilterBarAction

public javax.swing.Action closeFilterBarAction

largeThumbnailsAction

public javax.swing.Action largeThumbnailsAction

hideExcludedAction

public javax.swing.Action hideExcludedAction

slideShowAction

public javax.swing.Action slideShowAction

repairLinkAction

public javax.swing.Action repairLinkAction

openAction

public javax.swing.Action openAction

showInFilesystemAction

public javax.swing.Action showInFilesystemAction

editModeAction

public javax.swing.Action editModeAction

explorerAction

public javax.swing.Action explorerAction

propertiesAction

public javax.swing.Action propertiesAction

photobookAction

public javax.swing.Action photobookAction

photobookAliasAction

public javax.swing.Action photobookAliasAction

deleteAction

public javax.swing.Action deleteAction

saveCopyAsAction

public javax.swing.Action saveCopyAsAction

newFolderAction

public javax.swing.Action newFolderAction

includeSelectedAction

public javax.swing.Action includeSelectedAction

excludeSelectedAction

public javax.swing.Action excludeSelectedAction

includeOriginalAction

public ToggleAction includeOriginalAction

rotateLeftAction

public javax.swing.Action rotateLeftAction

rotateRightAction

public javax.swing.Action rotateRightAction

pasteAction

public javax.swing.Action pasteAction

selectAllAction

public javax.swing.Action selectAllAction

copyFiltersAction

public javax.swing.Action copyFiltersAction

pasteFiltersAction

public javax.swing.Action pasteFiltersAction

removeFiltersAction

public javax.swing.Action removeFiltersAction

invertSelectionAction

public javax.swing.Action invertSelectionAction

captionLabelTypeAction

public ToggleAction captionLabelTypeAction

fileNameLabelTypeAction

public ToggleAction fileNameLabelTypeAction

orderByNameAction

public ToggleAction orderByNameAction

orderByDateAction

public ToggleAction orderByDateAction

orderByCameraDateAction

public ToggleAction orderByCameraDateAction

orderByRatingAction

public ToggleAction orderByRatingAction

customOrderingAction

public ToggleAction customOrderingAction

useJAlbumOrderingAction

public ToggleAction useJAlbumOrderingAction

reverseOrderingAction

public ToggleAction reverseOrderingAction

foldersFirstAction

public ToggleAction foldersFirstAction

orderFoldersByNameAction

public ToggleAction orderFoldersByNameAction

orderFoldersByDateAction

public ToggleAction orderFoldersByDateAction

reverseFolderOrderingAction

public ToggleAction reverseFolderOrderingAction

shuffleAction

public javax.swing.Action shuffleAction

albumManager

public final JAlbumManager albumManager

viewPanel

public javax.swing.JPanel viewPanel

explorerCard

public javax.swing.JPanel explorerCard

leftPanel

public javax.swing.JPanel leftPanel

knownKeywords

public final WordList knownKeywords

albumsPanel

public javax.swing.JPanel albumsPanel

rightPanel

public javax.swing.JPanel rightPanel

explorer

public JExplorerPanel explorer

editor

public JEditPanel editor

hideExcludedMenuItem

public javax.swing.JCheckBoxMenuItem hideExcludedMenuItem

largeThumbnailsMenuItem

public javax.swing.JCheckBoxMenuItem largeThumbnailsMenuItem
Constructor Detail

JAlbumExplorer

public JAlbumExplorer(JAlbumFrame parent)
Method Detail

setNotification

public javax.swing.JComponent setNotification(javax.swing.JComponent notification)
Don't use directly. Use JAlbumFrame.showNotification()


getNotification

public javax.swing.JComponent getNotification()

getComponentPopupMenu

public javax.swing.JPopupMenu getComponentPopupMenu()
For internal use

Overrides:
getComponentPopupMenu in class javax.swing.JComponent

populateLabelTypeSubMenu

public void populateLabelTypeSubMenu(javax.swing.JMenu menu)

populateOrderingSubMenu

public void populateOrderingSubMenu(javax.swing.JMenu menu)

populateFolderOrderingSubMenu

public void populateFolderOrderingSubMenu(javax.swing.JMenu menu)

setTexts

public void setTexts()

syncModel

public void syncModel()

startSlideshow

public void startSlideshow()

getRootFolder

public AlbumObject getRootFolder()

getCurrentFolder

public AlbumObject getCurrentFolder()
Since:
10.1

setRootFolder

public void setRootFolder(AlbumObject root)

setExplorerView

public void setExplorerView()

selectRootFolderInTreeView

public void selectRootFolderInTreeView()

viewFolder

public void viewFolder(AlbumObject folder)

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent evt)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener