Interface TreeviewNodeCreator


public interface TreeviewNodeCreator

Treeview component node renderer interface

With the implementation of the renderer, the treeview node can be customized. During the rendering process, a method has to be called, that will create a TreeviewNode. This node can contain any components, that the treeview will display as a node for the user.

Since:
4.0
Author:
JBStrap
  • Method Summary

    Modifier and Type
    Method
    Description
    The treeview node rendering process.
  • Method Details

    • createItem

      TreeviewNode createItem(Record record)
      The treeview node rendering process. This is where the creation of the TreeviewNode is done, based on the specified data. The treeview component will display this, as an interface representation of the specified data. The created node can contain any component, that can be displayed on the interface.
      Parameters:
      record - The record object, that will be used as a basis when creating the node
      Returns:
      The created TreeviewNode component or null, if the specified record is not to be displayed. If the return value is null, the node will not be displayed.