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

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

Best Java code snippets using org.apache.wicket.extensions.markup.html.tree.DefaultAbstractTree.getItem (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.treeDefaultAbstractTreegetItem

Javadoc

Returns the resource reference of default tree item (not 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.
  • getFolderOpen
    Returns the resource reference of default open tree 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

  • Parsing JSON documents to java classes using gson
  • findViewById (Activity)
  • setContentView (Activity)
  • setRequestProperty (URLConnection)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top Vim 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