org.eclipse.ercp.swt.mobile
Interface ScreenListener

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

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

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

See Also:
Screen.addEventListener(org.eclipse.ercp.swt.mobile.ScreenListener), Screen.removeEventListener(org.eclipse.ercp.swt.mobile.ScreenListener)

Method Summary
 void screenActivated(ScreenEvent event)
          Sent when the screen is activated.
 void screenDeactivated(ScreenEvent event)
          Sent when the screen is deactivated.
 void screenOrientationChanged(ScreenEvent event)
          Sent when the screen's orientation is changed.
 

Method Detail

screenActivated

void screenActivated(ScreenEvent event)
Sent when the screen is activated. That is, the screen is powered up and the content is visible to the user.

Parameters:
event - an event containing information about the screen configuration change.
See Also:
ScreenEvent

screenDeactivated

void screenDeactivated(ScreenEvent event)
Sent when the screen is deactivated. That is, the screen is powered down or content is no longer visible to the user.

Parameters:
event - an event containing information about the screen configuration change.
See Also:
ScreenEvent

screenOrientationChanged

void screenOrientationChanged(ScreenEvent event)
Sent when the screen's orientation is changed.

Parameters:
event - an event containing information about the screen orientation change.
See Also:
ScreenEvent