source: josm/trunk/src/org/openstreetmap/josm/spi/preferences/SettingVisitor.java @ 12881

Last change on this file since 12881 was 12881, checked in by bastiK, 12 months ago

see #15229 - move remaining classes to spi.preferences package, to make it self-contained

  • extract event listener classes from Preferences (duplicated, for smooth transition)
  • move *Setting classes
  • Property svn:eol-style set to native
File size: 830 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.spi.preferences;
3
4/**
5 * Visitor interface for {@link Setting} implementations.
6 * @since xxx (moved from package {@code org.openstreetmap.josm.data.preferences})
7 */
8public interface SettingVisitor {
9    /**
10     * Visitor call for {@link StringSetting}.
11     * @param value string setting
12     */
13    void visit(StringSetting value);
14
15    /**
16     * Visitor call for {@link ListSetting}.
17     * @param value list setting
18     */
19    void visit(ListSetting value);
20
21    /**
22     * Visitor call for {@link ListListSetting}.
23     * @param value list list setting
24     */
25    void visit(ListListSetting value);
26
27    /**
28     * Visitor call for {@link MapListSetting}.
29     * @param value map list setting
30     */
31    void visit(MapListSetting value);
32}
Note: See TracBrowser for help on using the repository browser.