info.aduna.autofocus.gui
Class CrawlingProgressPanel

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 info.aduna.autofocus.gui.CrawlingProgressPanel
All Implemented Interfaces:
InfoSourceManagerListener, ImageObserver, MenuContainer, Serializable, Accessible

public class CrawlingProgressPanel
extends JPanel
implements InfoSourceManagerListener

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
 
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
CrawlingProgressPanel(AutoFocusFrame frame)
           
 
Method Summary
 void clear()
           
 void clearCrawlResultsFinished(InfoSourceManager manager, CrawlingRepository repository)
          Signals that the InfoSourceManager has finished clearing the crawl results of the specified CrawlingRepository.
 void clearCrawlResultsStarted(InfoSourceManager manager, CrawlingRepository repository)
          Signals that the InfoSourceManager has started clearing the crawl results of the specified CrawlingRepository.
 void crawlFinished(InfoSourceManager manager, CrawlingRepository repository, int exitCode)
          Signals that the specified CrawlingRepository has finished crawling.
 void crawling(InfoSourceManager manager, CrawlingRepository repository)
          Signals that the InfoSourceManager is about to crawl the specified CrawlingRepository.
 void crawling(InfoSourceManager manager, int nrSources)
          Signals that the InfoSourceManager is about to crawl the specified number of CrawlingRepositories.
 void crawlingFinished(InfoSourceManager manager, int exitCode)
          Signals that the InfoSourceManager has finished crawling its CrawlingRepositorys.
 void crawlingObject(InfoSourceManager manager, String url)
          Signals that the currently crawling CrawlingRepository has started crawling the object representing by the specified URL.
static void createDialog(AutoFocusFrame frame)
           
 void doAbort(boolean closeImmediately)
          Abort execution of the crawl process, updating button status appropriately.
 void finishingCrawl(InfoSourceManager manager, CrawlingRepository repository)
          Signals that the specified CrawlingRepository has finished crawling the last URI and is wrapping things up.
 JButton getAbortButton()
           
 JButton getCloseButton()
           
 void newObjectCrawled(InfoSourceManager manager, org.semanticdesktop.aperture.accessor.DataObject object)
          Signals that the currently crawling CrawlingRepository has identified a new object and has completed its processing.
 void objectNotModified(InfoSourceManager manager, String url)
          Signals that the currently crawling CrawlingRepository has detected that the object represented by the specified URL has not changed.
 void objectRemoved(InfoSourceManager manager, String url)
          Signals that the currently crawling CrawlingRepository has detected that the object represented by the specified URL is no longer available.
 void objectUpdated(InfoSourceManager manager, org.semanticdesktop.aperture.accessor.DataObject object)
          Signals that the currently crawling CrawlingRepository has identified a changed object and has completed its processing.
 void processingChangedObject(InfoSourceManager manager, org.semanticdesktop.aperture.accessor.DataObject object)
          Signals that the currently crawling CrawlingRepository has identified a changed object and is starting to process its contents.
 void processingNewObject(InfoSourceManager manager, org.semanticdesktop.aperture.accessor.DataObject object)
          Signals that the currently crawling CrawlingRepository has identified a new object and is starting to process its contents.
 void repositoryConfigChanged(InfoSourceManager manager)
          Signals that the Repository configuration has changed.
static void showDialog()
           
 
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, 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
 

Constructor Detail

CrawlingProgressPanel

public CrawlingProgressPanel(AutoFocusFrame frame)
Method Detail

repositoryConfigChanged

public void repositoryConfigChanged(InfoSourceManager manager)
Description copied from interface: InfoSourceManagerListener
Signals that the Repository configuration has changed. This may mean that Repositories have been added or removed or that the configuration of an existing Repository has changed.

Specified by:
repositoryConfigChanged in interface InfoSourceManagerListener

crawling

public void crawling(InfoSourceManager manager,
                     int nrSources)
Description copied from interface: InfoSourceManagerListener
Signals that the InfoSourceManager is about to crawl the specified number of CrawlingRepositories.

Specified by:
crawling in interface InfoSourceManagerListener

crawling

public void crawling(InfoSourceManager manager,
                     CrawlingRepository repository)
Description copied from interface: InfoSourceManagerListener
Signals that the InfoSourceManager is about to crawl the specified CrawlingRepository.

Specified by:
crawling in interface InfoSourceManagerListener

crawlingObject

public void crawlingObject(InfoSourceManager manager,
                           String url)
Description copied from interface: InfoSourceManagerListener
Signals that the currently crawling CrawlingRepository has started crawling the object representing by the specified URL.

Specified by:
crawlingObject in interface InfoSourceManagerListener

processingNewObject

public void processingNewObject(InfoSourceManager manager,
                                org.semanticdesktop.aperture.accessor.DataObject object)
Description copied from interface: InfoSourceManagerListener
Signals that the currently crawling CrawlingRepository has identified a new object and is starting to process its contents.

Specified by:
processingNewObject in interface InfoSourceManagerListener

processingChangedObject

public void processingChangedObject(InfoSourceManager manager,
                                    org.semanticdesktop.aperture.accessor.DataObject object)
Description copied from interface: InfoSourceManagerListener
Signals that the currently crawling CrawlingRepository has identified a changed object and is starting to process its contents.

Specified by:
processingChangedObject in interface InfoSourceManagerListener

newObjectCrawled

public void newObjectCrawled(InfoSourceManager manager,
                             org.semanticdesktop.aperture.accessor.DataObject object)
Description copied from interface: InfoSourceManagerListener
Signals that the currently crawling CrawlingRepository has identified a new object and has completed its processing.

Specified by:
newObjectCrawled in interface InfoSourceManagerListener

objectUpdated

public void objectUpdated(InfoSourceManager manager,
                          org.semanticdesktop.aperture.accessor.DataObject object)
Description copied from interface: InfoSourceManagerListener
Signals that the currently crawling CrawlingRepository has identified a changed object and has completed its processing.

Specified by:
objectUpdated in interface InfoSourceManagerListener

objectNotModified

public void objectNotModified(InfoSourceManager manager,
                              String url)
Description copied from interface: InfoSourceManagerListener
Signals that the currently crawling CrawlingRepository has detected that the object represented by the specified URL has not changed.

Specified by:
objectNotModified in interface InfoSourceManagerListener

objectRemoved

public void objectRemoved(InfoSourceManager manager,
                          String url)
Description copied from interface: InfoSourceManagerListener
Signals that the currently crawling CrawlingRepository has detected that the object represented by the specified URL is no longer available.

Specified by:
objectRemoved in interface InfoSourceManagerListener

finishingCrawl

public void finishingCrawl(InfoSourceManager manager,
                           CrawlingRepository repository)
Description copied from interface: InfoSourceManagerListener
Signals that the specified CrawlingRepository has finished crawling the last URI and is wrapping things up.

Specified by:
finishingCrawl in interface InfoSourceManagerListener

crawlFinished

public void crawlFinished(InfoSourceManager manager,
                          CrawlingRepository repository,
                          int exitCode)
Description copied from interface: InfoSourceManagerListener
Signals that the specified CrawlingRepository has finished crawling. The exit codes are defined in the CrawlingListener interface.

Specified by:
crawlFinished in interface InfoSourceManagerListener

crawlingFinished

public void crawlingFinished(InfoSourceManager manager,
                             int exitCode)
Description copied from interface: InfoSourceManagerListener
Signals that the InfoSourceManager has finished crawling its CrawlingRepositorys. The exit codes are defined in the CrawlingListener interface.

Specified by:
crawlingFinished in interface InfoSourceManagerListener

clearCrawlResultsStarted

public void clearCrawlResultsStarted(InfoSourceManager manager,
                                     CrawlingRepository repository)
Description copied from interface: InfoSourceManagerListener
Signals that the InfoSourceManager has started clearing the crawl results of the specified CrawlingRepository.

Specified by:
clearCrawlResultsStarted in interface InfoSourceManagerListener

clearCrawlResultsFinished

public void clearCrawlResultsFinished(InfoSourceManager manager,
                                      CrawlingRepository repository)
Description copied from interface: InfoSourceManagerListener
Signals that the InfoSourceManager has finished clearing the crawl results of the specified CrawlingRepository.

Specified by:
clearCrawlResultsFinished in interface InfoSourceManagerListener

clear

public void clear()

getAbortButton

public JButton getAbortButton()

getCloseButton

public JButton getCloseButton()

doAbort

public void doAbort(boolean closeImmediately)
Abort execution of the crawl process, updating button status appropriately.


createDialog

public static void createDialog(AutoFocusFrame frame)

showDialog

public static void showDialog()


Copyright © 1997-2008 Aduna. All Rights Reserved.