Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
76acf2c0
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
76acf2c0
编写于
7月 02, 2010
作者:
A
alexp
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6937415: Some components return undocumented default values under Nimbus LaF
Reviewed-by: peterz
上级
ec26644a
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
16 addition
and
14 deletion
+16
-14
src/share/classes/javax/swing/JSplitPane.java
src/share/classes/javax/swing/JSplitPane.java
+12
-11
src/share/classes/javax/swing/JTable.java
src/share/classes/javax/swing/JTable.java
+3
-3
src/share/classes/javax/swing/plaf/nimbus/skin.laf
src/share/classes/javax/swing/plaf/nimbus/skin.laf
+1
-0
未找到文件。
src/share/classes/javax/swing/JSplitPane.java
浏览文件 @
76acf2c0
...
...
@@ -242,19 +242,19 @@ public class JSplitPane extends JComponent implements Accessible
/**
* Creates a new <code>JSplitPane</code> configured to arrange the child
* components side-by-side horizontally with no continuous
* layout, using two buttons for the components.
* components side-by-side horizontally, using two buttons for the components.
*/
public
JSplitPane
()
{
this
(
JSplitPane
.
HORIZONTAL_SPLIT
,
false
,
new
JButton
(
UIManager
.
getString
(
"SplitPane.leftButtonText"
)),
new
JButton
(
UIManager
.
getString
(
"SplitPane.rightButtonText"
)));
this
(
JSplitPane
.
HORIZONTAL_SPLIT
,
UIManager
.
getBoolean
(
"SplitPane.continuousLayout"
),
new
JButton
(
UIManager
.
getString
(
"SplitPane.leftButtonText"
)),
new
JButton
(
UIManager
.
getString
(
"SplitPane.rightButtonText"
)));
}
/**
* Creates a new <code>JSplitPane</code> configured with the
* specified orientation
and no continuous layout
.
* specified orientation.
*
* @param newOrientation <code>JSplitPane.HORIZONTAL_SPLIT</code> or
* <code>JSplitPane.VERTICAL_SPLIT</code>
...
...
@@ -263,7 +263,8 @@ public class JSplitPane extends JComponent implements Accessible
*/
@ConstructorProperties
({
"orientation"
})
public
JSplitPane
(
int
newOrientation
)
{
this
(
newOrientation
,
false
);
this
(
newOrientation
,
UIManager
.
getBoolean
(
"SplitPane.continuousLayout"
));
}
...
...
@@ -287,9 +288,7 @@ public class JSplitPane extends JComponent implements Accessible
/**
* Creates a new <code>JSplitPane</code> with the specified
* orientation and
* with the specified components that do not do continuous
* redrawing.
* orientation and the specified components.
*
* @param newOrientation <code>JSplitPane.HORIZONTAL_SPLIT</code> or
* <code>JSplitPane.VERTICAL_SPLIT</code>
...
...
@@ -307,7 +306,9 @@ public class JSplitPane extends JComponent implements Accessible
public
JSplitPane
(
int
newOrientation
,
Component
newLeftComponent
,
Component
newRightComponent
){
this
(
newOrientation
,
false
,
newLeftComponent
,
newRightComponent
);
this
(
newOrientation
,
UIManager
.
getBoolean
(
"SplitPane.continuousLayout"
),
newLeftComponent
,
newRightComponent
);
}
...
...
src/share/classes/javax/swing/JTable.java
浏览文件 @
76acf2c0
...
...
@@ -1048,7 +1048,7 @@ public class JTable extends JComponent implements TableModelListener, Scrollable
/**
* Returns the horizontal and vertical space between cells.
* The default spacing is
(1, 1), which provides room to draw the grid
.
* The default spacing is
look and feel dependent
.
*
* @return the horizontal and vertical spacing between cells
* @see #setIntercellSpacing
...
...
@@ -1155,7 +1155,7 @@ public class JTable extends JComponent implements TableModelListener, Scrollable
/**
* Returns true if the table draws horizontal lines between cells, false if it
* doesn't. The default
is true
.
* doesn't. The default
value is look and feel dependent
.
*
* @return true if the table draws horizontal lines between cells, false if it
* doesn't
...
...
@@ -1167,7 +1167,7 @@ public class JTable extends JComponent implements TableModelListener, Scrollable
/**
* Returns true if the table draws vertical lines between cells, false if it
* doesn't. The default
is true
.
* doesn't. The default
value is look and feel dependent
.
*
* @return true if the table draws vertical lines between cells, false if it
* doesn't
...
...
src/share/classes/javax/swing/plaf/nimbus/skin.laf
浏览文件 @
76acf2c0
...
...
@@ -21276,6 +21276,7 @@
<uiProperty name="centerOneTouchButtons" type="BOOLEAN" value="true"/>
<uiProperty name="oneTouchButtonOffset" type="INT" value="30"/>
<uiProperty name="oneTouchExpandable" type="BOOLEAN" value="false"/>
<uiProperty name="continuousLayout" type="BOOLEAN" value="true"/>
</uiproperties>
</style>
<backgroundStates>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录