public abstract class AbstractSROPCTreeNode extends AbstractAsynchronousTreeNode<SROPCTreeNode> implements SROPCTreeNode
AbstractAsynchronousTreeNode.LoadingStatus
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
tooltip |
errorNode, loadingNode, nodeList, parent, treeModel
Constructor and Description |
---|
AbstractSROPCTreeNode(javax.swing.tree.DefaultTreeModel treeModel,
SROPCTreeNode parent) |
Modifier and Type | Method and Description |
---|---|
int |
getFontStyle()
A bitmask of Font.BOLD, Font.NORMAL, Font.ITALIC to specify the font style of the node
|
java.lang.String |
getTooltipText()
A tooltip (may be null) for the node
|
protected SROPCTreeNode |
newErrorNode(java.lang.Throwable ex) |
protected SROPCTreeNode |
newLoadingNode() |
protected void |
showLoadingError(java.lang.Exception ex)
Optional override to display a loading error
|
blockLoad, checkChildren, children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf, loadChildren, loadDone, loadError, reload
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
blockLoad, getChildAt, getElement, getParent, isMetaNode, reload
getIconKey
public AbstractSROPCTreeNode(javax.swing.tree.DefaultTreeModel treeModel, SROPCTreeNode parent)
protected SROPCTreeNode newLoadingNode()
newLoadingNode
in class AbstractAsynchronousTreeNode<SROPCTreeNode>
protected SROPCTreeNode newErrorNode(java.lang.Throwable ex)
newErrorNode
in class AbstractAsynchronousTreeNode<SROPCTreeNode>
protected void showLoadingError(java.lang.Exception ex)
AbstractAsynchronousTreeNode
showLoadingError
in class AbstractAsynchronousTreeNode<SROPCTreeNode>
public java.lang.String getTooltipText()
RenderableTreeNode
getTooltipText
in interface RenderableTreeNode
public int getFontStyle()
RenderableTreeNode
getFontStyle
in interface RenderableTreeNode