类 LabelSet


  • public class LabelSet
    extends java.lang.Object
    Template
    作者:
    Yaqiang Wang
    • 构造器详细资料

      • LabelSet

        public LabelSet()
    • 方法详细资料

      • isDrawLabels

        public boolean isDrawLabels()
        Get if draw labels
        返回:
        If draw labels
      • setDrawLabels

        public void setDrawLabels​(boolean istrue)
        Set if draw labels
        参数:
        istrue - If draw labels
      • getFieldName

        public java.lang.String getFieldName()
        Get label field name
        返回:
        Label field name
      • setFieldName

        public void setFieldName​(java.lang.String name)
        Set label field name
        参数:
        name - Label field name
      • getLabelFont

        public java.awt.Font getLabelFont()
        Get label font
        返回:
        Font
      • setLabelFont

        public void setLabelFont​(java.awt.Font font)
        Set label font
        参数:
        font - Label font
      • getLabelColor

        public java.awt.Color getLabelColor()
        Get label color
        返回:
        Label color
      • setLabelColor

        public void setLabelColor​(java.awt.Color color)
        Set label color
        参数:
        color - Label color
      • isDrawShadow

        public boolean isDrawShadow()
        Get if show shadow
        返回:
        If show shadow
      • setDrawShadow

        public void setDrawShadow​(boolean istrue)
        Set if show shadow
        参数:
        istrue - If show shadow
      • getShadowColor

        public java.awt.Color getShadowColor()
        Get shadow color
        返回:
        Shadow color
      • setShadowColor

        public void setShadowColor​(java.awt.Color color)
        Set shadow color
        参数:
        color - Shadow color
      • getLabelAlignType

        public AlignType getLabelAlignType()
        Get label align type
        返回:
        Align type
      • setLabelAlignType

        public void setLabelAlignType​(AlignType type)
        Set label align type
        参数:
        type - Align type
      • getXOffset

        public int getXOffset()
        Get x offset
        返回:
        X offset
      • setXOffset

        public void setXOffset​(int value)
        Set x offset
        参数:
        value - X offset
      • getYOffset

        public int getYOffset()
        Get y offset
        返回:
        Y offset
      • setYOffset

        public void setYOffset​(int value)
        Set y offset
        参数:
        value - Y offset
      • isAvoidCollision

        public boolean isAvoidCollision()
        Get if avoid collision
        返回:
        If avoid collision
      • setAvoidCollision

        public void setAvoidCollision​(boolean istrue)
        Set if avoid collision
        参数:
        istrue - If avoid collision
      • isColorByLegend

        public boolean isColorByLegend()
        Get if set color by legend
        返回:
        Boolean
      • setColorByLegend

        public void setColorByLegend​(boolean istrue)
        Set if set color by legend
        参数:
        istrue - Boolean
      • isDynamicContourLabel

        public boolean isDynamicContourLabel()
        Get if using dynamic contour label
        返回:
        Boolean
      • setDynamicContourLabel

        public void setDynamicContourLabel​(boolean istrue)
        Set if using dynamic contour label
        参数:
        istrue - Boolean
      • isAutoDecimal

        public boolean isAutoDecimal()
        Get if automatic set decimal digits
        返回:
        Boolean
      • setAutoDecimal

        public void setAutoDecimal​(boolean istrue)
        Set if automatic set decimal digits
        参数:
        istrue - Boolean
      • getDecimalDigits

        public int getDecimalDigits()
        Get decimal digits
        返回:
        Decimal digits
      • setDecimalDigits

        public void setDecimalDigits​(int value)
        Set decimal digits
        参数:
        value - Decimal digits