Android Open Source - Xbox360CollectorsPlace Options






From Project

Back to project page Xbox360CollectorsPlace.

License

The source code is released under:

MIT License

If you think the Android project Xbox360CollectorsPlace listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.xboxcollectorsplace.bl.entities;
/*from   w  w w  .java  2s.c  om*/
import java.io.Serializable;

/**
 * Entity used to store the options selected by the user. These options are the language, the
 * boot type (video played in the title screen) and the attribute that indicates if the genre
 * or the year should be shown on the catalog list (only Smartphones)
 */
public class Options implements Serializable
{
  //------------------------------------------------------------------------- CONSTANTS*/
  
  private static final long serialVersionUID = -4566367402169162820L;

  //------------------------------------------------------------------------- ENUMS*/
  
  public enum Language {ENGLISH, GERMAN, FRENCH, ITALIAN, BASQUE, POLISH, SPANISH, JAPANESE, DUTCH,
    NORWEGIAN, FINNISH, RUSSIAN, PORTUGUESE, CZECH, SWEDISH, KOREAN};
  public enum BootType {OLD, NEW};
  public enum ShowGenre {YEAR, GENRE};
  
  //------------------------------------------------------------------------- VARIABLES*/
  
  private Language language;
  private BootType boot;
  private ShowGenre showGenre;
    
  //------------------------------------------------------------------------- CONSTRUCTORS*/
  
  public Options()
  {
    super();
  }
  
  public Options(Language language, BootType boot, ShowGenre showGenre) 
  {
    super();
    this.language = language;
    this.boot = boot;
    this.showGenre = showGenre;
  }
  
  //------------------------------------------------------------------------- GETTERS*/
  
  public Language getLanguage()
  {
    return language;
  }
  
  public BootType getBoot() 
  {
    return boot;
  }
  
  public ShowGenre getShowGenre()
  {
    return showGenre;
  }
  
  //------------------------------------------------------------------------- SETTERS*/
  
  public void setLanguage(Language language)
  {
    this.language = language;
  }
  
  public void setBoot(BootType boot) 
  {
    this.boot = boot;
  }
  
  public void setShowGenre(ShowGenre showGenre)
  {
    this.showGenre = showGenre;
  }
}




Java Source Code List

com.xboxcollectorsplace.App.java
com.xboxcollectorsplace.bl.BLParameters.java
com.xboxcollectorsplace.bl.BLUtils.java
com.xboxcollectorsplace.bl.controllers.StorageController.java
com.xboxcollectorsplace.bl.entities.Catalog.java
com.xboxcollectorsplace.bl.entities.DLC.java
com.xboxcollectorsplace.bl.entities.Filters.java
com.xboxcollectorsplace.bl.entities.GamePhotoGallery.java
com.xboxcollectorsplace.bl.entities.GamePhoto.java
com.xboxcollectorsplace.bl.entities.Game.java
com.xboxcollectorsplace.bl.entities.Link.java
com.xboxcollectorsplace.bl.entities.OptionString.java
com.xboxcollectorsplace.bl.entities.Options.java
com.xboxcollectorsplace.bl.entities.SelectionFile.java
com.xboxcollectorsplace.bl.entities.Sort.java
com.xboxcollectorsplace.bl.extension.XboxAlarmReceiver.java
com.xboxcollectorsplace.bl.extension.XboxDownloaderService.java
com.xboxcollectorsplace.bl.extension.XboxInitialDownload.java
com.xboxcollectorsplace.ui.CatalogActivity.java
com.xboxcollectorsplace.ui.CollectionActivity.java
com.xboxcollectorsplace.ui.ConfigActivity.java
com.xboxcollectorsplace.ui.EditAchievementsActivity.java
com.xboxcollectorsplace.ui.EditPhotoTitleActivity.java
com.xboxcollectorsplace.ui.FileSelectorActivity.java
com.xboxcollectorsplace.ui.FilterSortActivity.java
com.xboxcollectorsplace.ui.GameDetailActivity.java
com.xboxcollectorsplace.ui.GoToActivity.java
com.xboxcollectorsplace.ui.PhotoGalleryActivity.java
com.xboxcollectorsplace.ui.SummaryActivity.java
com.xboxcollectorsplace.ui.SynopsisDetailActivity.java
com.xboxcollectorsplace.ui.TitleScreenActivity.java
com.xboxcollectorsplace.utils.JustifiedTextView.java
com.xboxcollectorsplace.utils.XComparator.java
com.xboxcollectorsplace.utils.XLog.java