Class VertexImageShaperDemo.DemoVertexIconTransformer<V>

  • All Implemented Interfaces:
    Function<V,​Icon>
    Enclosing class:
    VertexImageShaperDemo

    public static class VertexImageShaperDemo.DemoVertexIconTransformer<V>
    extends Object
    implements Function<V,​Icon>
    This class exists only to provide settings to turn on/off shapes and image fill in this demo.

    For a real application, just use Functions.forMap(iconMap) to provide a Function<V, Icon>.

    • Constructor Detail

      • DemoVertexIconTransformer

        public DemoVertexIconTransformer​(Map<V,​Icon> iconMap)
    • Method Detail

      • isFillImages

        public boolean isFillImages()
        Returns:
        Returns the fillImages.
      • setFillImages

        public void setFillImages​(boolean fillImages)
        Parameters:
        fillImages - The fillImages to set.
      • isOutlineImages

        public boolean isOutlineImages()
      • setOutlineImages

        public void setOutlineImages​(boolean outlineImages)