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.
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 { DRAW_OP, LAYER, FRAME } private Type type; private int titleId; private Object data; public UndoItem(Type type, int titleId, Object data) { this.type = type; this.titleId = titleId; this.data = data; } public Type getType() { return type; } public int getTitleId() { return titleId; } public Object getData() { return data; } }