net.rim.device.api.ui.component.table
Interface DataModelChangeEvent

All Known Implementing Classes:
TableModelChangeEvent

public interface DataModelChangeEvent

DataModelChangeEvent is an interface that encapsulates the change event details sent to objects that are listening for changes such as the view.

Since:
BlackBerry API 6.0.0

Field Summary
static int MODEL_RESET
          An event type that signifies that the model has had significant changes to it and that the listening class should fetch the necessary data to remain in sync.
 
Method Summary
 int getEventType()
          Get the generated event type.
 DataModel getModel()
          Get the model that generated this change event.
 



Field Detail

MODEL_RESET

static final int MODEL_RESET
An event type that signifies that the model has had significant changes to it and that the listening class should fetch the necessary data to remain in sync. This event type is also fired when the first row or column are added to an empty table.

See Also:
Constant Field Values
Since:
BlackBerry API 6.0.0


Method Detail

getEventType

int getEventType()
Get the generated event type.

Returns:
the generated event type
Since:
BlackBerry API 6.0.0

getModel

DataModel getModel()
Get the model that generated this change event.

Returns:
the model that generated this event
Since:
BlackBerry API 6.0.0





Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.