All Packages Class Hierarchy This Package Previous Next Index
Class Webcrawler.Visualizer.URLNodePanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----com.sun.java.swing.JComponent
|
+----com.sun.java.swing.JPanel
|
+----Webcrawler.Visualizer.URLNodePanel
- public class URLNodePanel
- extends JPanel
- implements ActionListener
This Panel displays the information of an URLNode (such as URL, depth, info, ...).
It is used by the NodeViewer as one of the tabs.
- See Also:
- NodeViewer, URLNode
-
addressInParentFileField
-
-
depthField
-
-
fatherButton
-
-
fatherIcon
-
-
infoTextField
-
-
myURLField
-
-
nodeStateField
-
-
theNode
-
-
thenodeviewer
-
-
URLNodePanel(URLNode, NodeViewer)
-
Creates a new Panel for displaying a URLNode.
-
actionPerformed(ActionEvent)
- If the user pressed the father-button, a new NodeViewer will be opened.
-
refreshDisplay()
- Sets all the fields in this panel so that they show the info of the
node that this object was created with.
fatherIcon
static ImageIcon fatherIcon
addressInParentFileField
protected JTextField addressInParentFileField
myURLField
protected JTextField myURLField
depthField
protected JTextField depthField
nodeStateField
protected JTextField nodeStateField
infoTextField
protected JTextField infoTextField
fatherButton
protected JButton fatherButton
theNode
private URLNode theNode
thenodeviewer
private NodeViewer thenodeviewer
URLNodePanel
public URLNodePanel(URLNode n,
NodeViewer v)
- Creates a new Panel for displaying a URLNode. If the node n has
a father, the panel will also contain a button that opens a new
NodeViewer showing the fathers info. If not, that button is disabled.
- Parameters:
- n - the URLNode whose info shall be displayed
refreshDisplay
protected void refreshDisplay()
- Sets all the fields in this panel so that they show the info of the
node that this object was created with.
actionPerformed
public void actionPerformed(ActionEvent e)
- If the user pressed the father-button, a new NodeViewer will be opened.
All Packages Class Hierarchy This Package Previous Next Index