bt747.j2se_view.model
Class MapWaypoint

java.lang.Object
  extended by org.jdesktop.beans.AbstractBean
      extended by org.jdesktop.swingx.mapviewer.Waypoint
          extended by bt747.j2se_view.model.MapWaypoint

public class MapWaypoint
extends org.jdesktop.swingx.mapviewer.Waypoint

Waypoint with extra data associated to location.

Author:
Mario

Field Summary
static java.lang.String PROPERTY_SELECTED
           
static java.lang.String PROPERTY_SHOWTAG
           
 
Constructor Summary
MapWaypoint(BT747Waypoint wpt)
           
MapWaypoint(GPSRecord gpsRec)
           
 
Method Summary
 BT747Waypoint getBT747Waypoint()
           
 java.lang.String getDescription()
           
 GPSRecord getGpsRecord()
           
 org.jdesktop.swingx.mapviewer.GeoPosition getPosition()
           
 boolean isSelected()
           
 boolean isShowTag()
           
 void setPosition(org.jdesktop.swingx.mapviewer.GeoPosition coordinate)
           
 void setSelected(boolean selected)
           
 void setShowTag(boolean b)
           
 void toggleShowTag()
          Toggles the 'show tag' status.
 
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
 

Field Detail

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
Constructor Detail

MapWaypoint

public MapWaypoint(BT747Waypoint wpt)

MapWaypoint

public MapWaypoint(GPSRecord gpsRec)
Method Detail

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 GPSRecord getGpsRecord()

getBT747Waypoint

public BT747Waypoint getBT747Waypoint()

getDescription

public java.lang.String getDescription()