Package jadex.base.gui.componenttree
Class NFPropertyNode
- java.lang.Object
- 
- jadex.base.gui.asynctree.AbstractTreeNode
- 
- jadex.base.gui.asynctree.AbstractSwingTreeNode
- 
- jadex.base.gui.componenttree.NFPropertyNode
 
 
 
- 
- All Implemented Interfaces:
- ISwingTreeNode,- ITreeNode
 
 public class NFPropertyNode extends AbstractSwingTreeNode Node for a non functional property.
- 
- 
Field SummaryFields Modifier and Type Field Description protected IExternalAccesseaThe external access of the nfproperty provider.protected MethodInfomiThe method info.protected javax.swing.JComponentpropcompThe properties panel.protected INFPropertyMetaInfopropmiThe property meta info.protected RequiredServiceInforinfoThe required service info.protected IServiceIdentifiersidThe service identifier.- 
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 NFPropertyNode(ISwingTreeNode parent, AsyncSwingTreeModel model, javax.swing.JTree tree, INFPropertyMetaInfo propmi, IExternalAccess ea, IServiceIdentifier sid, MethodInfo mi, RequiredServiceInfo rinfo)Create a new service 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.protected static java.lang.StringgetId(java.lang.Object parentid, java.lang.String name)Build the node id.INFPropertyMetaInfogetMetaInfo()Get the meta info.javax.swing.JComponentgetPropertiesComponent()Get or create a component displaying the node properties.INFPropertyMetaInfogetPropertyMetaInfo()Get the meta info.javax.swing.IcongetSwingIcon()Get the icon for a node.java.lang.StringgetTooltipText()Get tooltip text.booleanhasProperties()True, if the node has properties that can be displayed.protected IFuture<java.lang.Void>removeProperty()Remove property from provider.protected voidsearchChildren()Asynchronously search for 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, getTree, isLeaf, refresh, removeChild, setChildren
 - 
Methods inherited from class jadex.base.gui.asynctree.AbstractTreeNodecheckChildren, dispose, hashCode, removeAllChildren, setParent
 
- 
 
- 
- 
- 
Field Detail- 
propmiprotected INFPropertyMetaInfo propmi The property meta info.
 - 
propcompprotected javax.swing.JComponent propcomp The properties panel.
 - 
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- 
NFPropertyNodepublic NFPropertyNode(ISwingTreeNode parent, AsyncSwingTreeModel model, javax.swing.JTree tree, INFPropertyMetaInfo propmi, IExternalAccess ea, IServiceIdentifier sid, MethodInfo mi, RequiredServiceInfo rinfo) Create a new service container node.
 
- 
 - 
Method Detail- 
getIdpublic java.lang.Object getId() Get the id used for lookup.
 - 
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
 
 - 
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
 
 - 
hasPropertiespublic boolean hasProperties() True, if the node has properties that can be displayed.- Specified by:
- hasPropertiesin interface- ITreeNode
- Overrides:
- hasPropertiesin class- AbstractTreeNode
 
 - 
getPropertiesComponentpublic javax.swing.JComponent getPropertiesComponent() Get or create a component displaying the node properties. Only to be called if hasProperties() is true;- Specified by:
- getPropertiesComponentin interface- ISwingTreeNode
- Overrides:
- getPropertiesComponentin class- AbstractSwingTreeNode
 
 - 
getMetaInfopublic INFPropertyMetaInfo getMetaInfo() Get the meta info.
 - 
getIdprotected static java.lang.String getId(java.lang.Object parentid, java.lang.String name)Build the node id.
 - 
removePropertyprotected IFuture<java.lang.Void> removeProperty() Remove property from provider.
 - 
getPropertyMetaInfopublic INFPropertyMetaInfo getPropertyMetaInfo() Get the meta info.
 
- 
 
-