Class SetGridOriginAction

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, Destroyable

    public class SetGridOriginAction
    extends JosmAction
    Moves the origin of the grid drawn over the map to the current selection, so that grid lines pass through it, and enables the grid. The origin is the position of the selected node, or the centroid (arithmetic mean position) of all nodes reachable from the current selection (nodes of selected ways, node members of selected relations) if more than one node is involved.
    Since:
    19640
    See Also:
    MapGridPaintable, AlignGridRotationAction, Serialized Form