All Packages Class Hierarchy This Package Previous Next Index
Class Webcrawler.Visualizer.HTMLNodePanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----com.sun.java.swing.JComponent
|
+----com.sun.java.swing.JPanel
|
+----Webcrawler.Visualizer.HTMLNodePanel
- public class HTMLNodePanel
- extends JPanel
- implements ActionListener
This panel displays all the info of an HTMLNode that was added
when HTMLNode was derived from LoadableNode (e.g: title, links, ...)
The sons of the specified HTMLNode are listed in ListBox and can
be selected and examined in a new NodeViewer.
-
bordp
-
-
linkButton
-
-
linksList
-
-
sonIcon
-
-
theNode
-
-
thenodeviewer
-
-
titleField
-
-
viewLocalButton
-
-
HTMLNodePanel(HTMLNode, NodeViewer)
- Creates a new panel for displaying the info of n
If the node n contains links to other HTMLNodes, the user can
select one and view it in a new NodeViewer window.
-
actionPerformed(ActionEvent)
- When the user pressed the ViewLink button, a new NodeViwer for the
selected link will be opened.
-
refreshDisplay()
- Sets all the fields in this panel to the values stored in
the node that this object was created with.
sonIcon
static ImageIcon sonIcon
titleField
protected JTextField titleField
viewLocalButton
protected JButton viewLocalButton
bordp
protected JPanel bordp
linksList
protected JList linksList
linkButton
protected JButton linkButton
theNode
private HTMLNode theNode
thenodeviewer
private NodeViewer thenodeviewer
HTMLNodePanel
public HTMLNodePanel(HTMLNode n,
NodeViewer v)
- Creates a new panel for displaying the info of n
If the node n contains links to other HTMLNodes, the user can
select one and view it in a new NodeViewer window.
refreshDisplay
protected void refreshDisplay()
- Sets all the fields in this panel to the values stored in
the node that this object was created with.
actionPerformed
public void actionPerformed(ActionEvent e)
- When the user pressed the ViewLink button, a new NodeViwer for the
selected link will be opened.
All Packages Class Hierarchy This Package Previous Next Index