Android Open Source - Xbox360CollectorsPlace Selection File






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;
/* ww w.j ava 2  s  .  co  m*/
import java.io.Serializable;

/**
 * Entity used in the file explorer. Stores the info of each file
 */
public class SelectionFile implements Serializable
{
  /*--------------------------------------------------------------- CONSTANTS */
  
  private static final long serialVersionUID = -1099006376627944549L;

  /*--------------------------------------------------------------- ENUMS */
  
  public enum Type {FOLDER, FILE} 
  
  /*--------------------------------------------------------------- VARIABLES */
  
  private Type type;
  private String name;
  private String path;
  private boolean selected;
  
  /*--------------------------------------------------------------- CONSTRUCTORS */
  
  public SelectionFile(Type type, String name, String path, boolean selected) 
  {
    super();
    this.type = type;
    this.name = name;
    this.path = path;
    this.selected = selected;
  }
  
  /*--------------------------------------------------------------- GETTERS */
  
  public Type getType() 
  {
    return type;
  }

  public String getName() 
  {
    return name;
  }
  
  public String getPath() 
  {
    return path;
  }

  public boolean getSelected() 
  {
    return selected;
  }
  
  /*--------------------------------------------------------------- SETTERS */

  public void setType(Type type) 
  {
    this.type = type;
  }
  
  public void setName(String name) 
  {
    this.name = name;
  }
  
  public void setPath(String path) 
  {
    this.path = path;
  }

  public void setSelected(boolean selected) 
  {
    this.selected = selected;
  }
}




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