componentOrientation

Sets componentOrientation - the component's left-to-right / right-to-left orientation.

Every descendant component that takes a style and sets no orientation of its own takes this one, the nearest ancestor's winning. A component that takes no style keeps its own.

Parameters

orientation

which side an orientation-sensitive layout manager starts its leading positions from. A component starts at ComponentOrientation.UNKNOWN, which reads as left-to-right while recording that nothing was chosen; ComponentOrientation.getOrientation(locale) derives one from a locale.

See also