質問編集履歴
2
タイトル変更
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
ScrollPaneの縦スクロール位置をプログラム側で変更したい
|
test
CHANGED
File without changes
|
1
プログラム修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,9 +30,9 @@
|
|
30
30
|
|
31
31
|
listField.getChildren().clear(); //listField内全削除
|
32
32
|
|
33
|
-
GridPane
|
33
|
+
GridPane list=createList(); //list生成
|
34
34
|
|
35
|
-
listField.getChildren().addAll(
|
35
|
+
listField.getChildren().addAll(list); //listFieldにlistを表示
|
36
36
|
|
37
37
|
scroll.setVvalue(vValue); //新listのスクロール位置を旧listと同じ位置に変える
|
38
38
|
|
@@ -60,9 +60,9 @@
|
|
60
60
|
|
61
61
|
listField.getChildren().clear(); //listField内全削除
|
62
62
|
|
63
|
-
GridPane
|
63
|
+
GridPane list=createList(); //list生成
|
64
64
|
|
65
|
-
listField.getChildren().addAll(
|
65
|
+
listField.getChildren().addAll(list); //listFieldにlistを表示
|
66
66
|
|
67
67
|
scroll.layout(); //?????
|
68
68
|
|