Android Open Source - ModernArtUI Rectangle






From Project

Back to project page ModernArtUI.

License

The source code is released under:

GNU General Public License

If you think the Android project ModernArtUI 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 it.lusio.android.modernartui;
//from   w ww  . j a  v a 2 s .c  o m
import android.widget.ImageView;

/**
 * Class for rectangles.
 * It contains the ImageView and the original color with relative
 * getters and setters.
 *
 * @author Luciano Quercia
 */
class Rectangle {
    private ImageView imageView;
    private int originalColor;

    public Rectangle(ImageView imageView, int originalColor) {
        this.imageView = imageView;
        this.originalColor = originalColor;
    }

    public ImageView getImageView() {
        return imageView;
    }

    public void setImageView(ImageView imageView) {
        this.imageView = imageView;
    }

    public int getOriginalColor() {
        return originalColor;
    }

    public void setOriginalColor(int originalColor) {
        this.originalColor = originalColor;
    }
}




Java Source Code List

it.lusio.android.modernartui.MainActivity.java
it.lusio.android.modernartui.Rectangle.java
it.lusio.android.modernartui.VisitMomaDialog.java