Android Open Source - Pimp_my_Z1 Abstract Card From Project Back to project page Pimp_my_Z1 .
License The source code is released under:
GNU General Public License
If you think the Android project Pimp_my_Z1 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.fima.cardsui.objects;
/ * f r o m w w w . j a v a 2 s . c o m * /
import android.content.Context;
import android.support.v7.app.ActionBarActivity;
import android.text.TextWatcher;
import android.view.View;
import android.widget.AdapterView;
import android.widget.CompoundButton;
import android.widget.SeekBar;
import java.util.ArrayList;
public abstract class AbstractCard {
protected String description;
protected String color;
protected String titleColor;
protected String stripeColor;
protected String desc;
protected String title;
protected String titlePlay;
protected String unit;
protected String type;
protected String prop;
protected String cmd1;
protected String cmd2;
protected String buttonText1;
protected String buttonText2;
protected String url;
protected String filePath;
protected String videoId;
protected String username, annotation, avatarUrl, imageUrl, imageTitle, resharedDesc, resharedText, resharedFrom, originalTitle;
protected ArrayList<String> spinnerEntries;
protected Boolean hasOverflow, isClickable, isReshared;
protected int imageRes, image, seekbarMin, seekBarMax, seekBarProgress, seekBarProgress2, marginBottom = 0, differenciator, duration, rating, likes, comments, plusOnes, currentItem;
protected ActionBarActivity fa;
protected AdapterView.OnItemSelectedListener onItemSelectedListener;
protected CompoundButton.OnCheckedChangeListener onCheckedChangeListener;
protected android.support.v7.view.ActionMode.Callback callback;
protected SeekBar.OnSeekBarChangeListener listener;
protected View.OnClickListener clickListener;
protected TextWatcher textWatcher;
protected View.OnFocusChangeListener focusListener;
public abstract View getView(Context context);
public abstract View getView(Context context, boolean swipeable);
public String getTitle() {
return title;
}
public String getTitlePlay() {
return titlePlay;
}
public String getDescription() {
return desc;
}
public int getImage() {
return image;
}
public String getColor() {
return color;
}
public String getTitleColor() {
return titleColor;
}
public String getType() {
return type;
}
public String getUnit() {
return unit;
}
public String getCmd1() {
return cmd1;
}
public void setCmd1(String cmd1) {
this.cmd1 = cmd1;
}
public String getCmd2() {
return cmd2;
}
public String getResharedDesc() {
return resharedDesc;
}
public void setCmd2(String cmd2) {
this.cmd2 = cmd2;
}
public String getButtonText1() {
return buttonText1;
}
public void setButtonText1(String buttonText1) {
this.buttonText1 = buttonText1;
}
public String getButtonText2() {
return buttonText2;
}
public void setButtonText2(String buttonText2) {
this.buttonText2 = buttonText2;
}
public String getStripeColor() {
return stripeColor;
}
public void setStripeColor(String stripeColor) {
this.stripeColor = stripeColor;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public ArrayList<String> getSpinnerEntries() {
return spinnerEntries;
}
public Boolean getHasOverflow() {
return hasOverflow;
}
public Boolean getIsClickable() {
return isClickable;
}
public Boolean getPostIsReshared() {
return isReshared;
}
public int getImageRes() {
return imageRes;
}
public int getSeekBarMax() {
return seekBarMax;
}
public String getProp() {
return prop;
}
public void setProp(String prop) {
this.prop = prop;
}
public int getSeekBarProgress() {
return seekBarProgress;
}
public ActionBarActivity getSherlockFragmentActivity() {
return fa;
}
public android.support.v7.view.ActionMode.Callback getCallback() {
return callback;
}
public AdapterView.OnItemSelectedListener getOnItemSelectedListener() {
return onItemSelectedListener;
}
public CompoundButton.OnCheckedChangeListener getOnCheckedChangeListener() {
return onCheckedChangeListener;
}
public SeekBar.OnSeekBarChangeListener getListener() {
return listener;
}
public void setListener(SeekBar.OnSeekBarChangeListener listener) {
this.listener = listener;
}
public View.OnClickListener getClickListener() {
return clickListener;
}
public void setClickListener(View.OnClickListener clickListener) {
this.clickListener = clickListener;
}
public TextWatcher getTextWatcher() {
return textWatcher;
}
public void setTextWatcher(TextWatcher textWatcher) {
this.textWatcher = textWatcher;
}
public View.OnFocusChangeListener getFocusListener() {
return focusListener;
}
public void setFocusListener(View.OnFocusChangeListener focusListener) {
this.focusListener = focusListener;
}
}
Java Source Code List com.androguide.honamicontrol.MainActivity.java com.androguide.honamicontrol.PresentationActivity.java com.androguide.honamicontrol.SettingsActivity.java com.androguide.honamicontrol.bootservice.BootHelper.java com.androguide.honamicontrol.bootservice.BootReceiver.java com.androguide.honamicontrol.cards.CardDoubleSeekBarPA.java com.androguide.honamicontrol.cards.CardDoubleSeekBar.java com.androguide.honamicontrol.cards.CardImageLocal.java com.androguide.honamicontrol.cards.CardSeekBarGeneric.java com.androguide.honamicontrol.cards.CardSeekBarReadahead.java com.androguide.honamicontrol.cards.CardSeekBarSC.java com.androguide.honamicontrol.cards.CardSeekBarSysctl.java com.androguide.honamicontrol.cards.CardSeekBarVibrator.java com.androguide.honamicontrol.cards.CardSeekBar.java com.androguide.honamicontrol.cards.CardSpinnerSchedMCDisabled.java com.androguide.honamicontrol.cards.CardSpinnerSchedMC.java com.androguide.honamicontrol.cards.CardSpinnerVoltage.java com.androguide.honamicontrol.cards.CardSpinner.java com.androguide.honamicontrol.cards.CardSwitchDisabled.java com.androguide.honamicontrol.cards.CardSwitchPlugin.java com.androguide.honamicontrol.cards.CardTopImageLocal.java com.androguide.honamicontrol.fragments.CardsFragment.java com.androguide.honamicontrol.fragments.HelpFragment.java com.androguide.honamicontrol.fragments.WelcomeFragment.java com.androguide.honamicontrol.helpers.CPUHelper.java com.androguide.honamicontrol.helpers.FileHelper.java com.androguide.honamicontrol.helpers.Helpers.java com.androguide.honamicontrol.helpers.NegativeSeekBar.java com.androguide.honamicontrol.helpers.ShellInterface.java com.androguide.honamicontrol.helpers.SystemPropertiesReflection.java com.androguide.honamicontrol.helpers.CMDProcessor.AbstractAsyncSuCMDProcessor.java com.androguide.honamicontrol.helpers.CMDProcessor.CMDProcessor.java com.androguide.honamicontrol.helpers.CMDProcessor.ChildProcess.java com.androguide.honamicontrol.helpers.CMDProcessor.CommandResult.java com.androguide.honamicontrol.helpers.CMDProcessor.Constants.java com.androguide.honamicontrol.helpers.CMDProcessor.Shell.java com.androguide.honamicontrol.kernel.KernelFragment.java com.androguide.honamicontrol.kernel.colorcontrol.ColorControlActivity.java com.androguide.honamicontrol.kernel.colorcontrol.ColorControlInterface.java com.androguide.honamicontrol.kernel.cpucontrol.CPUActivity.java com.androguide.honamicontrol.kernel.cpucontrol.CPUFragment.java com.androguide.honamicontrol.kernel.cpucontrol.CPUInterface.java com.androguide.honamicontrol.kernel.cpucontrol.GovernorDialog.java com.androguide.honamicontrol.kernel.gpucontrol.GPUActivity.java com.androguide.honamicontrol.kernel.gpucontrol.GPUInterface.java com.androguide.honamicontrol.kernel.iotweaks.IOTweaksActivity.java com.androguide.honamicontrol.kernel.iotweaks.IOTweaksInterface.java com.androguide.honamicontrol.kernel.memory.MemoryManagementActivity.java com.androguide.honamicontrol.kernel.memory.MemoryManagementInterface.java com.androguide.honamicontrol.kernel.misc.MiscActivity.java com.androguide.honamicontrol.kernel.misc.MiscInterface.java com.androguide.honamicontrol.kernel.powermanagement.PowerManagementActivity.java com.androguide.honamicontrol.kernel.powermanagement.PowerManagementInterface.java com.androguide.honamicontrol.kernel.voltagecontrol.VoltageActivity.java com.androguide.honamicontrol.kernel.voltagecontrol.VoltageInterface.java com.androguide.honamicontrol.profiles.BalancedProfile.java com.androguide.honamicontrol.profiles.BatteryMaxProfile.java com.androguide.honamicontrol.profiles.BatteryProfile.java com.androguide.honamicontrol.profiles.BenchmarkProfile.java com.androguide.honamicontrol.profiles.PerformanceProfile.java com.androguide.honamicontrol.profiles.ProfileEnabler.java com.androguide.honamicontrol.profiles.Profile.java com.androguide.honamicontrol.soundcontrol.SoundControlActivity.java com.androguide.honamicontrol.soundcontrol.SoundControlFragment.java com.androguide.honamicontrol.soundcontrol.SoundControlInterface.java com.androguide.honamicontrol.soundcontrol.SoundFragment.java com.androguide.honamicontrol.touchscreen.TouchScreenFragment.java com.androguide.honamicontrol.touchscreen.TouchScreenInterface.java com.astuetz.viewpager.extensions.PagerSlidingTabStrip.java com.echo.holographlibrary.BarGraph.java com.echo.holographlibrary.Bar.java com.echo.holographlibrary.LineGraph.java com.echo.holographlibrary.LinePoint.java com.echo.holographlibrary.Line.java com.echo.holographlibrary.PieGraph.java com.echo.holographlibrary.PieSlice.java com.fima.cardsui.StackAdapter.java com.fima.cardsui.SwipeDismissTouchListener.java com.fima.cardsui.Utils.java com.fima.cardsui.objects.AbstractCard.java com.fima.cardsui.objects.CardStack.java com.fima.cardsui.objects.Card.java com.fima.cardsui.views.CardCategory.java com.fima.cardsui.views.CardDownload.java com.fima.cardsui.views.CardEditText.java com.fima.cardsui.views.CardEdit.java com.fima.cardsui.views.CardImage.java com.fima.cardsui.views.CardPresentation.java com.fima.cardsui.views.CardSeekBar.java com.fima.cardsui.views.CardSpinner.java com.fima.cardsui.views.CardTextStripe.java com.fima.cardsui.views.CardText.java com.fima.cardsui.views.CardTopImage.java com.fima.cardsui.views.CardUI.java com.fima.cardsui.views.QuickReturnListView.java