Class LandMarkGroup

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<LandMark>
videoRangePanel.vrmethods.landMarkMethod.LandMarkGroup
All Implemented Interfaces:
Serializable, Cloneable, Iterable<LandMark>, Collection<LandMark>, List<LandMark>, RandomAccess

public class LandMarkGroup extends ArrayList<LandMark> implements Serializable, Cloneable
List for storing landmarks.
Author:
Jamie Macaulay
See Also:
  • Constructor Details

    • LandMarkGroup

      public LandMarkGroup()
  • Method Details

    • getName

      public String getName()
      Get the name of the group
      Returns:
      the name of the group
    • setGroupName

      public void setGroupName(String groupName)
      Set the name of the group
      Parameters:
      groupName - - the name of the group.
    • clone

      public LandMarkGroup clone()
      Overrides:
      clone in class ArrayList<LandMark>
    • toString

      public String toString()
      Overrides:
      toString in class AbstractCollection<LandMark>
    • getComment

      public String getComment()
      Get comment for the group
      Returns:
    • setCommentText

      public void setCommentText(String comment)
      Set comment for the group.
      Parameters:
      comment -
    • update

      public void update(LandMarkGroup landMarkGroupList)
    • getOriginHeight

      public Double getOriginHeight()
      If any of the landmarks are defined by bearings rather than a LatLong location then the height at which the bearings for this group were taken is returned.
      Returns:
    • getOriginLatLong

      public LatLong getOriginLatLong()
      If any of the landmarks are defined by bearings rather than a LatLong location then the height at which the bearings for this group were taken is returned.
      Returns:
    • setLandMarks

      public void setLandMarks(ArrayList<LandMark> landMarks)
      Set landmarks. If null clears the landmarks.
      Parameters:
      landMarks -