Class SocketPreviewViewFactory


  • public class SocketPreviewViewFactory
    extends java.lang.Object
    Factory for constructing SocketPreviewViews.
    • Method Detail

      • create

        public <T> SocketPreviewView<T> create​(OutputSocket<T> socket)
        Create an instance of SocketPreviewView appropriate for the given socket. Sockets of different types (like numbers, arrays, images, etc...) are rendered in different ways, and the role of this class is to figure out what control to use to render a given socket.