public class DomainNameTree
extends java.lang.Object
Constructor and Description |
---|
DomainNameTree()
Initializes a new tree with an empty root node.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set |
domainSet() |
javax.swing.ImageIcon |
getImage(java.lang.String domain)
Gets the image for the given domain.
|
java.lang.String |
getImageFile(java.lang.String domain)
Gets the path of the icon for the given domain.
|
javax.swing.tree.DefaultMutableTreeNode |
getTree()
Gets the parent node of the tree.
|
void |
insert(DomainNameNode obj)
Inserts a node into the tree.
|
void |
remove(DomainNameNode obj) |
void |
show()
Shows the tree.
|
public DomainNameTree()
public void show()
public java.util.Set domainSet()
public javax.swing.tree.DefaultMutableTreeNode getTree()
public java.lang.String getImageFile(java.lang.String domain)
public javax.swing.ImageIcon getImage(java.lang.String domain)
public void remove(DomainNameNode obj)
public void insert(DomainNameNode obj)
Copyright © 2011, 2013. Daniel P. Dougherty