Class ChosenNode.Builder

  • Enclosing class:
    ChosenNode

    public static class ChosenNode.Builder
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()  
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • withNode

        public ChosenNode.Builder withNode​(java.lang.String node)
        "true", "false" or javascript's function can be provided. If 'true', selecting or hovering on a node will change its characteristics. if 'false', selecting or hovering on a node will not change its characteristics. If a function is provided, it should have the following signature: function(values, id, selected, hovering) Default value is null
      • withLabel

        public ChosenNode.Builder withLabel​(java.lang.String label)
        "true", "false" or javascript's function can be provided. If 'true', selecting or hovering on a node will change its label's characteristics. if 'false', selecting or hovering on a node will not change its label's characteristics. If a function is provided, it should have the following signature: function(values, id, selected, hovering) Default value is null