-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCustomMarkController.fxml
More file actions
125 lines (123 loc) · 8.53 KB
/
CustomMarkController.fxml
File metadata and controls
125 lines (123 loc) · 8.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.canvas.Canvas?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.CheckBox?>
<?import javafx.scene.control.ChoiceBox?>
<?import javafx.scene.control.ColorPicker?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.control.Menu?>
<?import javafx.scene.control.MenuBar?>
<?import javafx.scene.control.MenuItem?>
<?import javafx.scene.control.Spinner?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.input.KeyCodeCombination?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.shape.Line?>
<?import javafx.scene.shape.Rectangle?>
<?import javafx.scene.text.Font?>
<VBox prefHeight="400.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/11.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="RouteMapMaker.CustomMarkController">
<children>
<MenuBar>
<menus>
<Menu mnemonicParsing="false" text="Edit">
<items>
<MenuItem fx:id="Undo" disable="true" mnemonicParsing="false" text="Undo">
<accelerator>
<KeyCodeCombination alt="UP" code="Z" control="UP" meta="UP" shift="UP" shortcut="DOWN" />
</accelerator>
</MenuItem>
<MenuItem fx:id="Redo" disable="true" mnemonicParsing="false" text="Redo">
<accelerator>
<KeyCodeCombination alt="UP" code="Z" control="UP" meta="UP" shift="DOWN" shortcut="DOWN" />
</accelerator>
</MenuItem>
</items>
</Menu>
</menus>
</MenuBar>
<AnchorPane maxHeight="-1.0" maxWidth="-1.0" prefHeight="-1.0" prefWidth="-1.0" VBox.vgrow="ALWAYS">
<children>
<ListView fx:id="MarkList" layoutX="14.0" layoutY="60.0" prefHeight="330.0" prefWidth="157.0" />
<Label layoutX="14.0" layoutY="14.0" text="カスタムマーク一覧" />
<Button fx:id="MarkCopy" layoutX="61.0" layoutY="31.0" mnemonicParsing="false" text="複製" />
<Button fx:id="MarkAdd" layoutX="14.0" layoutY="31.0" mnemonicParsing="false" text="追加" />
<Button fx:id="MarkDelete" layoutX="109.0" layoutY="31.0" mnemonicParsing="false" text="削除" />
<Pane fx:id="prevPane" layoutX="240.0" layoutY="60.0" prefHeight="40.0" prefWidth="40.0">
<children>
<Rectangle fx:id="bgRect" arcHeight="5.0" arcWidth="5.0" height="40.0" stroke="#a4a4a4" strokeType="INSIDE" width="40.0" />
<Canvas fx:id="markCanvas" height="40.0" width="40.0" />
</children>
</Pane>
<Label layoutX="207.0" layoutY="23.0" text="プレビュー(大きさ40)" />
<Label layoutX="171.0" layoutY="119.0" text="マークは枠を満たし、はみ出さないように作る" textFill="RED">
<font>
<Font size="12.0" />
</font>
</Label>
<Label layoutX="423.0" layoutY="36.0" text="プレビュー背景色" />
<Label layoutX="423.0" layoutY="50.0" text="(マークには反映されません)" />
<ColorPicker fx:id="prevbgSetter" layoutX="423.0" layoutY="73.0" />
<Label layoutX="173.0" layoutY="149.0" text="レイヤー追加" />
<Button fx:id="addOval" layoutX="183.0" layoutY="173.0" mnemonicParsing="false" text="円・楕円" />
<Button fx:id="addRect" layoutX="357.0" layoutY="173.0" mnemonicParsing="false" text="長方形" />
<ListView fx:id="LayerList" layoutX="629.0" layoutY="69.0" prefHeight="264.0" prefWidth="157.0" />
<Label layoutX="176.0" layoutY="38.0" text="※実際の大きさは路線等での設定によります">
<font>
<Font size="11.0" />
</font>
</Label>
<Label layoutX="641.0" layoutY="53.0" text="レイヤー一覧" />
<AnchorPane layoutX="173.0" layoutY="201.0" prefHeight="208.0" prefWidth="450.0">
<children>
<Label layoutX="7.0" layoutY="11.0" text="パラメーター" />
<ColorPicker fx:id="paramColor" disable="true" layoutX="30.0" layoutY="28.0" prefHeight="27.0" prefWidth="117.0" />
<Label layoutX="3.0" layoutY="33.0" text="色" />
<ChoiceBox fx:id="paramDraw" disable="true" layoutX="30.0" layoutY="55.0" prefWidth="150.0" />
<Label layoutX="3.0" layoutY="60.0" text="描画" />
<Label fx:id="paramL1" disable="true" layoutX="4.0" layoutY="91.0" text="param1" />
<Spinner fx:id="paramS1" disable="true" editable="true" layoutX="61.0" layoutY="86.0" prefHeight="27.0" prefWidth="78.0" />
<Label fx:id="paramL2" disable="true" layoutX="4.0" layoutY="118.0" text="param2" />
<Spinner fx:id="paramS2" disable="true" editable="true" layoutX="61.0" layoutY="113.0" prefHeight="27.0" prefWidth="78.0" />
<Label fx:id="paramL3" disable="true" layoutX="4.0" layoutY="145.0" text="param3" />
<Spinner fx:id="paramS3" disable="true" editable="true" layoutX="61.0" layoutY="140.0" prefHeight="27.0" prefWidth="78.0" />
<Label fx:id="paramL4" disable="true" layoutX="4.0" layoutY="172.0" text="param4" />
<Spinner fx:id="paramS4" disable="true" editable="true" layoutX="61.0" layoutY="167.0" prefHeight="27.0" prefWidth="78.0" />
<Label fx:id="paramL5" disable="true" layoutX="147.0" layoutY="91.0" text="param5" />
<Spinner fx:id="paramS5" disable="true" editable="true" layoutX="204.0" layoutY="86.0" prefHeight="27.0" prefWidth="78.0" />
<Label fx:id="paramL6" disable="true" layoutX="147.0" layoutY="118.0" text="param6" />
<Spinner fx:id="paramS6" disable="true" editable="true" layoutX="204.0" layoutY="113.0" prefHeight="27.0" prefWidth="78.0" />
<Label fx:id="paramL7" disable="true" layoutX="147.0" layoutY="145.0" text="param7" />
<Spinner fx:id="paramS7" disable="true" editable="true" layoutX="204.0" layoutY="140.0" prefHeight="27.0" prefWidth="78.0" />
<Label fx:id="paramL8" disable="true" layoutX="147.0" layoutY="172.0" text="param8" />
<Spinner fx:id="paramS8" disable="true" editable="true" layoutX="204.0" layoutY="167.0" prefHeight="27.0" prefWidth="78.0" />
<Line endY="110.0" layoutX="143.0" layoutY="88.0" />
<ChoiceBox fx:id="paramST" disable="true" layoutX="217.0" layoutY="28.0" prefHeight="27.0" prefWidth="147.0" />
<Label fx:id="paramLT" disable="true" layoutX="150.0" layoutY="33.0" text="paramLT" />
<Label layoutX="187.0" layoutY="60.0" text="text" />
<TextField fx:id="paramText" disable="true" layoutX="217.0" layoutY="55.0" prefHeight="27.0" prefWidth="150.0" />
<Label layoutX="291.0" layoutY="91.0" text="フォント" />
<Button fx:id="selectFont" disable="true" layoutX="343.0" layoutY="86.0" mnemonicParsing="false" text="選択" />
</children>
</AnchorPane>
<Button fx:id="LayerDelete" layoutX="724.0" layoutY="40.0" mnemonicParsing="false" text="削除" />
<Button fx:id="Layer_UP" layoutX="602.0" layoutY="87.0" mnemonicParsing="false" text="▲">
<font>
<Font name="System Bold" size="13.0" />
</font>
</Button>
<Button fx:id="Layer_DOWN" layoutX="602.0" layoutY="136.0" mnemonicParsing="false" text="▼">
<font>
<Font name="System Bold" size="13.0" />
</font>
</Button>
<Button fx:id="addArc" layoutX="258.0" layoutY="173.0" mnemonicParsing="false" text="円弧" />
<Button fx:id="addText" layoutX="420.0" layoutY="173.0" mnemonicParsing="false" text="文字列" />
<Button fx:id="addImage" layoutX="482.0" layoutY="173.0" mnemonicParsing="false" text="画像" />
<CheckBox fx:id="rotateMark" disable="true" layoutX="630.0" layoutY="346.0" mnemonicParsing="false" prefHeight="18.0" prefWidth="157.0" text="マークを回転させる" />
<Button fx:id="addLine" layoutX="308.0" layoutY="173.0" mnemonicParsing="false" text="直線" />
</children></AnchorPane>
</children>
</VBox>