Package mil.nga.mgrs.grid
Class Label
- java.lang.Object
-
- mil.nga.mgrs.grid.Label
-
public class Label extends Object
MGRS Label- Author:
- wnewman, osbornb
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description chargetBandLetter()Get the band letterBoundsgetBounds()Get the boundsPointgetCenter()Get the center pointStringgetName()Get the nameintgetZoneNumber()Get the zone numbervoidsetBandLetter(char bandLetter)Set the band lettervoidsetBounds(Bounds bounds)Set the boundsvoidsetCenter(Point center)Set the center pointvoidsetName(String name)Set the namevoidsetZoneNumber(int zoneNumber)Set the zone number
-
-
-
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
-
getZoneNumber
public int getZoneNumber()
Get the zone number- Returns:
- zone number
-
setZoneNumber
public void setZoneNumber(int zoneNumber)
Set the zone number- Parameters:
zoneNumber- zone number
-
getBandLetter
public char getBandLetter()
Get the band letter- Returns:
- band letter
-
setBandLetter
public void setBandLetter(char bandLetter)
Set the band letter- Parameters:
bandLetter- band letter
-
-