com.bbn.openmap.layer.beanbox
Class Fighter
java.lang.Object
com.bbn.openmap.layer.beanbox.SimpleBeanObject
com.bbn.openmap.layer.beanbox.Fighter
public class Fighter
- extends SimpleBeanObject
A SimpleBeanObject that represents a Fighter. Contains two fighter
specific fields: type (eg. F16, M21 etc) and speedInNMPerHr.
Constructor Summary |
Fighter()
|
Fighter(long id,
java.lang.String type,
float lat,
float lon,
float bearingInDeg,
float speedInNMPerHr)
|
Methods inherited from class com.bbn.openmap.layer.beanbox.SimpleBeanObject |
getBearingInDeg, getCustomGraphicClassName, getGraphicImage, getId, getLatitude, getLongitude, setBearingInDeg, setCustomGraphicClassName, setGraphicImage, setId, setLatitude, setLongitude |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
type
protected java.lang.String type
speedInNMPerHr
protected float speedInNMPerHr
Fighter
public Fighter()
Fighter
public Fighter(long id,
java.lang.String type,
float lat,
float lon,
float bearingInDeg,
float speedInNMPerHr)
setType
public void setType(java.lang.String type)
getType
public java.lang.String getType()
getSpeedInNMPerHr
public float getSpeedInNMPerHr()
setSpeedInNMPerHr
public void setSpeedInNMPerHr(float speedInNMPerHr)
toString
public java.lang.String toString()
- Overrides:
toString
in class SimpleBeanObject
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details