001package jmri.jmrix.can.cbus.swing.modules;
002
003/**
004 * Interface for callback function(s) used to update the NVs
005 *
006 * @author Andrew Crosland Copyright (C) 2022
007 */
008public interface UpdateNV {
009
010    /**
011     * Build a new NV value from contents of gui elements
012     * 
013     * @param index Index of something. e.g., an NV, or an output bit, etc
014     */
015    void setNewVal(int index);
016}