Package edu.wisc.ssec.mcidasv.data
Class GroundStation
java.lang.Object
edu.wisc.ssec.mcidasv.data.GroundStation
Container for everything needed to maintain state and draw a satellite "ground station".
For our purposes we draw the range ring and label the center point. Stuff like Fonts
and Colors are determined by the instantiated VisAD objects (CurveDrawer and TextDisplayable).
- Author:
- tommyj
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate double
private int
private Color
static final int
private EarthLocationTuple
private Font
private boolean
private int
private int
private String
-
Constructor Summary
ConstructorsConstructorDescriptionGroundStation
(String name, EarthLocationTuple location) GroundStation
(String name, EarthLocationTuple location, int angle) Constructor with additional antenna angle parameter.GroundStation
(String name, EarthLocationTuple location, int angle, double altitude) Constructor with additional antenna angle and altitude parameters. -
Method Summary
Modifier and TypeMethodDescriptiondouble
int
getColor()
getElt()
getFont()
boolean
int
int
getName()
void
setAltitude
(double newAltitude) void
setAntennaAngle
(int antennaAngle) void
void
setElt
(EarthLocationTuple elt) void
void
setGlobeDisplay
(boolean newValue) void
setLineStyle
(int newStyle) void
setLineWidth
(int newWidth) void
toString()
Override to only show name since used in combo boxes
-
Field Details
-
DEFAULT_ANTENNA_ANGLE
- See Also:
-
name
-
elt
-
antennaAngle
-
color
-
altitude
-
font
-
lineWidth
-
lineStyle
-
globeDisplay
-
-
Constructor Details
-
GroundStation
public GroundStation() -
GroundStation
-
GroundStation
Constructor with additional antenna angle parameter. -
GroundStation
Constructor with additional antenna angle and altitude parameters.
-
-
Method Details
-
getName
- Returns:
- the label
-
getElt
- Returns:
- the EarthLocationTuple
-
setName
- Parameters:
name
- the label to set
-
setElt
- Parameters:
elt
- the EarthLocationTuple to set
-
getAntennaAngle
- Returns:
- the antenna angle
-
setAntennaAngle
- Parameters:
antennaAngle
- the antenna angle to set
-
getColor
-
setColor
-
getAltitude
-
setAltitude
-
setFont
-
getFont
-
setGlobeDisplay
-
getGlobeDisplay
-
setLineStyle
-
getLineStyle
-
setLineWidth
-
getLineWidth
-
toString
Override to only show name since used in combo boxes
-