nl.tudelft.goal.ut2004.visualizer.util
Class SelectableNavPoint
java.lang.Object
nl.tudelft.goal.ut2004.visualizer.util.SelectableNavPoint
public class SelectableNavPoint
- extends Object
Wrapper around NavPoint
to make it more human readable in JList
.
- Author:
- Lennard de Rijk
Constructor Summary |
SelectableNavPoint(cz.cuni.amis.pogamut.ut2004.communication.worldview.map.Waypoint navPoint)
|
SelectableNavPoint
public SelectableNavPoint(cz.cuni.amis.pogamut.ut2004.communication.worldview.map.Waypoint navPoint)
- Parameters:
navPoint
- The NavPoint
to wrap in this object.
getNavPoint
public cz.cuni.amis.pogamut.ut2004.communication.worldview.map.Waypoint getNavPoint()
- Returns:
- the navPoint wrapped in this class.
toString
public String toString()
- Represents a
NavPoint
in a human readable form.
- Overrides:
toString
in class Object
getFromNavPointCollection
public static Collection<SelectableNavPoint> getFromNavPointCollection(Collection<cz.cuni.amis.pogamut.ut2004.communication.worldview.map.Waypoint> navCollection)
- Transforms a
Collection
of NavPoint
into an Array of SelectableNavPoint
.
- Parameters:
navCollection
- The Collection
of NavPoint
to transform
- Returns:
- An Array of
SelectableNavPoint
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.