congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

  • Making http post requests using okhttp
  • setContentView (Activity)
  • runOnUiThread (Activity)
  • getSharedPreferences (Context)
  • String (java.lang)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • JButton (javax.swing)
  • JTextField (javax.swing)
  • Top 17 PhpStorm Plugins
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