Package mil.nga.grid

Class Label


  • public class Label
    extends Object
    Grid Label
    Author:
    osbornb
    • Constructor Detail

      • Label

        public Label​(String name,
                     Point center,
                     Bounds bounds)
        Constructor
        Parameters:
        name - name
        center - center point
        bounds - bounds
    • Method Detail

      • getName

        public String getName()
        Get the name
        Returns:
        name
      • setName

        public void setName​(String name)
        Set the name
        Parameters:
        name - name
      • getCenter

        public Point getCenter()
        Get the center point
        Returns:
        center point
      • setCenter

        public void setCenter​(Point center)
        Set the center point
        Parameters:
        center - center point
      • getBounds

        public Bounds getBounds()
        Get the bounds
        Returns:
        bounds
      • setBounds

        public void setBounds​(Bounds bounds)
        Set the bounds
        Parameters:
        bounds - bounds