com.trolltech.qt.core
Class Qt.LayoutDirection

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.core.Qt.LayoutDirection
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing interface:
Qt

public static final class Qt.LayoutDirection
extends java.lang.Enum
implements QtEnumerator

Specifies the direction of Qt's layouts. Right-to-left layouts are necessary for certain languages, notably Arabic and Hebrew.

See also:
QApplication::setLayoutDirection(), and QWidget::setLayoutDirection().

See Also:
Serialized Form

Field Summary
static Qt.LayoutDirection LeftToRight
          Left-to-right layout.
static Qt.LayoutDirection RightToLeft
          Right-to-left layout.
 
Method Summary
static Qt.LayoutDirection resolve(int value)
          Returns the Qt$LayoutDirection constant with the specified int.
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static Qt.LayoutDirection valueOf(java.lang.String name)
           
static Qt.LayoutDirection[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

LeftToRight

public static final Qt.LayoutDirection LeftToRight
Left-to-right layout.


RightToLeft

public static final Qt.LayoutDirection RightToLeft
Right-to-left layout.

Method Detail

values

public static Qt.LayoutDirection[] values()

valueOf

public static Qt.LayoutDirection valueOf(java.lang.String name)

value

public int value()
This function should return an integer value for the enum values of the enumeration that implements this interface.

Specified by:
value in interface QtEnumerator

resolve

public static Qt.LayoutDirection resolve(int value)
Returns the Qt$LayoutDirection constant with the specified int.