Android Open Source - GameTimer Gradient






From Project

Back to project page GameTimer.

License

The source code is released under:

Apache License

If you think the Android project GameTimer 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.solidnw.gametimer.model;
/* w w  w .  j ava  2  s  . c  o  m*/

/**
 * @author  SickSta
 * @since   18:05:36 - 26.01.2013
 * @project AndroidGameTimer
 */
public class Gradient
{
  // ===========================================================
  // Constants
  // ===========================================================

  // ===========================================================
  // Fields
  // ===========================================================
  private String  name;
  private int   startColor;
  private int   endColor;
  private int   textColor;
    
  // ===========================================================
  // Constructors
  // ===========================================================
  public Gradient(String name, int startColor, int endColor, int textColor)
  {
    this.name    = name;
    this.startColor  = startColor;
    this.endColor  = endColor;
    this.textColor  = textColor;
  }
  
  public Gradient()
  {}
  
  // ===========================================================
  // Methods for/from SuperClass/Interfaces
  // ===========================================================

  // ===========================================================
  // Methods
  // ===========================================================

  // ===========================================================
  // Getter & Setter
  // ===========================================================
  /**
   * @return the name
   */
  public String getName()
  {
    return name;
  }
  
  /**
   * @return the startColor
   */
  public int getStartColor()
  {
    return startColor;
  }

  /**
   * @return the endColor
   */
  public int getEndColor()
  {
    return endColor;
  }
  
  /**
   * @return the textColor
   */
  public int getTextColor()
  {
    return textColor;
  }

  
  /**
   * @param name the name to set
   */
  public void setName(String name)
  {
    this.name = name;
  }
  
  /**
   * @param startColor the startColor to set
   */
  public void setStartColor(int startColor)
  {
    this.startColor = startColor;
  }

  /**
   * @param endColor the endColor to set
   */
  public void setEndColor(int endColor)
  {
    this.endColor = endColor;
  }
  
  /**
   * @param textColor the textColor to set
   */
  public void setTextColor(int textColor)
  {
    this.textColor = textColor;
  }
  
  // ===========================================================
  // Inner and Anonymous Classes
  // ===========================================================
}




Java Source Code List

com.solidnw.gametimer.activities.GameActivity.java
com.solidnw.gametimer.activities.GroupActivity.java
com.solidnw.gametimer.activities.GroupManagementActivity.java
com.solidnw.gametimer.activities.MainActivity.java
com.solidnw.gametimer.activities.PlayerActivity.java
com.solidnw.gametimer.activities.PlayerManagementActivity.java
com.solidnw.gametimer.adapter.AbstractRemoveItemAdapter.java
com.solidnw.gametimer.adapter.ColorAdapter.java
com.solidnw.gametimer.adapter.DrawerListAdapter.java
com.solidnw.gametimer.adapter.GameModePagerAdapter.java
com.solidnw.gametimer.adapter.GroupAdapter.java
com.solidnw.gametimer.adapter.RemoveGroupListAdapter.java
com.solidnw.gametimer.adapter.RemoveMemberListAdapter.java
com.solidnw.gametimer.adapter.RemovePlayerListAdapter.java
com.solidnw.gametimer.database.DatabaseHelper.java
com.solidnw.gametimer.database.DatabaseLayer.java
com.solidnw.gametimer.fragments.GameFragment.java
com.solidnw.gametimer.fragments.GameModeFragment.java
com.solidnw.gametimer.fragments.GameModePagerFragment.java
com.solidnw.gametimer.fragments.GroupFragment.java
com.solidnw.gametimer.fragments.GroupManagementFragment.java
com.solidnw.gametimer.fragments.PlayerFragment.java
com.solidnw.gametimer.fragments.PlayerManagementFragment.java
com.solidnw.gametimer.listener.DrawerItemClickListener.java
com.solidnw.gametimer.model.DrawerConstants.java
com.solidnw.gametimer.model.GameModeConstants.java
com.solidnw.gametimer.model.GradientHelper.java
com.solidnw.gametimer.model.Gradient.java
com.solidnw.gametimer.model.Group.java
com.solidnw.gametimer.model.IntentConstants.java
com.solidnw.gametimer.model.Player.java
com.solidnw.gametimer.model.PreferencesConstants.java
com.solidnw.gametimer.model.Time.java