Class SubtypeSublayer

    • Method Detail

      • setLabelsEnabled

        public void setLabelsEnabled​(boolean labelsEnabled)
        Sets whether the sublayer's labels are enabled/disabled.
        Parameters:
        labelsEnabled - true to enable, false to disable
        Since:
        100.7.0
      • setMaxScale

        public void setMaxScale​(double maxScale)
        Sets the sublayer's maximum scale.
        Parameters:
        maxScale - the maximum scale
        Since:
        100.7.0
      • setMinScale

        public void setMinScale​(double minScale)
        Sets the sublayer's minimum scale.
        Parameters:
        minScale - the minimum scale
        Since:
        100.7.0
      • setRenderer

        public void setRenderer​(Renderer renderer)
        Sets the renderer.
        Overrides:
        setRenderer in class ArcGISSublayer
        Parameters:
        renderer - the new renderer
        Since:
        100.7.0
      • setOpacity

        public void setOpacity​(float opacity)
        Sets the opacity - a value between 0 to 1.0 with 1.0 being solid or opaque and 0 being transparent.
        Parameters:
        opacity - the new opacity
        Throws:
        java.lang.IllegalArgumentException - if opacity is less than 0 or greater than 1
        Since:
        100.7.0
      • getLabelDefinitions

        public java.util.List<LabelDefinition> getLabelDefinitions()
        Gets a mutable list of LabelDefinitions for the subtype sublayer.
        Returns:
        the list of label definitions for the subtype sublayer
        Since:
        100.7.0
      • getSubtype

        public FeatureSubtype getSubtype()
        Gets the subtype in the feature service that this subtype sublayer represents.
        Returns:
        the subtype in the feature service that this subtype sublayer represents
        Since:
        100.7.0
      • copy

        public ArcGISSublayer copy()
        Description copied from class: ArcGISSublayer
        Creates a deep copy of this ArcGISSublayer instance.
        Specified by:
        copy in class ArcGISSublayer
        Returns:
        a deep copy of this ArcGISSublayer instance