Mobile Tools for Java
Release 1.0

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

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

public class SwitchActiveMTJRuntimeEvent
extends EventObject

SwitchActiveMTJRuntimeEvent is used to notify that active Configuration for a Midlet project switched.

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
SwitchActiveMTJRuntimeEvent(MTJRuntimeList source, MTJRuntime oldActiveConfig, MTJRuntime newActiveConfig)
          Constructs a SwitchActiveMTJRuntimeEvent object.
 
Method Summary
 MTJRuntime getNewActiveMTJRuntime()
           
 MTJRuntime getOldActiveMTJRuntime()
           
 void setNewActiveMTJRuntime(MTJRuntime newActiveConfig)
           
 void setOldActiveMTJRuntime(MTJRuntime oldActiveConfig)
           
 
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

SwitchActiveMTJRuntimeEvent

public SwitchActiveMTJRuntimeEvent(MTJRuntimeList source,
                                   MTJRuntime oldActiveConfig,
                                   MTJRuntime newActiveConfig)
Constructs a SwitchActiveMTJRuntimeEvent object.

Parameters:
source - - Configuration instance of the MTJ Midlet project.
oldActiveConfig - - the old active configuration.
newActiveConfig - - the new active configuration.
Method Detail

getNewActiveMTJRuntime

public MTJRuntime getNewActiveMTJRuntime()

getOldActiveMTJRuntime

public MTJRuntime getOldActiveMTJRuntime()

setNewActiveMTJRuntime

public void setNewActiveMTJRuntime(MTJRuntime newActiveConfig)

setOldActiveMTJRuntime

public void setOldActiveMTJRuntime(MTJRuntime oldActiveConfig)

Mobile Tools for Java
Release 1.0