Android Open Source - poppas_haven Check Box Reference






From Project

Back to project page poppas_haven.

License

The source code is released under:

MIT License

If you think the Android project poppas_haven 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.hssdevelopment.poppas_haven;
/*from   www  .ja  v  a2  s.  co  m*/
import android.widget.CheckBox;

public class CheckBoxReference 
{
  private int parentPosition;
  private int childPosition;
  private CheckBox currentCheckbox;
  
  public int getParentPosition()
  {
    return this.parentPosition;
  }

  public int getChildPosition() {
    return childPosition;
  }
  
  public void setParentPosition(int parentPosition)
  {
    this.parentPosition = parentPosition;
  }
  
  public void setChildPosition(int childPosition) {
    this.childPosition = childPosition;
  }

  public CheckBox getCurrentCheckbox() {
    return currentCheckbox;
  }

  public void setCurrentCheckbox(CheckBox currentCheckbox) {
    this.currentCheckbox = currentCheckbox;
  }
  
  public boolean isCurrentReference(int parentPosition, int childPosition)
  {
    if(parentPosition == this.parentPosition && childPosition == this.childPosition)
      return true;
    else 
      return false;
  }
}




Java Source Code List

.Drink_Menu.java
.OrderOptions.java
com.hssdevelopment.poppas_haven.CheckBoxChecker.java
com.hssdevelopment.poppas_haven.CheckBoxReference.java
com.hssdevelopment.poppas_haven.Error_Message.java
com.hssdevelopment.poppas_haven.ExpandableListAdapter.java
com.hssdevelopment.poppas_haven.HomeScreen.java
com.hssdevelopment.poppas_haven.MenuAdapter.java
com.hssdevelopment.poppas_haven.MilkOptions.java
com.hssdevelopment.poppas_haven.ReviewOrder.java
com.hssdevelopment.poppas_haven.UI_Category_Menu.java
com.hssdevelopment.poppas_haven.UI_Drink_Menu.java
com.hssdevelopment.poppas_haven.UI_Hot_Iced.java
com.hssdevelopment.poppas_haven.UI_Milk_Options.java
com.hssdevelopment.poppas_haven.UI_Sauce_Syrup_Menu.java