Class MarkerLocation

  • All Implemented Interfaces:
    java.io.Serializable

    public class MarkerLocation
    extends java.lang.Object
    implements java.io.Serializable
    Marker location in the tool navigation bars
    See Also:
    Serialized Form
    • Constructor Detail

      • MarkerLocation

        public MarkerLocation​(MarkerSet markers,
                              Program program,
                              Address addr,
                              int x,
                              int y)
        Construct a new MarkerLocation.
        Parameters:
        markers - marker manager service
        program - program containing the address
        addr - address of the location
        x - x position of the popup point on the screen
        y - y position of the popup point on the screen
    • Method Detail

      • getProgram

        public Program getProgram()
        Returns the program.
        Returns:
        the program for this marker location
      • getAddr

        public Address getAddr()
        Returns the address.
        Returns:
        the address for this marker location
      • getMarkerManager

        public MarkerSet getMarkerManager()
        Returns the Marker Manager.
        Returns:
        the marker manager
      • getX

        public int getX()
        Returns the X screen location of the popup point.
        Returns:
        the X coordinate for the screen location.
      • getY

        public int getY()
        Returns the Y screen location of the popup point.
        Returns:
        the Y coordinate for the screen location.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object