Class StyleList

  • All Implemented Interfaces:
    Style

    public class StyleList
    extends java.lang.Object
    implements Style
    Contains a list of styles and allows Geometrys to be rendered using those styles.
    • Field Detail

      • styleList

        private java.util.List styleList
    • Constructor Detail

      • StyleList

        public StyleList()
    • Method Detail

      • paint

        public void paint​(Geometry geom,
                          Viewport viewport,
                          java.awt.Graphics2D g)
                   throws java.lang.Exception
        Specified by:
        paint in interface Style
        Throws:
        java.lang.Exception
      • add

        public void add​(Style style)
      • setEnabled

        public void setEnabled​(Style style,
                               boolean isEnabled)
      • getEntryIndex

        private int getEntryIndex​(Style style)