Package jadex.base.gui.componenttree
Class NFPropertyContainerNode
- java.lang.Object
- 
- jadex.base.gui.asynctree.AbstractTreeNode
- 
- jadex.base.gui.asynctree.AbstractSwingTreeNode
- 
- jadex.base.gui.componenttree.NFPropertyContainerNode
 
 
 
- 
- All Implemented Interfaces:
- ISwingTreeNode,- ITreeNode
 
 public class NFPropertyContainerNode extends AbstractSwingTreeNode Node object representing a nf properties container
- 
- 
Field SummaryFields Modifier and Type Field Description protected IExternalAccesseaThe external access of the nfproperty provider.protected static javax.swing.UIDefaultsiconsThe service container icon.protected MethodInfomiThe method info.protected java.lang.StringnameThe name.static java.lang.StringNAMEThe node name (used as id suffix and displayed in the tree).protected RequiredServiceInforinfoThe required service info.protected IServiceIdentifiersidThe service identifier.protected java.lang.StringtooltipThe tooltip.- 
Fields inherited from class jadex.base.gui.asynctree.AbstractSwingTreeNodetree
 - 
Fields inherited from class jadex.base.gui.asynctree.AbstractTreeNodechildrenfuture, dirty, model, parent, recurse, searching
 
- 
 - 
Constructor SummaryConstructors Constructor Description NFPropertyContainerNode(java.lang.String name, java.lang.String tooltip, ISwingTreeNode parent, AsyncSwingTreeModel model, javax.swing.JTree tree, IExternalAccess ea, IServiceIdentifier sid, MethodInfo mi, RequiredServiceInfo rinfo)Create a new nf property container node.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getIcon()Get the icon as byte[] for a node.java.lang.ObjectgetId()Get the id used for lookup.static java.lang.StringgetId(java.lang.Object parentid, java.lang.String name)protected IIntermediateFuture<INFPropertyMetaInfo>getNFPropertyInfos()Remove property from provider.javax.swing.IcongetSwingIcon()Get the icon for a node.java.lang.StringgetTooltipText()Get tooltip text.protected voidsearchChildren()Asynchronously search for children.protected voidsetChildren(java.util.List<? extends ITreeNode> children)Set the children.java.lang.StringtoString()A string representation.- 
Methods inherited from class jadex.base.gui.asynctree.AbstractSwingTreeNodeaddChild, addChild, equals, expandChildren, getCachedChildren, getChild, getChildCount, getChildren, getIndexOfChild, getModel, getParent, getPropertiesComponent, getTree, isLeaf, refresh, removeChild
 - 
Methods inherited from class jadex.base.gui.asynctree.AbstractTreeNodecheckChildren, dispose, hashCode, hasProperties, removeAllChildren, setParent
 - 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface jadex.base.gui.asynctree.ITreeNodedispose, hasProperties
 
- 
 
- 
- 
- 
Field Detail- 
NAMEpublic static final java.lang.String NAME The node name (used as id suffix and displayed in the tree).- See Also:
- Constant Field Values
 
 - 
iconsprotected static final javax.swing.UIDefaults icons The service container icon.
 - 
nameprotected java.lang.String name The name.
 - 
tooltipprotected java.lang.String tooltip The tooltip.
 - 
eaprotected IExternalAccess ea The external access of the nfproperty provider.
 - 
sidprotected IServiceIdentifier sid The service identifier.
 - 
miprotected MethodInfo mi The method info.
 - 
rinfoprotected RequiredServiceInfo rinfo The required service info.
 
- 
 - 
Constructor Detail- 
NFPropertyContainerNodepublic NFPropertyContainerNode(java.lang.String name, java.lang.String tooltip, ISwingTreeNode parent, AsyncSwingTreeModel model, javax.swing.JTree tree, IExternalAccess ea, IServiceIdentifier sid, MethodInfo mi, RequiredServiceInfo rinfo)Create a new nf property container node. - component (sid=null, mi=null) - service (sid!=null, mi=null) - method (sid!=null, mi!=null)
 
- 
 - 
Method Detail- 
getIdpublic java.lang.Object getId() Get the id used for lookup.
 - 
getIdpublic static java.lang.String getId(java.lang.Object parentid, java.lang.String name)- Parameters:
- parentid-
- name-
- Returns:
 
 - 
getIconpublic byte[] getIcon() Get the icon as byte[] for a node.- Specified by:
- getIconin interface- ITreeNode
- Specified by:
- getIconin class- AbstractTreeNode
 
 - 
getSwingIconpublic javax.swing.Icon getSwingIcon() Get the icon for a node.- Specified by:
- getSwingIconin interface- ISwingTreeNode
- Specified by:
- getSwingIconin class- AbstractSwingTreeNode
 
 - 
searchChildrenprotected void searchChildren() Asynchronously search for children. Called once for each node. Should call setChildren() once children are found.- Specified by:
- searchChildrenin class- AbstractTreeNode
 
 - 
getNFPropertyInfosprotected IIntermediateFuture<INFPropertyMetaInfo> getNFPropertyInfos() Remove property from provider.
 - 
setChildrenprotected void setChildren(java.util.List<? extends ITreeNode> children) Set the children.- Overrides:
- setChildrenin class- AbstractSwingTreeNode
 
 - 
toStringpublic java.lang.String toString() A string representation.- Overrides:
- toStringin class- java.lang.Object
 
 - 
getTooltipTextpublic java.lang.String getTooltipText() Get tooltip text.- Specified by:
- getTooltipTextin interface- ITreeNode
- Specified by:
- getTooltipTextin class- AbstractTreeNode
 
 
- 
 
-