bt747.j2se_view.model
Class GPSPositionWaypoint

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

public class GPSPositionWaypoint
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
GPSPositionWaypoint(GPSRecord r)
           
 
Method Summary
 java.lang.Object getData()
           
 java.lang.String getDescription()
           
 GPSRecord getGpsRecord()
           
 org.jdesktop.swingx.mapviewer.GeoPosition getPosition()
           
 boolean isSelected()
           
 boolean isShowTag()
           
 void setData(java.lang.Object data)
           
 void setGpsRec(GPSRecord gpsRec)
           
 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

GPSPositionWaypoint

public GPSPositionWaypoint(GPSRecord r)
Method Detail

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