Class LabelExpression

    • Constructor Detail

      • LabelExpression

        protected LabelExpression​(com.esri.arcgisruntime.internal.jni.CoreLabelExpression coreLabelExpression)
        Creates a LabelExpression from a CoreLabelExpression instance.
        Since:
        100.11.0
    • Method Detail

      • getExpression

        public String getExpression()
        Gets the label expression script string.

        The expression is expected to be a complete, self-contained label expression in the language specified by the label expression subclass object.

        Returns:
        the label expression script string
        Since:
        100.11.0
      • setExpression

        public void setExpression​(String expression)
        Sets the label expression script string.

        The expression is expected to be a complete, self-contained label expression in the language specified by the label expression subclass object.

        Parameters:
        expression - the label expression script string
        Throws:
        IllegalArgumentException - if expression is null
        Since:
        100.11.0