|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.net.URLNode
public class URLNode
URLNode wrapps a URL and places it into a URLTree, which determines how the URLNode calculates its children.
URLTree,
Serialized Form| Constructor Summary | |
|---|---|
URLNode(URLCache uc,
URLNode parent,
URLTree tree)
|
|
URLNode(java.net.URL url,
URLNode parent,
URLTree tree)
|
|
| Method Summary | |
|---|---|
java.util.Enumeration<URLNode> |
children()
|
void |
collapse()
reverses the effect of expand() |
void |
expand()
makes this node expand beyond the crawler rules of the associated URLTree |
boolean |
getAllowsChildren()
|
javax.swing.tree.TreeNode |
getChildAt(int childIndex)
|
int |
getChildCount()
|
int |
getIndex(javax.swing.tree.TreeNode node)
|
javax.swing.tree.TreeNode |
getParent()
|
java.net.URL |
getURL()
|
URLCache |
getURLCache()
|
boolean |
isLeaf()
|
void |
refresh()
refreshes the cached URL content and recursively all children |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public URLNode(java.net.URL url,
URLNode parent,
URLTree tree)
public URLNode(URLCache uc,
URLNode parent,
URLTree tree)
| Method Detail |
|---|
public java.util.Enumeration<URLNode> children()
children in interface javax.swing.tree.TreeNodepublic boolean getAllowsChildren()
getAllowsChildren in interface javax.swing.tree.TreeNodepublic javax.swing.tree.TreeNode getChildAt(int childIndex)
getChildAt in interface javax.swing.tree.TreeNodepublic int getChildCount()
getChildCount in interface javax.swing.tree.TreeNodepublic int getIndex(javax.swing.tree.TreeNode node)
getIndex in interface javax.swing.tree.TreeNodepublic javax.swing.tree.TreeNode getParent()
getParent in interface javax.swing.tree.TreeNodepublic boolean isLeaf()
isLeaf in interface javax.swing.tree.TreeNodepublic java.lang.String toString()
toString in class java.lang.Objectpublic void refresh()
public void expand()
public void collapse()
public URLCache getURLCache()
public java.net.URL getURL()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||