|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rim.device.api.lbs.maps.model.MappableChangeEvent
public class MappableChangeEvent
Captures the contents of an event (a "change event") that has occurred to
a dynamic mappable object.
| Constructor Summary | ||
|---|---|---|
MappableChangeEvent()
Constructs a MappableChangeEvent with the default states. |
||
| Method Summary | ||
|---|---|---|
Mappable |
getNewState()
Retrieves the new Mappable state. |
|
Mappable |
getOldState()
Retrieves the state of the Mappable object before it changes. |
|
void |
setNewState(Mappable newState)
Sets the new Mappable state. |
|
void |
setOldState(Mappable oldState)
Sets the old state of the Mappable. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MappableChangeEvent()
MappableChangeEvent with the default states.
| Method Detail |
|---|
public Mappable getOldState()
Mappable object before it changes.
Note: It's possible that this attribute might not be populated. Some event generators will only populate the new state.
public void setOldState(Mappable oldState)
Mappable. This should be the state of the mappable
item before it changed.
oldState - The state of the object prior to changing.public Mappable getNewState()
Mappable state.
public void setNewState(Mappable newState)
Mappable state. This should be the state after
the Mappable has changed.
newState - The object after it changed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal