Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.util
Class DataChangedEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--oracle.dss.util.ModelEvent
              |
              +--oracle.dss.util.DataChangedEvent
All Implemented Interfaces:
java.io.Serializable

public class DataChangedEvent
extends ModelEvent

Describes a change to data. Data providers fire this event to notify views of changes to data. Views listen for this event to know when to repaint.

See Also:
Serialized Form

Field Summary
static int DRILL_CHANGE
          The data has been drilled.
static int PAGE_CHANGE
          The current page has changed.
static int PIVOT_CHANGE
          The data has been pivoted.
static int SEL_CHANGE
          A selection has changed.
static int UNKNOWN_CHANGE
          The nature of the change is unknown.

 

Constructor Summary
DataChangedEvent(java.lang.Object source, DataAccess dp, boolean data, boolean row, boolean column, boolean page)
          Constructor that does not specify the type of change.
DataChangedEvent(java.lang.Object source, DataAccess dp, int type, boolean data, boolean row, boolean column, boolean page)
          Constructor that specifies the type of change.

 

Method Summary
 DataAccess getDataAccess()
          Retrieves the DataAccess that provides access to the changed data.
 int getType()
          Retrieves the type of change that has occurred.
 boolean isPageDirty()
          Indicates whether anything in the page edge has changed.
 void setDataAccess(DataAccess da)
          Specifies a DataAccess for this event.

 

Methods inherited from class oracle.dss.util.ModelEvent
isColumnDirty, isDataDirty, isRowDirty

 

Methods inherited from class java.util.EventObject
getSource, toString

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Field Detail

UNKNOWN_CHANGE

public static final int UNKNOWN_CHANGE
The nature of the change is unknown.

PAGE_CHANGE

public static final int PAGE_CHANGE
The current page has changed.

DRILL_CHANGE

public static final int DRILL_CHANGE
The data has been drilled.

PIVOT_CHANGE

public static final int PIVOT_CHANGE
The data has been pivoted.

SEL_CHANGE

public static final int SEL_CHANGE
A selection has changed.
Constructor Detail

DataChangedEvent

public DataChangedEvent(java.lang.Object source,
DataAccess dp,
                        boolean data,
                        boolean row,
                        boolean column,
                        boolean page)
Constructor that does not specify the type of change.
Parameters:
source - The source of this event.
dp - The DataAccess that provides access to the changed data.
data - true if the data (including any types of data specified in the DataMap) has changed, false if not.
row - true if anything in the row edge has changed, false if not.
column - true if anything in the column edge has changed, false if not.
page - true if anything in the page edge has changed, false if not.

DataChangedEvent

public DataChangedEvent(java.lang.Object source,
DataAccess dp,
                        int type,
                        boolean data,
                        boolean row,
                        boolean column,
                        boolean page)
Constructor that specifies the type of change.
Parameters:
source - The source of this event.
dp - The DataAccess that provides access to the changed data.
type - A constant that represents the type of change that has occurred.
data - true if the data (including any types of data specified in the DataMap) has changed, false if not.
row - true if anything in the row edge has changed, false if not.
column - true if anything in the column edge has changed, false if not.
page - true if anything in the page edge has changed, false if not.
Method Detail

setDataAccess

public void setDataAccess(DataAccess da)
Specifies a DataAccess for this event.
Parameters:
da - The DataAccess that provides access to the changed data.

getDataAccess

public DataAccess getDataAccess()
Retrieves the DataAccess that provides access to the changed data.
Returns:
The DataAccess that provides access to the changed data.

isPageDirty

public boolean isPageDirty()
Indicates whether anything in the page edge has changed.
Returns:
true if anything in the page edge has changed, false if not.

getType

public int getType()
Retrieves the type of change that has occurred.
Returns:
A constant that represents the type of change that has occurred.

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.