public static interface SpenPageDoc.LayerListener
SpenPageDoc.setLayerListener(LayerListener)| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_REDO
Layer state changed by redo command on page.
|
static int |
TYPE_SET
Layer state changed when
SpenPageDoc.commitHistory(HistoryUpdateInfo) is called. |
static int |
TYPE_UNDO
Layer state changed by undo command on page.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onLayerAdded(SpenPageDoc page,
int layerId,
int type)
Called when an layer is added to a page.
|
void |
onLayerRemoved(SpenPageDoc page,
int layerId,
int type)
Called when a layer is removed from a page.
|
static final int TYPE_SET
SpenPageDoc.commitHistory(HistoryUpdateInfo) is called.onLayerAdded(SpenPageDoc, int, int),
onLayerRemoved(SpenPageDoc, int, int),
Constant Field Valuesstatic final int TYPE_UNDO
onLayerAdded(SpenPageDoc, int, int),
onLayerRemoved(SpenPageDoc, int, int),
Constant Field Valuesstatic final int TYPE_REDO
onLayerAdded(SpenPageDoc, int, int),
onLayerRemoved(SpenPageDoc, int, int),
Constant Field Valuesvoid onLayerAdded(SpenPageDoc page, int layerId, int type)
void onLayerRemoved(SpenPageDoc page, int layerId, int type)