bt747.j2se_view.model
Class GPSPositionWaypoint
java.lang.Object
org.jdesktop.beans.AbstractBean
org.jdesktop.swingx.mapviewer.Waypoint
bt747.j2se_view.model.GPSPositionWaypoint
public class GPSPositionWaypoint
- extends org.jdesktop.swingx.mapviewer.Waypoint
Waypoint with extra data associated to location.
- Author:
- Mario
Methods inherited from class org.jdesktop.beans.AbstractBean |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_SELECTED
public static final java.lang.String PROPERTY_SELECTED
- See Also:
- Constant Field Values
PROPERTY_SHOWTAG
public static final java.lang.String PROPERTY_SHOWTAG
- See Also:
- Constant Field Values
GPSPositionWaypoint
public GPSPositionWaypoint(GPSRecord r)
getData
public java.lang.Object getData()
setData
public void setData(java.lang.Object data)
setSelected
public void setSelected(boolean selected)
- Parameters:
selected
- the selected to set
isSelected
public boolean isSelected()
- Returns:
- the selected
isShowTag
public final boolean isShowTag()
- Returns:
- the selected
toggleShowTag
public final void toggleShowTag()
- Toggles the 'show tag' status.
setShowTag
public final void setShowTag(boolean b)
getPosition
public org.jdesktop.swingx.mapviewer.GeoPosition getPosition()
- Overrides:
getPosition
in class org.jdesktop.swingx.mapviewer.Waypoint
setPosition
public void setPosition(org.jdesktop.swingx.mapviewer.GeoPosition coordinate)
- Overrides:
setPosition
in class org.jdesktop.swingx.mapviewer.Waypoint
getGpsRecord
public final GPSRecord getGpsRecord()
- Returns:
- the gpsRec
setGpsRec
public final void setGpsRec(GPSRecord gpsRec)
- Parameters:
gpsRec
- the gpsRec to set
getDescription
public java.lang.String getDescription()