Package se.datadosen.explorer
Class JAlbumExplorer
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
se.datadosen.explorer.JAlbumExplorer
- All Implemented Interfaces:
java.awt.datatransfer.ClipboardOwner
,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, java.awt.datatransfer.ClipboardOwner
A visual file manager for JAlbumj
- 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
-
Field Summary
Fields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
-
Constructor Summary
Constructors Constructor Description JAlbumExplorer(JAlbumFrame parent)
-
Method Summary
Modifier and Type Method Description void
animateWorkflow()
java.util.List<javax.swing.JMenuItem>
createLabelTypeItems()
javax.swing.JPopupMenu
getComponentPopupMenu()
For internal useAlbumObject
getCurrentFolder()
javax.swing.JComponent
getNotification()
AlbumObject
getRootFolder()
void
gotoPath(java.lang.String path)
Experimentalstatic boolean
isPortableControlDown(java.awt.event.MouseEvent e)
boolean
isPreviewTabShowing()
boolean
isProjectLoaded()
void
lostOwnership(java.awt.datatransfer.Clipboard clipboard, java.awt.datatransfer.Transferable contents)
void
populateFolderOrderingSubMenu(javax.swing.JMenu menu)
void
populateOrderingSubMenu(javax.swing.JMenu menu)
void
populateOrganizeMenu(javax.swing.JMenu menu)
void
propertyChange(java.beans.PropertyChangeEvent evt)
void
redraw()
Lighter than refreshAction (doesn't invalidate AlbumObject model) Multiple consecutive calls are packed into one call to drawNowvoid
redrawNow()
Lighter than refreshAction (doesn't invalidate AlbumObject model)void
refreshCurrentNode()
void
rememberLastLocation()
void
selectNode(AlbumObject folder)
void
selectRootFolderInTreeView()
void
setEnableRefresh(boolean enable)
void
setExplorerView()
javax.swing.JComponent
setNotification(javax.swing.JComponent notification)
Don't use directly.void
setRootFolder(AlbumObject root)
void
setTexts()
void
showPreview()
void
syncModel()
void
updateStatusBar()
For internal use onlyvoid
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, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, 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, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, 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, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Field Details
-
IMAGE_CACHE_SIZE
public static final int IMAGE_CACHE_SIZE- See Also:
- Constant Field Values
-
parent
-
addAction
public javax.swing.Action addAction -
parentFolderAction
public javax.swing.Action parentFolderAction -
refreshAction
public javax.swing.Action refreshAction -
addressBarAction
public javax.swing.Action addressBarAction -
filterBarAction
public javax.swing.Action filterBarAction -
folderPropertiesAction
public javax.swing.Action folderPropertiesAction -
closeFilterBarAction
public javax.swing.Action closeFilterBarAction -
largeThumbnailsAction
public javax.swing.Action largeThumbnailsAction -
hideExcludedAction
public javax.swing.Action hideExcludedAction -
repairLinkAction
public javax.swing.Action repairLinkAction -
openAction
public javax.swing.Action openAction -
showInFilesystemAction
public javax.swing.Action showInFilesystemAction -
explorerAction
public javax.swing.Action explorerAction -
editModeAction
public javax.swing.Action editModeAction -
previewAction
public javax.swing.Action previewAction -
shareModeAction
public javax.swing.Action shareModeAction -
reviewModeAction
public javax.swing.Action reviewModeAction -
notificationButtonAction
public javax.swing.Action notificationButtonAction -
propertiesAction
public javax.swing.Action propertiesAction -
deleteAction
public javax.swing.Action deleteAction -
saveCopyAsAction
public javax.swing.Action saveCopyAsAction -
newEmptyPageAction
public javax.swing.Action newEmptyPageAction -
newWebLocationAction
public javax.swing.Action newWebLocationAction -
newFolderAction
public javax.swing.Action newFolderAction -
includeSelectedAction
public javax.swing.Action includeSelectedAction -
zoomInAction
public javax.swing.Action zoomInAction -
zoomOutAction
public javax.swing.Action zoomOutAction -
resetZoomAction
public javax.swing.Action resetZoomAction -
includeOriginalAction
-
useOriginalAction
-
hideAction
-
rotateLeftAction
public javax.swing.Action rotateLeftAction -
rotateRightAction
public javax.swing.Action rotateRightAction -
flipAction
public javax.swing.Action flipAction -
cutAction
public javax.swing.Action cutAction -
copyAction
public javax.swing.Action copyAction -
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 -
detailsLabelTypeAction
-
captionLabelTypeAction
-
titleLabelTypeAction
-
fileNameLabelTypeAction
-
keywordsLabelTypeAction
-
flipProjectOrderingAction
public javax.swing.Action flipProjectOrderingAction -
newProjectAction
public javax.swing.Action newProjectAction -
projectGalleryAction
public javax.swing.Action projectGalleryAction -
orderByNameAction
-
orderByLastModifiedDateAction
-
orderByAddedDateAction
-
orderByCameraDateAction
-
orderByRatingAction
-
orderByTitleAction
-
orderByCommentAction
-
orderByCategoryAction
-
customOrderingAction
-
useJAlbumOrderingAction
-
reverseOrderingAction
-
foldersFirstAction
-
orderFoldersByNameAction
-
orderFoldersByLastModifiedDateAction
-
orderFoldersByAddedDateAction
-
reverseFolderOrderingAction
-
shuffleAction
public javax.swing.Action shuffleAction -
splitPane
public final javax.swing.JSplitPane splitPane -
projectOrdering
-
albumManager
-
viewPanel
-
notificationPanel
public javax.swing.JPanel notificationPanel -
explorerCard
public javax.swing.JPanel explorerCard -
browserPanel
-
sharePanel
-
leftPanel
public javax.swing.JPanel leftPanel -
knownKeywords
-
tagPicker
-
toolBar
-
folderPropertyPanel
-
explorerSplitPane
public javax.swing.JSplitPane explorerSplitPane -
albumsPanel
public javax.swing.JPanel albumsPanel -
rightPanel
public javax.swing.JPanel rightPanel -
topPanel
public javax.swing.JPanel topPanel -
explorer
-
editor
-
hideExcludedMenuItem
public javax.swing.JCheckBoxMenuItem hideExcludedMenuItem -
addressBarMenuItem
public javax.swing.JCheckBoxMenuItem addressBarMenuItem -
largeThumbnailsMenuItem
public javax.swing.JCheckBoxMenuItem largeThumbnailsMenuItem -
excludeSelectedAction
public javax.swing.Action excludeSelectedActionActions -
wrapInFolderAction
-
flattenAction
-
groupAlphabeticallyAction
-
groupByDateAction
-
groupByPlaceAction
-
groupByKeywordsAction
-
groupByCreatorAction
-
groupByCalendarAction
-
printAction
-
-
Constructor Details
-
Method Details
-
animateWorkflow
public void animateWorkflow() -
setNotification
public javax.swing.JComponent setNotification(javax.swing.JComponent notification)Don't use directly. Use JAlbumFrame.showNotification() -
getNotification
public javax.swing.JComponent getNotification() -
updateStatusBar
public void updateStatusBar()For internal use only -
getComponentPopupMenu
public javax.swing.JPopupMenu getComponentPopupMenu()For internal use- Overrides:
getComponentPopupMenu
in classjavax.swing.JComponent
-
createLabelTypeItems
public java.util.List<javax.swing.JMenuItem> createLabelTypeItems() -
populateOrderingSubMenu
public void populateOrderingSubMenu(javax.swing.JMenu menu) -
populateFolderOrderingSubMenu
public void populateFolderOrderingSubMenu(javax.swing.JMenu menu) -
isPortableControlDown
public static boolean isPortableControlDown(java.awt.event.MouseEvent e) -
setTexts
public void setTexts() -
refreshCurrentNode
public void refreshCurrentNode() -
syncModel
public void syncModel() -
selectNode
-
gotoPath
public void gotoPath(java.lang.String path)Experimental- Parameters:
path
-- Since:
- 20.1.1
-
getRootFolder
-
getCurrentFolder
- Since:
- 10.1
-
rememberLastLocation
public void rememberLastLocation() -
setRootFolder
-
isProjectLoaded
public boolean isProjectLoaded() -
setExplorerView
public void setExplorerView() -
selectRootFolderInTreeView
public void selectRootFolderInTreeView() -
redraw
public void redraw()Lighter than refreshAction (doesn't invalidate AlbumObject model) Multiple consecutive calls are packed into one call to drawNow- Since:
- 13
-
redrawNow
public void redrawNow()Lighter than refreshAction (doesn't invalidate AlbumObject model)- Since:
- 13
-
viewFolder
-
showPreview
public void showPreview() -
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
populateOrganizeMenu
public void populateOrganizeMenu(javax.swing.JMenu menu) -
lostOwnership
public void lostOwnership(java.awt.datatransfer.Clipboard clipboard, java.awt.datatransfer.Transferable contents)- Specified by:
lostOwnership
in interfacejava.awt.datatransfer.ClipboardOwner
-
isPreviewTabShowing
public boolean isPreviewTabShowing() -
setEnableRefresh
public void setEnableRefresh(boolean enable)
-