Interface MarkerListener


  • public interface MarkerListener
    Listener for MarkerManager's created from the MarkerService. It is called for navigation to the marker or to get a tooltip for a marker.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      javax.swing.ImageIcon getIcon​(MarkerLocation loc)
      Called to get the icon that corresponds to the given location.
      ProgramLocation getProgramLocation​(MarkerLocation loc)
      Called when the navigation bar to the right of the window is selected to allow the the creator of a Marker an opportunity to provide a more specific ProgramLocation to navigate to - otherwise the browser will navigate to the corresponding AddressLocation.
      java.lang.String getTooltip​(MarkerLocation loc)
      Called to get a tool tip for a marker under the cursor in the marker panel to the left of the browser.
    • Method Detail

      • getProgramLocation

        ProgramLocation getProgramLocation​(MarkerLocation loc)
        Called when the navigation bar to the right of the window is selected to allow the the creator of a Marker an opportunity to provide a more specific ProgramLocation to navigate to - otherwise the browser will navigate to the corresponding AddressLocation.
      • getTooltip

        java.lang.String getTooltip​(MarkerLocation loc)
        Called to get a tool tip for a marker under the cursor in the marker panel to the left of the browser.
      • getIcon

        javax.swing.ImageIcon getIcon​(MarkerLocation loc)
        Called to get the icon that corresponds to the given location.