public static interface SpenPaintingDoc.ObjectListener
SpenPaintingDoc.setObjectListener(ObjectListener)| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_REDO
Object state changed by redo command on PaintingDoc.
|
static int |
TYPE_SET
Object state changed when
SpenPaintingDoc.commitHistory(HistoryUpdateInfo) is called. |
static int |
TYPE_UNDO
Object state changed by undo command on PaintingDoc.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onObjectAdded(SpenPaintingDoc paintingDoc,
ArrayList<SpenObjectBase> objectList,
int type)
Called when an object is added to a PaintingDoc.
|
void |
onObjectChanged(SpenPaintingDoc paintingDoc,
SpenObjectBase object,
int type)
Called when the properties of an object in a PaintingDoc change.
|
void |
onObjectRemoved(SpenPaintingDoc paintingDoc,
ArrayList<SpenObjectBase> objectList,
int type)
Called when an object is removed from a PaintingDoc.
|
static final int TYPE_SET
SpenPaintingDoc.commitHistory(HistoryUpdateInfo) is called.static final int TYPE_UNDO
static final int TYPE_REDO
void onObjectAdded(SpenPaintingDoc paintingDoc, ArrayList<SpenObjectBase> objectList, int type)
void onObjectRemoved(SpenPaintingDoc paintingDoc, ArrayList<SpenObjectBase> objectList, int type)
void onObjectChanged(SpenPaintingDoc paintingDoc, SpenObjectBase object, int type)