软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
Modifier and Type | Field and Description |
---|---|
static ComponentOrientation |
ComponentOrientation.LEFT_TO_RIGHT
项目运行左到右和线流上到底部的例子:英语,法语。
|
static ComponentOrientation |
ComponentOrientation.RIGHT_TO_LEFT
项目运行的权利,左,线流上到底部的例子:阿拉伯语,希伯来。
|
static ComponentOrientation |
ComponentOrientation.UNKNOWN
表示没有设置组件的方向性。
|
Modifier and Type | Method and Description |
---|---|
ComponentOrientation |
Component.getComponentOrientation()
检索用于在该组件中订购元素或文本的语言敏感的方向。
|
static ComponentOrientation |
ComponentOrientation.getOrientation(Locale locale)
返回给定区域设置的方向。
|
static ComponentOrientation |
ComponentOrientation.getOrientation(ResourceBundle bdl)
过时的。
在J2SE 1.4,使用
getOrientation(java.util.Locale) 。
|
Modifier and Type | Method and Description |
---|---|
void |
Container.applyComponentOrientation(ComponentOrientation o)
设置该容器的
ComponentOrientation 财产和所有组件包含在。
|
void |
Component.applyComponentOrientation(ComponentOrientation orientation)
设置此组件的
ComponentOrientation 财产和所有组件包含在。
|
void |
Component.setComponentOrientation(ComponentOrientation o)
设置用于在该组件中订购元素或文本的语言敏感的方向。
|
Modifier and Type | Method and Description |
---|---|
void |
JMenu.applyComponentOrientation(ComponentOrientation o)
设置此菜单
ComponentOrientation 财产和所有组件包含在。
|
void |
JMenu.setComponentOrientation(ComponentOrientation o) |
void |
JScrollPane.setComponentOrientation(ComponentOrientation co)
设置垂直和水平滚动条的
ComponentOrientation 参数确定的方向。
|
Modifier and Type | Method and Description |
---|---|
void |
JTextComponent.setComponentOrientation(ComponentOrientation o) |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.