Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
ohj2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
julipits
ohj2
Commits
1c6ab612
Commit
1c6ab612
authored
1 month ago
by
julipits
Browse files
Options
Downloads
Patches
Plain Diff
Vaihtoehtoisen ikkunajärjestelyn miettiminen
parent
6b1c898e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/fxKohtaushallinta/NaytaKohtaus.fxml
+105
-0
105 additions, 0 deletions
src/fxKohtaushallinta/NaytaKohtaus.fxml
src/fxKohtaushallinta/UusiTietue2.fxml
+156
-0
156 additions, 0 deletions
src/fxKohtaushallinta/UusiTietue2.fxml
with
261 additions
and
0 deletions
src/fxKohtaushallinta/NaytaKohtaus.fxml
0 → 100644
+
105
−
0
View file @
1c6ab612
<?xml version="1.0" encoding="UTF-8"?>
<?import fi.jyu.mit.fxgui.ListChooser?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Menu?>
<?import javafx.scene.control.MenuBar?>
<?import javafx.scene.control.MenuItem?>
<?import javafx.scene.control.TextArea?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<BorderPane
minWidth=
"500.0"
prefHeight=
"680.0"
prefWidth=
"840.0"
xmlns=
"http://javafx.com/javafx/23.0.1"
xmlns:fx=
"http://javafx.com/fxml/1"
fx:controller=
"fxKohtaushallinta.KohtaushallintaGUIController"
>
<top>
<MenuBar
prefWidth=
"800.0"
BorderPane.alignment=
"CENTER"
>
<menus>
<Menu
mnemonicParsing=
"false"
text=
"Tiedosto"
>
<items>
<MenuItem
mnemonicParsing=
"false"
text=
"Sulje"
/>
</items>
</Menu>
<Menu
mnemonicParsing=
"false"
text=
"Muokkaa"
>
<items>
<MenuItem
mnemonicParsing=
"false"
text=
"Uusi hahmo"
/>
<MenuItem
mnemonicParsing=
"false"
text=
"Tyhjennä kentät"
/>
</items>
</Menu>
<Menu
mnemonicParsing=
"false"
text=
"Apua"
>
<items>
<MenuItem
mnemonicParsing=
"false"
text=
"Tietoja"
/>
</items>
</Menu>
</menus>
</MenuBar>
</top>
<center>
<VBox
alignment=
"CENTER_LEFT"
prefHeight=
"200.0"
prefWidth=
"100.0"
spacing=
"10.0"
BorderPane.alignment=
"CENTER_LEFT"
>
<children>
<HBox
alignment=
"CENTER_LEFT"
minWidth=
"30.0"
prefHeight=
"35.0"
prefWidth=
"200.0"
spacing=
"10.0"
>
<children>
<Label
minWidth=
"50.0"
text=
"Kohtaus"
/>
<TextField
prefHeight=
"25.0"
prefWidth=
"500.0"
/>
</children>
</HBox>
<Label
text=
"Kuvaus"
/>
<TextArea
minWidth=
"200.0"
prefHeight=
"200.0"
prefWidth=
"500.0"
/>
<HBox
alignment=
"CENTER_LEFT"
minHeight=
"40.0"
minWidth=
"30.0"
prefHeight=
"35.0"
prefWidth=
"200.0"
spacing=
"10.0"
VBox.vgrow=
"NEVER"
>
<children>
<Label
minWidth=
"50.0"
text=
"Valinta"
/>
<TextField
minHeight=
"25.0"
prefHeight=
"25.0"
prefWidth=
"500.0"
/>
</children>
<padding>
<Insets
top=
"20.0"
/>
</padding>
</HBox>
<Label
maxHeight=
"15.0"
minHeight=
"15.0"
prefHeight=
"15.0"
text=
"Kuvaus"
/>
<TextArea
prefHeight=
"200.0"
prefWidth=
"200.0"
/>
<HBox
prefHeight=
"100.0"
prefWidth=
"200.0"
/>
</children>
<BorderPane.margin>
<Insets
bottom=
"10.0"
left=
"10.0"
right=
"10.0"
top=
"10.0"
/>
</BorderPane.margin>
</VBox>
</center>
<bottom>
<VBox
prefHeight=
"150.0"
prefWidth=
"100.0"
BorderPane.alignment=
"CENTER"
>
<children>
<Label
text=
"Muistiinpanot"
/>
<TextArea
prefHeight=
"200.0"
prefWidth=
"200.0"
>
<VBox.margin>
<Insets
top=
"10.0"
/>
</VBox.margin>
</TextArea>
</children>
<BorderPane.margin>
<Insets
bottom=
"10.0"
left=
"10.0"
right=
"10.0"
top=
"10.0"
/>
</BorderPane.margin>
</VBox>
</bottom>
<right>
<VBox
maxWidth=
"200.0"
minWidth=
"200.0"
prefHeight=
"200.0"
prefWidth=
"200.0"
BorderPane.alignment=
"CENTER"
>
<children>
<HBox
prefHeight=
"100.0"
prefWidth=
"200.0"
/>
<ListChooser
/>
<HBox
prefHeight=
"100.0"
prefWidth=
"200.0"
>
<children>
<Button
mnemonicParsing=
"false"
text=
"Lisää hahmo"
/>
<Button
mnemonicParsing=
"false"
text=
"Poista valittu"
/>
</children>
</HBox>
<HBox
prefHeight=
"100.0"
prefWidth=
"200.0"
/>
<ListChooser
/>
<HBox
prefHeight=
"100.0"
prefWidth=
"200.0"
>
<children>
<Button
mnemonicParsing=
"false"
text=
"Lisää asia/esine"
/>
<Button
mnemonicParsing=
"false"
text=
"Poista valittu"
/>
</children>
</HBox>
</children>
</VBox>
</right>
</BorderPane>
This diff is collapsed.
Click to expand it.
src/fxKohtaushallinta/UusiTietue2.fxml
0 → 100644
+
156
−
0
View file @
1c6ab612
<?xml version="1.0" encoding="UTF-8"?>
<?import fi.jyu.mit.fxgui.ListChooser?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.ComboBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.Menu?>
<?import javafx.scene.control.MenuBar?>
<?import javafx.scene.control.MenuItem?>
<?import javafx.scene.control.TextArea?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<BorderPane
minWidth=
"500.0"
prefHeight=
"402.0"
prefWidth=
"800.0"
xmlns=
"http://javafx.com/javafx/23.0.1"
xmlns:fx=
"http://javafx.com/fxml/1"
fx:controller=
"fxKohtaushallinta.KohtaushallintaGUIController"
>
<right>
<VBox
maxWidth=
"150.0"
minWidth=
"250.0"
prefHeight=
"200.0"
prefWidth=
"250.0"
BorderPane.alignment=
"CENTER"
>
<children>
<HBox
fillHeight=
"false"
prefHeight=
"30.0"
>
<children>
<TextField
id=
"txtHahmotSuodatin"
promptText=
"Suodatin"
>
<HBox.margin>
<Insets
right=
"5.0"
/>
</HBox.margin>
</TextField>
<Button
id=
"btnHahmotTyhjenna"
mnemonicParsing=
"false"
text=
"Tyhjennä"
/>
</children>
<VBox.margin>
<Insets
top=
"5.0"
/>
</VBox.margin>
</HBox>
<HBox
fillHeight=
"false"
prefHeight=
"30.0"
>
<children>
<ComboBox
id=
"cmbHahmotAvain1"
prefWidth=
"150.0"
promptText=
"Avainsana"
>
<padding>
<Insets
right=
"5.0"
/>
</padding>
<HBox.margin>
<Insets
right=
"5.0"
/>
</HBox.margin>
</ComboBox>
<ComboBox
id=
"cmbHahmotAvain2"
prefWidth=
"150.0"
promptText=
"Avainsana"
/>
</children>
<VBox.margin>
<Insets
bottom=
"5.0"
top=
"5.0"
/>
</VBox.margin>
</HBox>
<ListChooser
rivit=
" Osanna Windandus Erich Stahlhaken Ankerias Josef Specht Johanna Karstedt Hanno"
/>
<HBox
prefHeight=
"100.0"
spacing=
"10.0"
>
<children>
<Button
id=
"btnMuokkaaTietuetta"
minWidth=
"110.0"
mnemonicParsing=
"false"
prefHeight=
"25.0"
text=
"Muokkaa"
/>
<Button
id=
"btnPoistaTietue"
minWidth=
"110.0"
mnemonicParsing=
"false"
prefHeight=
"25.0"
text=
"Poista"
/>
</children>
<padding>
<Insets
top=
"5.0"
/>
</padding>
</HBox>
</children>
<padding>
<Insets
bottom=
"10.0"
left=
"10.0"
right=
"10.0"
top=
"10.0"
/>
</padding>
</VBox>
</right>
<center>
<BorderPane
prefHeight=
"200.0"
prefWidth=
"200.0"
BorderPane.alignment=
"CENTER"
>
<right>
<VBox
prefHeight=
"200.0"
prefWidth=
"100.0"
BorderPane.alignment=
"CENTER"
>
<children>
<Label
text=
"Avainsanat"
/>
<TextField
text=
"Uusi avainsana"
>
<VBox.margin>
<Insets
bottom=
"10.0"
top=
"10.0"
/>
</VBox.margin>
</TextField>
<Button
minWidth=
"150.0"
mnemonicParsing=
"false"
prefWidth=
"150.0"
text=
"Lisää avainsana"
>
<VBox.margin>
<Insets
bottom=
"10.0"
/>
</VBox.margin>
</Button>
<ListChooser
id=
"listAvainsanat"
minWidth=
"150.0"
prefHeight=
"379.0"
prefWidth=
"150.0"
rivit=
" Rikollinen Satama Paroni Liittolainen"
/>
<Button
id=
"btnPoistaAvainsana"
minWidth=
"150.0"
mnemonicParsing=
"false"
prefWidth=
"150.0"
text=
"Poista valittu"
>
<VBox.margin>
<Insets
top=
"10.0"
/>
</VBox.margin>
</Button>
</children>
<BorderPane.margin>
<Insets
bottom=
"10.0"
left=
"10.0"
right=
"10.0"
top=
"10.0"
/>
</BorderPane.margin>
</VBox>
</right>
<center>
<VBox
minHeight=
"200.0"
prefWidth=
"100.0"
BorderPane.alignment=
"CENTER"
>
<children>
<HBox
prefWidth=
"200.0"
>
<children>
<Label
minWidth=
"50.0"
text=
"Nimi"
/>
<TextField
prefWidth=
"500.0"
/>
</children>
</HBox>
<Label
text=
"Kuvaus"
>
<VBox.margin>
<Insets
bottom=
"10.0"
top=
"10.0"
/>
</VBox.margin>
</Label>
<TextArea
prefHeight=
"200.0"
prefWidth=
"200.0"
/>
<HBox
alignment=
"TOP_CENTER"
prefWidth=
"500.0"
spacing=
"10.0"
>
<children>
<Button
id=
"btnUusiTietue"
mnemonicParsing=
"false"
prefHeight=
"25.0"
prefWidth=
"90.0"
text=
"Luo uusi"
/>
<Button
id=
"btnMuokkaaValittua"
mnemonicParsing=
"false"
prefHeight=
"25.0"
prefWidth=
"120.0"
text=
"Tallenna"
/>
<Button
id=
"btnUusiTietue"
mnemonicParsing=
"false"
prefHeight=
"25.0"
prefWidth=
"120.0"
text=
"Peruuta muutokset"
/>
</children>
<VBox.margin>
<Insets
top=
"10.0"
/>
</VBox.margin>
</HBox>
<Button
mnemonicParsing=
"false"
prefHeight=
"40.0"
prefWidth=
"348.0"
text=
"Sulje"
>
<VBox.margin>
<Insets
bottom=
"10.0"
left=
"10.0"
right=
"10.0"
top=
"10.0"
/>
</VBox.margin>
</Button>
</children>
<BorderPane.margin>
<Insets
bottom=
"10.0"
left=
"10.0"
right=
"10.0"
top=
"10.0"
/>
</BorderPane.margin>
</VBox>
</center>
</BorderPane>
</center>
<top>
<MenuBar
BorderPane.alignment=
"CENTER"
>
<menus>
<Menu
mnemonicParsing=
"false"
text=
"Tiedosto"
>
<items>
<MenuItem
mnemonicParsing=
"false"
text=
"Luo uusi"
/>
<MenuItem
mnemonicParsing=
"false"
text=
"Tallenna"
/>
<MenuItem
mnemonicParsing=
"false"
text=
"Sulje"
/>
</items>
</Menu>
<Menu
mnemonicParsing=
"false"
text=
"Muokkaa"
>
<items>
<MenuItem
mnemonicParsing=
"false"
text=
"Peruuta muutokset"
/>
<MenuItem
mnemonicParsing=
"false"
text=
"Tyhjennä kentät"
/>
</items>
</Menu>
<Menu
mnemonicParsing=
"false"
text=
"Apua"
>
<items>
<MenuItem
mnemonicParsing=
"false"
text=
"Tietoja"
/>
</items>
</Menu>
</menus>
</MenuBar>
</top>
</BorderPane>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment