Class NodePeerFactoryRegistry

java.lang.Object
dev.webfx.kit.mapper.peers.javafxgraphics.NodePeerFactoryRegistry

public final class NodePeerFactoryRegistry extends Object
Author:
Bruno Salmon
  • Constructor Details

    • NodePeerFactoryRegistry

      public NodePeerFactoryRegistry()
  • Method Details

    • registerNodePeerFactory

      public static <N extends Node, V extends NodePeer<? super N>> void registerNodePeerFactory(Class<N> nodeClass, Supplier<V> factory)
    • registerCustomTagNodePeerFactory

      public static <N extends Node, V extends NodePeer<? super N>> void registerCustomTagNodePeerFactory(Class<N> nodeClass, Function<String,V> factory)
    • registerDefaultRegionPeerFactory

      public static void registerDefaultRegionPeerFactory(Function<Region,NodePeer<Region>> defaultRegionFactory)
    • registerDefaultGroupPeerFactory

      public static void registerDefaultGroupPeerFactory(Function<Group,NodePeer<Group>> defaultGroupFactory)
    • requestedCustomTag

      public static String requestedCustomTag(Node node)
    • classTag

      public static String classTag(Node node)
    • createNodePeer

      public static <N extends Node, V extends NodePeer<N>> V createNodePeer(N node)