Android Open Source - pixel-art Undo Item

From Project

Back to project page pixel-art.


The source code is released under:

Apache License

If you think the Android project pixel-art 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.jaween.pixelart.ui.undo;
/*  w ww  .j a  va  2  s  .  c o m*/
 * Created by ween on 11/29/14.
public class UndoItem {
    public static enum Type {

    private Type type;
    private int titleId;
    private Object data;

    public UndoItem(Type type, int titleId, Object data) {
        this.type = type;
        this.titleId = titleId; = data;

    public Type getType() {
        return type;

    public int getTitleId() {
        return titleId;

    public Object getData() {
        return data;

Java Source Code List