Class ShapefileAttributeGroups


  • public class ShapefileAttributeGroups
    extends ApplicationTemplate
    Illustrates how to display related geometry in an ESRI Shapefile as groups with shared attributes. This example loads a Shapefile defining Earth's political boundaries, then groups those boundaries by continent: Africa, Europe, Asia, Americas, Oceania and Antarctica. The outline color for each continent group can be set to either the default color or the group's color by toggling a check box.
    • Constructor Detail

      • ShapefileAttributeGroups

        public ShapefileAttributeGroups()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)