Package Roots

Class MapRoot.MapBridge

  • Enclosing class:
    MapRoot

    public final class MapRoot.MapBridge
    extends java.lang.Object
    The Map bridge which is used by the HTML
    • Constructor Summary

      Constructors 
      Constructor Description
      MapBridge()  
    • Method Summary

      Modifier and Type Method Description
      private Photo findPhotoById​(int photo_id)
      Find the Photo with a specific photo id
      void open​(int photo_id)
      Open PhotoViewer with the given photo id
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapBridge

        public MapBridge()
    • Method Detail

      • open

        public final void open​(int photo_id)
        Open PhotoViewer with the given photo id
        Parameters:
        photo_id - the photo id of the photo
      • findPhotoById

        private Photo findPhotoById​(int photo_id)
        Find the Photo with a specific photo id
        Parameters:
        photo_id - id of photo
        Returns:
        photo if found, else null