|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
oracle.dss.util.ModelEvent
oracle.dss.util.DataChangedEvent
public class DataChangedEvent
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.
Field Summary | |
---|---|
protected int |
changeType
|
static int |
DRILL_CHANGE
The data has been drilled. |
static int |
LAYER_METADATA_CHANGE
The data has been updated by layer metadata being set. |
static int |
PAGE_CHANGE
The current page has changed. |
protected boolean |
pageDirty
|
static int |
PIVOT_CHANGE
The data has been pivoted. |
protected DataAccess |
provider
|
static int |
SEL_CHANGE
A selection has changed. |
static int |
SETSTATE_CHANGE
The data has been updated by state being set. |
static int |
UNKNOWN_CHANGE
The nature of the change is unknown. |
Fields inherited from class oracle.dss.util.ModelEvent |
---|
columnDirty, dataDirty, rowDirty |
Fields inherited from class java.util.EventObject |
---|
source |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int UNKNOWN_CHANGE
public static final int PAGE_CHANGE
public static final int DRILL_CHANGE
public static final int PIVOT_CHANGE
public static final int SEL_CHANGE
public static final int SETSTATE_CHANGE
public static final int LAYER_METADATA_CHANGE
protected boolean pageDirty
protected int changeType
protected DataAccess provider
Constructor Detail |
---|
public DataChangedEvent(java.lang.Object source, DataAccess dp, boolean data, boolean row, boolean column, boolean page)
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.public DataChangedEvent(java.lang.Object source, DataAccess dp, int type, boolean data, boolean row, boolean column, boolean page)
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 |
---|
public void setDataAccess(DataAccess da)
DataAccess
for this event.
da
- The DataAccess
that provides access to the changed
data.public DataAccess getDataAccess()
DataAccess
that provides access to the
changed data.
DataAccess
that provides access to the changed
data.public boolean isPageDirty()
true
if anything in the page edge has changed,
false
if not.public int getType()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |