public abstract class PresentableNodeDescriptor<E> extends NodeDescriptor<E>
| Modifier and Type | Class and Description |
|---|---|
static class |
PresentableNodeDescriptor.ColoredFragment |
NodeDescriptor.NodeComparator<T extends NodeDescriptor<?>>DEFAULT_WEIGHT, EMPTY_ARRAY, myClosedIcon, myColor, myName, myOpenIcon, myProject| Modifier | Constructor and Description |
|---|---|
protected |
PresentableNodeDescriptor(Project project,
NodeDescriptor parentDescriptor) |
expandOnDoubleClick, getChildrenSortingStamp, getClosedIcon, getColor, getElement, getIcon, getIndex, getOpenIcon, getParentDescriptor, getProject, getUpdateCount, getWeight, isWasDeclaredAlwaysLeaf, setChildrenSortingStamp, setIcon, setIndex, setUpdateCount, setWasDeclaredAlwaysLeaf, toStringprotected PresentableNodeDescriptor(Project project, NodeDescriptor parentDescriptor)
public final boolean update()
NodeDescriptorupdate in class NodeDescriptor<E>protected final boolean apply(PresentationData presentation)
public void applyFrom(NodeDescriptor desc)
applyFrom in class NodeDescriptor<E>protected final boolean apply(PresentationData presentation, PresentationData before)
protected PresentationData createPresentation()
protected void postprocess(PresentationData date)
protected boolean shouldPostprocess()
protected boolean shouldApply()
protected boolean shouldUpdateData()
protected abstract void update(PresentationData presentation)
public final PresentationData getPresentation()
protected final PresentationData getTemplatePresentation()
public boolean isContentHighlighted()
public boolean isHighlightableContentNode(PresentableNodeDescriptor kid)
public PresentableNodeDescriptor<?> getChildToHighlightAt(int index)
public boolean isParentOf(NodeDescriptor eachNode)
public boolean isAncestorOrSelf(NodeDescriptor selectedNode)
public java.awt.Color getHighlightColor()
public java.lang.String getName()