Eclipse eRCP
Release 1.1

org.eclipse.ercp.swt.mobile
Interface ScreenListener

All Superinterfaces:
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

public 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

public 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

public 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

Eclipse eRCP
Release 1.1