congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ITreeNode.isLeaf
Code IndexAdd Tabnine to your IDE (free)

How to use
isLeaf
method
in
jadex.base.gui.asynctree.ITreeNode

Best Java code snippets using jadex.base.gui.asynctree.ITreeNode.isLeaf (Showing top 3 results out of 315)

origin: org.activecomponents.jadex/jadex-tools-base

/**
 * Test if the node is a leaf.
 */
public boolean isLeaf(Object node)
{
  return ((ITreeNode) node).isLeaf();
}
origin: org.activecomponents.jadex/jadex-runtimetools-swing

/**
 *  Create transferable on drag start.
 */
protected Transferable createTransferable(JComponent c)
{
  Transferable ret = null;
  
  JTree tree = (JTree)c;
  TreePath path = tree.getSelectionPath();
  Object o = path!=null ? path.getLastPathComponent() : null;
  if(o instanceof IFileNode && (((ITreeNode)o).isLeaf() || !isRealDirectory((IFileNode)o)))
  {
    ret = new NodesTransferable(new TransferInfo(FileTransferServiceViewerPanel.this));
  }
  
  return ret;
}
origin: net.sourceforge.jadex/jadex-runtimetools-swing

/**
 *  Create transferable on drag start.
 */
protected Transferable createTransferable(JComponent c)
{
  Transferable ret = null;
  
  JTree tree = (JTree)c;
  TreePath path = tree.getSelectionPath();
  Object o = path!=null ? path.getLastPathComponent() : null;
  if(o instanceof IFileNode && (((ITreeNode)o).isLeaf() || !isRealDirectory((IFileNode)o)))
  {
    ret = new NodesTransferable(new TransferInfo(DeploymentServiceViewerPanel.this));
  }
  
  return ret;
}
jadex.base.gui.asynctreeITreeNodeisLeaf

Javadoc

Check if the node is a leaf.

Popular methods of ITreeNode

  • getId
    Get the id used for lookup.
  • getParent
    Get the parent node.
  • refresh
    Refresh the node.
  • dispose
    Called when the node is removed or the tree is closed.
  • getCachedChildren
    Get the cached children, i.e. do not start any background processes for updating the children.
  • getChild
    Get the given child.
  • getChildCount
    Get the child count.
  • getIndexOfChild
    Get the index of a child.

Popular in Java

  • Finding current android device location
  • setScale (BigDecimal)
  • requestLocationUpdates (LocationManager)
  • startActivity (Activity)
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Reference (javax.naming)
  • JComboBox (javax.swing)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now