Class FeatureTypeStyleWrapper


  • public class FeatureTypeStyleWrapper
    extends Object
    A wrapper for the FeatureTypeStyle object to ease gui use.
    Author:
    Andrea Antonello (www.hydrologis.com)
    • Constructor Detail

      • FeatureTypeStyleWrapper

        public FeatureTypeStyleWrapper​(org.geotools.styling.FeatureTypeStyle featureTypeStyle,
                                       StyleWrapper parent)
    • Method Detail

      • getFeatureTypeStyle

        public org.geotools.styling.FeatureTypeStyle getFeatureTypeStyle()
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • removeRule

        public void removeRule​(RuleWrapper remRule)
        Remove a RuleWrapper from the list.
        Parameters:
        remRule - the Rule to remove.
      • addRule

        public void addRule​(RuleWrapper addRule)
        Add a RuleWrapper to the list.
        Parameters:
        addRule - the Rule to add.
      • clear

        public void clear()
        Clear all the Rules and RuleWrappers.
      • swap

        public void swap​(int src,
                         int dest)
        Swap two elements of the list.
        Parameters:
        src - the position first element.
        dest - the position second element.