net.rim.device.api.ui
Class UiEngineInstance

java.lang.Object
  |
  +--net.rim.device.api.ui.UiEngineInstance

public abstract class UiEngineInstance
extends Object

User interface (UI) engine instance associated with an application or process, acquired by calling Ui.getUiEngineInstance(). See UiApplication and UiEngine.

Since:
JDE 4.7.0

Method Summary
abstract  void setAcceptableDirections(int directions)
          This function allows the setting of acceptable directions for the application, relative to the LCD.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail


setAcceptableDirections

public abstract void setAcceptableDirections(int directions)
This function allows the setting of acceptable directions for the application, relative to the LCD. The acceptable values for directions relative to the smartphone's LCD are Display.DIRECTION_NORTH, Display.DIRECTION_EAST, Display.DIRECTION_WEST, Display.DIRECTION_LANDSCAPE, Display.DIRECTION_PORTRAIT, or some bit-wise ORed combination thereof, including 0. Other values will result in an IllegalArgumentException being thrown.
Parameters:
acceptableDirections - The acceptable values for directions relative to the smartphone's LCD.
Since:
JDE 4.7.0



Copyright 1999-2009 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.