Class BiModalRenderer.Builder<V,​E,​T extends BiModalRenderer<V,​E>,​B extends BiModalRenderer.Builder<V,​E,​T,​B>>

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • self

        protected B self()
        Returns:
        an instance of this Builder cast to B
      • component

        public B component​(JComponent component)
        Parameters:
        component - to render on
        Returns:
        this Builder
      • lightweightRenderer

        public B lightweightRenderer​(Renderer<V,​E> lightweightRenderer)
        Parameters:
        lightweightRenderer - the value for the LIGHTWEIGHT key
        Returns:
        this Builder
      • heavyweightRenderer

        public B heavyweightRenderer​(Renderer<V,​E> heavyweightRenderer)
        Parameters:
        heavyweightRenderer - the value for the HEAVYWEIGHT key
        Returns:
        this Builder
      • build

        public T build()
        Returns:
        a configured instance of a BiModalRenderer