public abstract class AbstractOPCTreeNode extends AbstractAsynchronousTreeNode<OPCTreeNode> implements OPCTreeNode
AbstractAsynchronousTreeNode.LoadingStatus
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
tooltip |
errorNode, loadingNode, nodeList, parent, treeModel
Constructor and Description |
---|
AbstractOPCTreeNode(javax.swing.tree.DefaultTreeModel treeModel,
OPCTreeNode parent) |
Modifier and Type | Method and Description |
---|---|
BrowseElement |
getBrowseElement() |
java.lang.String |
getDriverName() |
int |
getFontStyle()
A bitmask of Font.BOLD, Font.NORMAL, Font.ITALIC to specify the font style of the node
|
OPCItemType |
getItemType()
Returns the OPC item type of this node.
|
java.lang.String |
getTooltipText()
A tooltip (may be null) for the node
|
boolean |
isMetaNode()
Return true if this node doesn't actually represent an OPC item, but is rather a meta node, like LOADING or ERROR
|
protected OPCTreeNode |
newErrorNode(java.lang.Throwable ex) |
protected OPCTreeNode |
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, getParent, getProvider, reload
getIconKey
public AbstractOPCTreeNode(javax.swing.tree.DefaultTreeModel treeModel, OPCTreeNode parent)
protected OPCTreeNode newLoadingNode()
newLoadingNode
in class AbstractAsynchronousTreeNode<OPCTreeNode>
protected OPCTreeNode newErrorNode(java.lang.Throwable ex)
newErrorNode
in class AbstractAsynchronousTreeNode<OPCTreeNode>
protected void showLoadingError(java.lang.Exception ex)
AbstractAsynchronousTreeNode
showLoadingError
in class AbstractAsynchronousTreeNode<OPCTreeNode>
public int getFontStyle()
RenderableTreeNode
getFontStyle
in interface RenderableTreeNode
public boolean isMetaNode()
OPCTreeNode
isMetaNode
in interface OPCTreeNode
public java.lang.String getTooltipText()
RenderableTreeNode
getTooltipText
in interface RenderableTreeNode
public BrowseElement getBrowseElement()
getBrowseElement
in interface OPCTreeNode
public java.lang.String getDriverName()
getDriverName
in interface OPCTreeNode
public OPCItemType getItemType()
OPCTreeNode
getItemType
in interface OPCTreeNode