Class WeaponsFreeZone

    • Field Detail

      • DIAGONAL_FILL_PATH

        protected static final java.lang.String DIAGONAL_FILL_PATH
        Path to the image used for the polygon fill pattern.
        See Also:
        Constant Field Values
    • Constructor Detail

      • WeaponsFreeZone

        public WeaponsFreeZone​(java.lang.String sidc)
    • 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.
      • applyDefaultAttributes

        protected void applyDefaultAttributes​(ShapeAttributes attributes)
        Apply defaults to the active attributes bundle. The default attributes are determined by the type of graphic. This method is called each frame to reset the active shape attributes to the appropriate default state. Override attributes specified by the application may be applied after the defaults have been set.
        Overrides:
        applyDefaultAttributes in class AbstractMilStd2525TacticalGraphic
        Parameters:
        attributes - Attributes bundle to receive defaults.
      • createLabelText

        protected java.lang.String createLabelText()
        Create the text for the main label on this graphic. Overridden to not include the altitude modifier in the label. This graphic does not support the altitude modifier.
        Overrides:
        createLabelText in class AviationZone
        Returns:
        Text for the main label. May return null if there is no text.
      • getImageSource

        protected java.lang.Object getImageSource()
        Indicates the source of the image that provides the polygon fill pattern.
        Returns:
        The source of the polygon fill pattern.