public class DTree
extends java.lang.Object
Constructor and Description |
---|
DTree(DTree parent,
java.lang.String name,
boolean container) |
Modifier and Type | Method and Description |
---|---|
DTree |
addChild(DiffElement element,
boolean source,
java.lang.String replacementName) |
java.util.Collection<DTree> |
getChildren() |
java.lang.String |
getName() |
DTree |
getParent() |
java.lang.String |
getPath() |
DiffElement<?> |
getSource() |
DiffElement<?> |
getTarget() |
DiffType |
getType() |
boolean |
isContainer() |
boolean |
isExpanded() |
boolean |
isVisible() |
void |
remove(DTree node) |
void |
reset() |
void |
setExpanded(boolean expanded) |
void |
setSource(DiffElement<?> source) |
void |
setTarget(DiffElement<?> target) |
void |
setType(DiffType type) |
java.lang.String |
toString() |
void |
update(DirDiffSettings settings) |
void |
updateVisibility(DirDiffSettings settings) |
public DTree(DTree parent, java.lang.String name, boolean container)
public java.util.Collection<DTree> getChildren()
public DTree addChild(DiffElement element, boolean source, java.lang.String replacementName)
public DiffElement<?> getSource()
public void setSource(DiffElement<?> source)
public DiffElement<?> getTarget()
public void setTarget(DiffElement<?> target)
public java.lang.String getName()
public DTree getParent()
public boolean isExpanded()
public void setExpanded(boolean expanded)
public boolean isContainer()
public java.lang.String toString()
toString
in class java.lang.Object
public void update(DirDiffSettings settings)
public boolean isVisible()
public void updateVisibility(DirDiffSettings settings)
public void reset()
public void remove(DTree node)
public DiffType getType()
public void setType(DiffType type)
public java.lang.String getPath()