All Packages Class Hierarchy This Package Previous Next Index
Class websphinx.workbench.WebOutline
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----symantec.itools.awt.TreeView2
|
+----websphinx.workbench.WebOutline
- public class WebOutline
- extends TreeView2
- implements CrawlListener, LinkListener
-
defaultErrorIcon
-
-
defaultLinkIcon
-
-
defaultPageIcon
-
-
defaultRetrievingIcon
-
-
WebOutline()
- Make a WebOutline.
-
addLinkViewListener(LinkViewListener)
- Add a listener for LinkViewEvents.
-
clear()
- Clear the outline.
-
cleared(CrawlEvent)
- Notify that the crawler's state was cleared.
-
crawled(LinkEvent)
- Notify that a crawling event has occured.
-
getIcon(String)
- Get a named icon.
-
getSelectedLink()
-
-
handleEvent(Event)
-
-
monitor(Crawler)
- Create a new Frame containing a WebOutline connected to a crawler.
-
paused(CrawlEvent)
- Notify that the crawler is paused
-
removeLinkViewListener(CrawlListener)
- Removes a listener from the set of LinkViewEvent listeners.
-
setErrorIcon(Image)
- Set the default icon used for failed requests.
-
setIcon(String, Image)
- Map a name to an icon.
-
setLinkIcon(Image)
- Set the default icon used for links.
-
setPageIcon(Image)
- Set the default icon used for pages.
-
setRetrievingIcon(Image)
- Set the default icon used for requests in progress.
-
showControlPanel()
- Show control panel for changing layout parameters.
-
started(CrawlEvent)
- Notify that the crawler started.
-
stopped(CrawlEvent)
- Notify that the crawler has stopped.
-
timedOut(CrawlEvent)
- Notify that the crawler has timed out
-
update(Link)
- Update the edge and node associated with a link.
-
updateClosure(Link[])
- Update all the links that the crawler reached from this link.
defaultPageIcon
public static Image defaultPageIcon
defaultLinkIcon
public static Image defaultLinkIcon
defaultRetrievingIcon
public static Image defaultRetrievingIcon
defaultErrorIcon
public static Image defaultErrorIcon
WebOutline
public WebOutline()
- Make a WebOutline.
showControlPanel
public void showControlPanel()
- Show control panel for changing layout parameters.
clear
public synchronized void clear()
- Clear the outline.
- Overrides:
- clear in class TreeView2
started
public void started(CrawlEvent event)
- Notify that the crawler started.
stopped
public void stopped(CrawlEvent event)
- Notify that the crawler has stopped.
cleared
public void cleared(CrawlEvent event)
- Notify that the crawler's state was cleared.
timedOut
public void timedOut(CrawlEvent event)
- Notify that the crawler has timed out
paused
public void paused(CrawlEvent event)
- Notify that the crawler is paused
crawled
public void crawled(LinkEvent event)
- Notify that a crawling event has occured.
updateClosure
public void updateClosure(Link links[])
- Update all the links that the crawler reached from this link.
Any reachable links not present in the graph are added.
update
public synchronized void update(Link link)
- Update the edge and node associated with a link.
If the link is not present in the graph, it is added.
addLinkViewListener
public void addLinkViewListener(LinkViewListener listener)
- Add a listener for LinkViewEvents. A LinkViewEvent is sent every time a
node or edge in the graph is double-clicked.
- Parameters:
- listener - Object that wants to receive LinkViewEvents
removeLinkViewListener
public void removeLinkViewListener(CrawlListener listener)
- Removes a listener from the set of LinkViewEvent listeners. If it is not found in the set,
does nothing.
- Parameters:
- listen - a listener
handleEvent
public boolean handleEvent(Event event)
- Overrides:
- handleEvent in class TreeView2
getSelectedLink
public Link getSelectedLink()
monitor
public static Frame monitor(Crawler crawler)
- Create a new Frame containing a WebOutline connected to a crawler.
getIcon
public Image getIcon(String name)
- Get a named icon.
- Parameters:
- name - Name of icon.
- Returns:
- icon associated with the name, or null if name unknown.
setIcon
public void setIcon(String name,
Image icon)
- Map a name to an icon.
- Parameters:
- name - Name of icon.
- icon - Icon image. If null, mapping is deleted.
setPageIcon
public void setPageIcon(Image icon)
- Set the default icon used for pages.
- Parameters:
- icon - Icon image. If null, mapping is deleted.
setLinkIcon
public void setLinkIcon(Image icon)
- Set the default icon used for links.
- Parameters:
- icon - Icon image. If null, mapping is deleted.
setRetrievingIcon
public void setRetrievingIcon(Image icon)
- Set the default icon used for requests in progress.
- Parameters:
- icon - Icon image. If null, mapping is deleted.
setErrorIcon
public void setErrorIcon(Image icon)
- Set the default icon used for failed requests.
- Parameters:
- icon - Icon image. If null, mapping is deleted.
All Packages Class Hierarchy This Package Previous Next Index