Class GridLabel


  • public class GridLabel
    extends Label
    MGRS Grid Label
    Author:
    wnewman, osbornb
    • Constructor Detail

      • GridLabel

        public GridLabel​(String name,
                         Point center,
                         Bounds bounds,
                         GridType gridType,
                         MGRS coordinate)
        Constructor
        Parameters:
        name - name
        center - center point
        bounds - bounds
        gridType - grid type
        coordinate - MGRS coordinate
    • Method Detail

      • getGridType

        public GridType getGridType()
        Get the grid type
        Returns:
        grid type
      • setGridType

        public void setGridType​(GridType gridType)
        Set the grid type
        Parameters:
        gridType - grid type
      • getCoordinate

        public MGRS getCoordinate()
        Get the MGRS coordinate
        Returns:
        MGRS coordinate
      • setCoordinate

        public void setCoordinate​(MGRS coordinate)
        Set the MGRS coordinate
        Parameters:
        coordinate - MGRS coordinate