Codota Logo
DefaultAbstractTree.getFolderClosed
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
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.treeDefaultAbstractTreegetFolderClosed

Javadoc

Returns the resource reference of default closed 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.
  • getFolderOpen
    Returns the resource reference of default open 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

  • Making http requests using okhttp
  • getSystemService (Context)
  • findViewById (Activity)
  • addToBackStack (FragmentTransaction)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now