public final class ProjectTreeNode
extends java.lang.Object
implements javax.swing.tree.TreeNode
| Modifier and Type | Method and Description |
|---|---|
boolean |
addChild(csbase.logic.ClientProjectFile child)
Adiciona um novo nó à árvore, se esta operação for compatível com o filtro
de visualização atual.
|
java.util.Enumeration<ProjectTreeNode> |
children() |
boolean |
equals(java.lang.Object obj) |
boolean |
getAllowsChildren() |
javax.swing.tree.TreeNode |
getChildAt(int childIndex) |
int |
getChildCount() |
csbase.logic.ClientProjectFile |
getClientProjectFile() |
int |
getIndex(javax.swing.tree.TreeNode node) |
javax.swing.tree.TreeNode |
getParent() |
int |
hashCode() |
boolean |
isLeaf() |
boolean |
removeChild(csbase.logic.ClientProjectFile child)
Remove o nó-filho associado a um determinado arquivo.
|
void |
setClientProjectFile(csbase.logic.ClientProjectFile file)
Redefine o arquivo associado ao nó e invalida a lista de filhos.
|
java.lang.String |
toString() |
public csbase.logic.ClientProjectFile getClientProjectFile()
ClientProjectFile associado ao nópublic java.util.Enumeration<ProjectTreeNode> children()
children in interface javax.swing.tree.TreeNodepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic 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 javax.swing.tree.TreeNode getParent()
getParent in interface javax.swing.tree.TreeNodepublic int getIndex(javax.swing.tree.TreeNode node)
getIndex in interface javax.swing.tree.TreeNodepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean isLeaf()
isLeaf in interface javax.swing.tree.TreeNodepublic java.lang.String toString()
toString in class java.lang.Objectpublic void setClientProjectFile(csbase.logic.ClientProjectFile file)
file - - novo arquivo a ser associado ao nópublic boolean addChild(csbase.logic.ClientProjectFile child)
child - - arquivo associado ao novo nópublic boolean removeChild(csbase.logic.ClientProjectFile child)
child - arquivotrue se o nó foi removidoCopyright © 2015. All Rights Reserved.