congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
DefaultAbstractTree.getFolderOpen
Code IndexAdd Tabnine to your IDE (free)

How to use
getFolderOpen
method
in
org.apache.wicket.extensions.markup.html.tree.DefaultAbstractTree

Best Java code snippets using org.apache.wicket.extensions.markup.html.tree.DefaultAbstractTree.getFolderOpen (Showing top 2 results out of 315)

origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * Returns the resource reference for icon of specified tree node.
 *
 * @param node
 *            The node
 * @return The package resource reference
 */
protected ResourceReference getNodeIcon(TreeNode node)
{
  if (node.isLeaf() == true)
  {
    return getItem();
  }
  else
  {
    if (isNodeExpanded(node))
    {
      return getFolderOpen();
    }
    else
    {
      return getFolderClosed();
    }
  }
}
origin: org.wicketstuff/wicket15-tree

/**
 * Returns the resource reference for icon of specified tree node.
 * 
 * @param node
 *            The node
 * @return The package resource reference
 */
protected ResourceReference getNodeIcon(final TreeNode node)
{
  if (node.isLeaf() == true)
  {
    return getItem();
  }
  else
  {
    if (isNodeExpanded(node))
    {
      return getFolderOpen();
    }
    else
    {
      return getFolderClosed();
    }
  }
}
org.apache.wicket.extensions.markup.html.treeDefaultAbstractTreegetFolderOpen

Javadoc

Returns the resource reference of default open tree folder.

Popular methods of DefaultAbstractTree

  • getNodeIcon
    Returns the resource reference for icon of specified tree node.
  • getCSS
    Returns the resource reference of default stylesheet.
  • getFolderClosed
    Returns the resource reference of default closed tree folder.
  • getItem
    Returns the resource reference of default tree item (not folder).
  • getLinkType
    Returns the current type of links on tree items.
  • getTreeState
  • invalidateAll
  • isNodeExpanded
  • newJunctionImage
    Creates an image placed on junction link. This image actually consists of two spans with different c
  • newLink
    Creates a link of type specified by current linkType. When the links is clicked it calls the specifi
  • onJunctionLinkClicked
    Callback function called after user clicked on an junction link. The node has already been expanded/
  • onNodeLinkClicked
    This callback method is called after user has selected / deselected the given node.
  • onJunctionLinkClicked,
  • onNodeLinkClicked,
  • onTargetRespond,
  • setModelObject,
  • updateTree,
  • add,
  • init,
  • renderHead

Popular in Java

  • Updating database using SQL prepared statement
  • getApplicationContext (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getContentResolver (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • JTable (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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