com.alee.utils.swing
Interface OrientationMethods<C extends java.awt.Component>

All Superinterfaces:
SwingMethods

public interface OrientationMethods<C extends java.awt.Component>
extends SwingMethods

This interface provides a set of methods that should be added into components that support orientation changes.

Author:
Mikle Garin

Method Summary
 java.awt.ComponentOrientation getOrientation()
           
 boolean isInvertOrientation()
           
 boolean isLeftToRight()
           
 C setInvertOrientation()
           
 C setLeftToRight(boolean ltr)
           
 C setOrientation(java.awt.ComponentOrientation orientation)
           
 C updateOrientation()
           
 

Method Detail

updateOrientation

C updateOrientation()

isInvertOrientation

boolean isInvertOrientation()

setInvertOrientation

C setInvertOrientation()

isLeftToRight

boolean isLeftToRight()

setLeftToRight

C setLeftToRight(boolean ltr)

getOrientation

java.awt.ComponentOrientation getOrientation()

setOrientation

C setOrientation(java.awt.ComponentOrientation orientation)