Logo Search packages:      
Sourcecode: jlgui version File versions  Download package

void javazoom::jlgui::player::amp::util::Config::save (  )  [inline]

Saves configuration.

Definition at line 618 of file Config.java.

References javazoom::jlgui::player::amp::util::ini::Configuration::add(), and javazoom::jlgui::player::amp::util::ini::Configuration::save().

    {
        if (_config != null)
        {
            _config.add(ORIGINE_X, _x);
            _config.add(ORIGINE_Y, _y);
            if (_lastDir != null) _config.add(LAST_DIR, _lastDir);
            if (_lastSkinDir != null) _config.add(LAST_SKIN_DIR, _lastSkinDir);
            if (_audioDevice != null) _config.add(AUDIO_DEVICE, _audioDevice);
            if (_visualMode != null) _config.add(VISUAL_MODE, _visualMode);
            if (_lastUrl != null) _config.add(LAST_URL, _lastUrl);
            if (_lastEqualizer != null) _config.add(LAST_EQUALIZER, _lastEqualizer);
            if (_playlistFilename != null) _config.add(LAST_PLAYLIST, _playlistFilename);
            if (_playlist != null) _config.add(PLAYLIST_IMPL, _playlist);
            if (_defaultSkin != null) _config.add(LAST_SKIN, _defaultSkin);
            if (_taginfoPolicy != null) _config.add(TAGINFO_POLICY, _taginfoPolicy);
            if (_volume != -1) _config.add(VOLUME_VALUE, _volume);
            _config.add(PLAYLIST_ENABLED, _playlistEnabled);
            _config.add(SHUFFLE_ENABLED, _shuffleEnabled);
            _config.add(REPEAT_ENABLED, _repeatEnabled);
            _config.add(EQUALIZER_ENABLED, _equalizerEnabled);
            _config.add(EQUALIZER_ON, _equalizerOn);
            _config.add(EQUALIZER_AUTO, _equalizerAuto);
            _config.add(SCREEN_LIMIT, _screenLimit);
            _config.save();
        }
    }


Generated by  Doxygen 1.6.0   Back to index