This interface is implemented by classes that wish to receive screen orientation changes.
Called when the screen orientation changes.
main
// Construct and run an origo application.
system.run application new MyApplication
class MyApplication extends Application implements ScreenOrientationListener
MyApplication
screen.add screen orientation listener this
screen orientation changed to <orientation o>
if ( o == PORTRAIT )
print "screen changed to portrait mode"
if ( o == LANDSCAPE )
print "screen changed to landscape mode"