Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.project.runtime.event
Class RemoveMTJRuntimeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.eclipse.mtj.core.project.runtime.event.RemoveMTJRuntimeEvent
All Implemented Interfaces:
Serializable

public class RemoveMTJRuntimeEvent
extends EventObject

RemoveMTJRuntimeEvent is used to notify that a MTJRuntime is removed from MTJRuntimeList.

All Events are constructed with a reference to the object, the "source", that is logically deemed to be the object upon which the Event in question initially occurred upon.

EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the MTJ team.

Since:
1.0
See Also:
Serialized Form
Restriction:
This class is not intended to be subclassed by clients.
Restriction:
This class is not intended to be instantiated by clients.

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RemoveMTJRuntimeEvent(MTJRuntimeList source, MTJRuntime removedRuntime)
          Creates a new instance of RemoveMTJRuntimeEvent.
 
Method Summary
 MTJRuntime getRemovedMTJRuntime()
          Return the removed MTJRuntime.
 void setRemovedMTJRuntime(MTJRuntime removedRuntime)
          Set the removed MTJRuntime.
 
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
 

Constructor Detail

RemoveMTJRuntimeEvent

public RemoveMTJRuntimeEvent(MTJRuntimeList source,
                             MTJRuntime removedRuntime)
Creates a new instance of RemoveMTJRuntimeEvent.

Parameters:
source - The MTJRuntimeList from where the MTJRuntime was removed.
removedRuntime - the removed MTJRuntime.
Method Detail

getRemovedMTJRuntime

public MTJRuntime getRemovedMTJRuntime()
Return the removed MTJRuntime.

Returns:
the removed MTJRuntime.

setRemovedMTJRuntime

public void setRemovedMTJRuntime(MTJRuntime removedRuntime)
Set the removed MTJRuntime.

Parameters:
removedRuntime - the removed MTJRuntime.

Mobile Tools for Java
Release 1.0