Package tvdataservice

Examples of tvdataservice.PictureSettingsIf


  /**
   * Saves the picture settings for TvBrowserDataService.
   */
  public void saveSettings() {
    if(mTvBrowserDataServiceSettingsPanel instanceof PictureSettingsIf) {
      PictureSettingsIf pictureIf = ((PictureSettingsIf)mTvBrowserDataServiceSettingsPanel);
     
      if(mDownloadNoPictures.isSelected()) {
        pictureIf.setPictureState(PictureSettingsIf.NO_PICTURES);
      } else if(mDownloadMorning.isSelected()) {
        pictureIf.setPictureState(PictureSettingsIf.MORNING_PICTURES);
      } else if(mDownloadEvening.isSelected()) {
        pictureIf.setPictureState(PictureSettingsIf.EVENING_PICTURES);
      } else if(mDownloadAll.isSelected()) {
        pictureIf.setPictureState(PictureSettingsIf.ALL_PICTURES);
      }

      mTvBrowserDataServiceSettingsPanel.ok();
    }
  }
View Full Code Here

TOP

Related Classes of tvdataservice.PictureSettingsIf

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.