oracle.dss.dataView
Class PageEvent
java.lang.Object
java.util.EventObject
oracle.dss.dataView.DataviewEvent
oracle.dss.dataView.PageEvent
- All Implemented Interfaces:
- java.io.Serializable
public class PageEvent
- extends DataviewEvent
Information about a page change.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
PageEvent(java.lang.Object source,
int[] hPos,
int maxLayerSpecified)
Constructor. |
Method Summary |
int[] |
getChangeArray()
Retrieves the hPos for the new page. |
int |
getMaxLayerSpecified()
Retrieves the last layer in the hPos that
is returned by getChangeArray . |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PageEvent
public PageEvent(java.lang.Object source,
int[] hPos,
int maxLayerSpecified)
- Constructor.
- Parameters:
source
- The source of this event.hPos
- The hPos that identifies the new page.maxLayerSpecified
- The maximum layer that specified in
hPos
.
getChangeArray
public int[] getChangeArray()
- Retrieves the hPos for the new page.
- Returns:
- An hPos array that identifies the new page.
getMaxLayerSpecified
public int getMaxLayerSpecified()
- Retrieves the last layer in the hPos that
is returned by
getChangeArray
.
For example, if there are two layers in the hPos, then this
method returns 1.
- Returns:
- The largest index that is valid in the hPos array for the
new page.
Copyright © 1997, 2009, Oracle. All rights reserved.