Changeset 34066 in osm for applications/viewer/jmapviewer


Ignore:
Timestamp:
2018-02-17T13:34:31+01:00 (7 years ago)
Author:
donvip
Message:

fix typo: setZoomContolsVisible => setZoomControlsVisible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/JMapViewer.java

    r33762 r34066  
    10731073     * Sets whether zoom controls are displayed or not.
    10741074     * @param visible {@code true} if zoom controls are displayed, {@code false} otherwise
    1075      */
     1075     * @deprecated use {@link #setZoomControlsVisible(boolean)}
     1076     */
     1077    @Deprecated
    10761078    public void setZoomContolsVisible(boolean visible) {
     1079        setZoomControlsVisible(visible);
     1080    }
     1081
     1082    /**
     1083     * Sets whether zoom controls are displayed or not.
     1084     * @param visible {@code true} if zoom controls are displayed, {@code false} otherwise
     1085     */
     1086    public void setZoomControlsVisible(boolean visible) {
    10771087        zoomSlider.setVisible(visible);
    10781088        zoomInButton.setVisible(visible);
Note: See TracChangeset for help on using the changeset viewer.