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

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

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

origin: org.onehippo.cms7/hippo-cms-api

/**
 * @deprecated node icons should be created in {@link #newNodeIcon(MarkupContainer, String, TreeNode)}.
 */
@Override
@Deprecated
protected final ResourceReference getNodeIcon(TreeNode node) {
  return super.getNodeIcon(node);
}
origin: org.onehippo.cms7/hippo-cms-api

@Override
protected Component newNodeIcon(final MarkupContainer parent, final String id, final TreeNode node) {
  ResourceReference nodeIcon = super.getNodeIcon(node);
  return HippoIcon.fromResource(id, nodeIcon);
}
origin: org.ops4j.pax.wicket/pax-wicket-service

  @Override
  protected void onComponentTag(ComponentTag tag)
  {
    super.onComponentTag(tag);
    tag.put("style", "background-image: url('" +
      RequestCycle.get().urlFor(getNodeIcon(node)) + "')");
  }
};
origin: org.wicketstuff/wicket15-tree

  /**
   * {@inheritDoc}
   */
  @Override
  protected void onComponentTag(final ComponentTag tag)
  {
    super.onComponentTag(tag);
    IRequestHandler handler = new ResourceReferenceRequestHandler(getNodeIcon(node));
    tag.put("style", "background-image: url('" + RequestCycle.get().urlFor(handler) +
      "')");
  }
};
org.apache.wicket.extensions.markup.html.treeDefaultAbstractTreegetNodeIcon

Javadoc

Returns the resource reference for icon of specified tree node.

Popular methods of DefaultAbstractTree

  • 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.
  • 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

  • Reading from database using SQL prepared statement
  • getContentResolver (Context)
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (Timer)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top plugins for Android Studio
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