001// License: GPL. For details, see LICENSE file.
002package org.openstreetmap.josm.gui.mappaint;
003
004import javax.swing.JMenu;
005
006/**
007 * GUI elements for a {@link StyleSetting} class.
008 * @since 12831
009 */
010@FunctionalInterface
011public interface StyleSettingGui {
012
013    /**
014     * Adds the menu entry for the corresponding style setting to the menu
015     * @param menu The menu to add the setting to
016     */
017    void addMenuEntry(JMenu menu);
018
019}