Back to project page BoxSorter.
The source code is released under:
GNU General Public License
If you think the Android project BoxSorter listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.silverhillapps.boxsorter.subviews; //from w w w . jav a 2s . c om import android.view.View; import android.widget.ViewSwitcher.ViewFactory; import com.silverhillapps.boxsorter.conf.Conf; import com.silverhillapps.boxsorter.conf.Constants; public interface Figure { public int code = Constants.VOID_CODE; public int colour = Conf.INITIAL_COLOUR; public void delete(boolean animate); public void setPosition(int x, int y); public void setDimension(int dim); public void setColor(int color); public View getView(); public int getLeftPosition(); public int getTopPosition(); public int getSize(); public boolean isDeleted(); public void setDeleted(boolean deleted); }