public class FileNodeDescriptor extends NodeDescriptor
NodeDescriptor.NodeComparator<T extends NodeDescriptor<?>>
DEFAULT_WEIGHT, EMPTY_ARRAY, myClosedIcon, myColor, myName, myOpenIcon, myProject
Constructor and Description |
---|
FileNodeDescriptor(Project project,
FileElement element,
NodeDescriptor parentDescriptor,
javax.swing.Icon closedIcon,
java.lang.String name,
java.lang.String comment) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComment() |
FileElement |
getElement() |
protected void |
setElement(FileElement descriptor) |
boolean |
update()
Make sure the descriptor is up to date with its content
|
applyFrom, expandOnDoubleClick, getChildrenSortingStamp, getClosedIcon, getColor, getIcon, getIndex, getOpenIcon, getParentDescriptor, getProject, getUpdateCount, getWeight, isWasDeclaredAlwaysLeaf, setChildrenSortingStamp, setIcon, setIndex, setUpdateCount, setWasDeclaredAlwaysLeaf, toString
public FileNodeDescriptor(Project project, FileElement element, NodeDescriptor parentDescriptor, javax.swing.Icon closedIcon, java.lang.String name, java.lang.String comment)
public boolean update()
NodeDescriptor
update
in class NodeDescriptor
public final FileElement getElement()
getElement
in class NodeDescriptor
protected final void setElement(FileElement descriptor)
public java.lang.String getComment()