Class AviationZone

    • Field Detail

      • LABEL_OFFSET

        protected static final Offset LABEL_OFFSET
        Center text block on label position.
    • Constructor Detail

      • AviationZone

        public AviationZone​(java.lang.String sidc)
        Create a new aviation area.
        Parameters:
        sidc - Symbol code the identifies the graphic.
    • Method Detail

      • getSupportedGraphics

        public static java.util.List<java.lang.String> getSupportedGraphics()
        Indicates the graphics supported by this class.
        Returns:
        List of masked SIDC strings that identify graphics that this class supports.
      • getLabelAlignment

        protected java.lang.String getLabelAlignment()
        Description copied from class: BasicArea
        Indicates the alignment of the graphic's main label.
        Overrides:
        getLabelAlignment in class BasicArea
        Returns:
        Alignment for the main label. One of AVKey.CENTER, AVKey.LEFT, or AVKey.RIGHT.
      • createLabelText

        protected java.lang.String createLabelText()
        Description copied from class: BasicArea
        Create the text for the main label on this graphic.
        Overrides:
        createLabelText in class BasicArea
        Returns:
        Text for the main label. May return null if there is no text.
      • doCreateLabelText

        protected java.lang.String doCreateLabelText​(boolean includeAltitude)
        Create text for the area's label.
        Parameters:
        includeAltitude - Indicates whether to include altitude information in the label (if the SymbologyConstants.ALTITUDE_DEPTH modifier is set). Not all aviation area graphics support the altitude modifier.
        Returns:
        Text for the label, based on the active modifiers.