public class PageEvent extends DataviewEvent
consumed
Constructor and Description |
---|
PageEvent(java.lang.Object source,
int[] hPos,
int maxLayerSpecified)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getChangeArray()
Retrieves the hPos for the new page.
|
int |
getMaxLayerSpecified()
Retrieves the last layer in the hPos that
is returned by
getChangeArray . |
consume, isConsumed
public PageEvent(java.lang.Object source, int[] hPos, int maxLayerSpecified)
source
- The source of this event.hPos
- The hPos that identifies the new page.maxLayerSpecified
- The maximum layer that specified in
hPos
.public int[] getChangeArray()
public int getMaxLayerSpecified()
getChangeArray
.
For example, if there are two layers in the hPos, then this
method returns 1.