yu.ac.bg.etf.javaqx.qswing
Class ComponentOrientation

java.lang.Object
  extended byyu.ac.bg.etf.javaqx.qswing.ComponentOrientation

public final class ComponentOrientation
extends java.lang.Object

ComponentOrientation Class.

NOTE: This class is not full compatible with java.awt.ComponentOrientation class!

Version:
0.2.0
Author:
Slobodan Vrkacevic (slobodan.vrkacevic@gmail.com)

Field Summary
static ComponentOrientation LEFT_TO_RIGHT
           
static ComponentOrientation RIGHT_TO_LEFT
           
static ComponentOrientation UNKNOWN
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          
static ComponentOrientation getOrientation(java.util.Locale locale)
          Returns component orientation for the specified locale object.
 int hashCode()
          
 boolean isHorizontal()
          Returns true if orientation is horizontal.
 boolean isLeftToRight()
          Returns true if orientation is left-to-right.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNKNOWN

public static final ComponentOrientation UNKNOWN

LEFT_TO_RIGHT

public static final ComponentOrientation LEFT_TO_RIGHT

RIGHT_TO_LEFT

public static final ComponentOrientation RIGHT_TO_LEFT
Method Detail

isHorizontal

public boolean isHorizontal()
Returns true if orientation is horizontal.

Returns:
true if orientation is horizontal

isLeftToRight

public boolean isLeftToRight()
Returns true if orientation is left-to-right.

Returns:
true if orientation is left-to-right

getOrientation

public static ComponentOrientation getOrientation(java.util.Locale locale)
Returns component orientation for the specified locale object.

Parameters:
locale - the locale
Returns:
component orientation for the specified object

hashCode

public int hashCode()


equals

public boolean equals(java.lang.Object obj)



Copyright © 2007 ETF and contributors. All Rights Reserved.