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