001package jmri.jmrit.roster.rostergroup;
002
003import java.beans.PropertyChangeListener;
004
005/**
006 * The getter method for a roster group selection.
007 * <p>
008 * Objects that implement this interface will be able to provide a source for
009 * getting a roster group to other objects that manipulate roster groups.
010 *
011 * @author Randall Wood
012 */
013public interface RosterGroupSelector {
014
015    /**
016     * Key for the property "selectedRosterGroup"
017     */
018    String SELECTED_ROSTER_GROUP = "selectedRosterGroup";
019
020    String getSelectedRosterGroup();
021
022    void addPropertyChangeListener(PropertyChangeListener listener);
023
024    void addPropertyChangeListener(String propertyName, PropertyChangeListener listener);
025
026    void removePropertyChangeListener(PropertyChangeListener listener);
027
028    void removePropertyChangeListener(String propertyName, PropertyChangeListener listener);
029
030}