org.eclipse.ercp.swt.mobile
Interface MobileDeviceListener

All Superinterfaces:
java.util.EventListener, org.eclipse.swt.internal.SWTEventListener

public interface MobileDeviceListener
extends org.eclipse.swt.internal.SWTEventListener

Classes implementing this interface provide methods that are called when the device configuration is updated.

See Also:
MobileDevice.addMobileDeviceListener(org.eclipse.ercp.swt.mobile.MobileDeviceListener), MobileDevice.removeMobileDeviceListener(org.eclipse.ercp.swt.mobile.MobileDeviceListener)

Method Summary
 void deviceChanged(MobileDeviceEvent event)
          Called when a device configuration has been changed, such as opened or closed.
 void inputChanged(MobileDeviceEvent event)
          Called when the input configuration has been changed.
 void screenChanged(MobileDeviceEvent event)
          Called when a screen configuration has been changed.
 

Method Detail

deviceChanged

void deviceChanged(MobileDeviceEvent event)
Called when a device configuration has been changed, such as opened or closed.

Parameters:
event - an event containing information about the device configuration change.
See Also:
MobileDeviceEvent

inputChanged

void inputChanged(MobileDeviceEvent event)
Called when the input configuration has been changed.

Parameters:
event - an event containing information about an input configuration change. The event data field contains an Input object representing the input feature that has been added or removed.
See Also:
MobileDeviceEvent

screenChanged

void screenChanged(MobileDeviceEvent event)
Called when a screen configuration has been changed.

Parameters:
event - an event containing information about a screen configuration change. The event data field contains a Screen object representing the screen that has been added or removed.
See Also:
MobileDeviceEvent