Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • tie/ohj2/ve/2025/kevat/ohj2
  • hasemajo/ohj2
  • nikaleko/ohj2
  • tntvanha/ohj2
  • lemaline/ohj2
  • rintahe/ohj2
  • tersaton/ohj2
  • tornhale/ohj2
  • pjyypiix/ohj-2
  • aneejoko/ohj2
  • reponaw/ohj2
  • saarian/ohj2
  • niemimm/ohj2
  • jppaasww/ohj2-2025k
  • ssniinim/ohj2
  • niememan/ohj2
  • milimaas/ohj2
  • kallmovu/ohj2
  • adaoliro/ohj2
  • tojuhann/ohj2
  • vevejuha/ohj2
  • mieikrla/ohj2
  • miankort/ohj2
  • saeteppo/ohj2
  • saelripa/ohj2
  • saniitty/ohj2
  • nsmietyt/ohj2
  • mikkolto/ohj2
  • mmuhonen/ohj2k25
  • saukkota/ohj-2-ht
  • eenorta/ohj2
  • oapaaso/ht-2
  • eeeeoino/ohj2
  • hietmaem/ohj2
  • vvlaspa/ohj2ht
  • lalaajal/ohj2
  • pepartyy/ohj2
  • loukovjv/ohj2
  • vihtkaan/ohj2
  • annelinu/ohjelmointi2
  • lehtikmi/ohj2
  • ihakalel/ohj2
  • aichinos/ohj2
  • lahteela/ohj-2-ht
  • pellrata/ohj2
  • iljinisa/ohj2
  • nkeuren/ohj2
  • hiltunma/ohj2
  • esshelkr/ohj2
  • vianelo/ohj2
  • kousaepw/ohj-2-ht
  • amheikkz/ohj2
  • jatirkko/ohj2
  • akharine/ohj2
  • rlokilja/ohj2
  • eskrliim/ohj2
  • masakoiv/ohj2
  • toivjope/ohj2
  • sasalons/ohj2
  • hirvepjw/ohj2
  • lajoveps/vuororekisteri
  • lelitirr/ohj-225
  • juhsansa/ohj2
  • essmarpe/ohj2
  • lehtlrvt/ohj2
  • setilus/ohj2
  • julipits/ohj2
  • kivistve/ohj2
  • erpajala/ohj2
  • pslohi/ohj2
  • sediiv/ohj2
  • jovesaar/ohj2
  • jutaalko/ohj2
  • valltoha/ohj2
  • ruotvive/ohj2ht
  • kkvalke/ohj2
  • aetuukka/espanjakohderekisteri
  • pdanilei/ohj2ht
  • lahtlule/ohj2
  • jaemvahu/ohj2
  • kantsiii/ohj2
  • tototuru/ohj2
  • elmotabe/ohj2
  • sutinele/ohj2
  • vepajuna/ohj2
  • tornittu/reseptilista
  • sasoleht/ohj2
  • eemjorto/ohj2
  • gagolzar/ohj2
  • sievanee/ohj2
  • nobekail/ohj2
  • mamiparv/ohj2
  • halolpvz/ohj2
  • tukilo/ohj2
  • mmleppis/ohj2
  • tmruisma/ohj2
  • aajataip/ohj-2
  • salonevs/ohj-2
  • ygulusen/ohj2
  • saarakka/ohj2
  • eakoskix/ohj2
  • lamminm/ohj2ht
  • sellmmv/salibandynpelaajarekisteri
  • tuoskopp/ohj2
  • haarates/ohj-2
  • jormlsuu/ohj2
  • lihiauka/ohj2
  • eeemkarv/ohj2
  • uekolehm/ohj2
  • smkolari/ohj-2-a
  • spicjrxz/ohj2
  • maalvirt/ohj-2-ht
  • hietaolo/ohj2ht
  • rtmatilt/ohj2
  • veevjoen/ohj2
  • lainejee/ohj2
  • pohtojoj/tuotelistaaja
  • jokayli/ohj2
  • sulasaal/ohj2
  • kalloupe/ohj2
  • apeshhhh/ohj2
  • kopperp/ohj2
  • garammtu/ohj2
  • ettalaes/ohj2
  • rajanije/ohj2
  • timovaan/ohj2
  • mkvuonos/ohj2
  • tuomiluu/ohj2
  • konttijm/ohj2
  • palolala/ohj2
  • vejokauk/ohj2
  • peihanus/ohj2
  • itsario/ohj2
  • hejumivu/ohj2
  • isojarto/ohj2
  • pirinpot/ohj2ht
  • oihietan/ohj2
  • niemhizz/ohj2
  • oparve/ohj2
  • truhtejo/ohj-2-ht
  • malineps/ohj-2-pelivalikoima
  • kylkii/ohj2
  • emigrank/ohj2
  • samavakk/ohj2
  • lausofla/ohj2
  • arossors/ohj-2-2
  • nurmsajo/ohj2
  • mattarma/ohj2
  • akjuhesa/ohj-2-ht
  • ovevalka/ohj2
  • lequyanh/ohj-2-ht
  • jasyvays/ohj2
  • lindtope/ohj2
  • kaipainm/ohj2
  • peillips/ohj2
  • miwamich/ohj2
  • anpahypp/ohj2harkka
  • kreenk/ohj2
  • iiaumaoi/ohj2
  • jmsutizy/ohj-2-25
  • conrcsir/ohj2
  • palaakho/ht-metsastyspaivakirja
  • makelkjt/ohj2
  • jooantni/ohj2
  • ttkelaw/ohj-2-2025-k
  • koivishe/kuntohalli-oy
  • laleiho/harjoitustyo-ohj-2
  • joolmatt/ohj2-ht
  • akrasa/ohj2
  • rikretel/ohj-2-ht
  • vuorelma/ohj2
171 results
Show changes
Commits on Source (7)
Showing
with 836 additions and 0 deletions
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/ohj2"/>
<classpathentry kind="con" path="org.eclipse.fx.ide.jdt.core.JAVAFX_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>htyo</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
<filteredResources>
<filter>
<id>1737533798199</id>
<name>tiedostot</name>
<type>5</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-name-matches-false-false-*.dat</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
<?xml version="1.0" encoding="ASCII"?>
<anttasks:AntTask xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:anttasks="http://org.eclipse.fx.ide.jdt/1.0" buildDirectory="${project}/build">
<deploy>
<application name="kohtaushallinta"/>
<info/>
</deploy>
<signjar/>
</anttasks:AntTask>
kuvat/hahmo_asia.png

519 KiB

kuvat/kohtaukset.png

830 KiB

kuvat/muokkaa.png

456 KiB

kuvat/paaikkuna.png

43.3 KiB

kuvat/uusi_tietue.png

27.2 KiB

package fxKohtaushallinta;
/**
* @author jlipi
* @version 26.1.2025
*
*/
public class KohtaushallintaGUIController {
// TODO
}
\ No newline at end of file
<?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.Pane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<BorderPane minWidth="1000.0" prefHeight="800.0" prefWidth="1000.0" xmlns="http://javafx.com/javafx/23.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="fxKohtaushallinta.KohtaushallintaGUIController">
<bottom>
<VBox BorderPane.alignment="CENTER">
<children>
<HBox spacing="5.0">
<children>
<VBox prefWidth="600.0">
<children>
<TextField id="txtValittuKohtaus" disable="true" promptText="Valittu kohtaus">
<VBox.margin>
<Insets bottom="5.0" />
</VBox.margin>
</TextField>
<TextArea id="txtAreaKohtauksenKuvaus" promptText="Kohtauksen kuvaus" />
</children>
<HBox.margin>
<Insets bottom="5.0" left="5.0" top="5.0" />
</HBox.margin>
</VBox>
<VBox prefWidth="600.0">
<children>
<Label text="Muistiinpanot">
<font>
<Font size="14.0" />
</font>
<VBox.margin>
<Insets top="5.0" />
</VBox.margin>
</Label>
<TextArea id="txtAreaMuistiinpanot" promptText="Pelinjohtajan muistiinpanot">
<VBox.margin>
<Insets top="5.0" />
</VBox.margin>
</TextArea>
</children>
</VBox>
</children>
</HBox>
</children>
<BorderPane.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</BorderPane.margin>
</VBox>
</bottom>
<left>
<BorderPane prefHeight="200.0" prefWidth="200.0" BorderPane.alignment="CENTER">
<top>
<Label text="Kohtaukset" BorderPane.alignment="CENTER_LEFT">
<font>
<Font size="14.0" />
</font>
</Label>
</top>
<opaqueInsets>
<Insets />
</opaqueInsets>
<right>
<VBox alignment="CENTER" minHeight="500.0" minWidth="130.0" prefWidth="130.0" spacing="20.0" BorderPane.alignment="CENTER">
<children>
<Button id="btnUusiLista" minHeight="40.0" minWidth="120.0" mnemonicParsing="false" text="UUSI LISTA" />
<Button id="btnLataaLista" minHeight="40.0" minWidth="120.0" mnemonicParsing="false" text="LATAA LISTA" />
<Pane prefHeight="40.0" />
<Button id="btnUusiKohtaus" minHeight="40.0" minWidth="120.0" mnemonicParsing="false" text="UUSI KOHTAUS" />
<Button id="btnPoistaKohtaus" minHeight="40.0" minWidth="120.0" mnemonicParsing="false" text="POISTA KOHTAUS" />
<Pane prefHeight="40.0" />
<Button id="btnSuljeOhjelma" minHeight="40.0" minWidth="120.0" mnemonicParsing="false" text="SULJE OHJELMA" />
</children>
<BorderPane.margin>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</BorderPane.margin>
</VBox>
</right>
<center>
<VBox minWidth="250.0" prefWidth="300.0" BorderPane.alignment="CENTER">
<children>
<HBox>
<children>
<TextField id="txtKohtauksetSuodatin" promptText="Suodatin">
<HBox.margin>
<Insets right="5.0" />
</HBox.margin>
</TextField>
<Button id="btnKohtauksetTyhjenna" mnemonicParsing="false" text="Tyhjennä" />
</children>
<VBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</VBox.margin>
</HBox>
<HBox>
<children>
<ComboBox id="cmbKohtauksetAvain1" prefWidth="150.0" promptText="Avainsana">
<padding>
<Insets right="5.0" />
</padding>
<HBox.margin>
<Insets right="5.0" />
</HBox.margin>
</ComboBox>
<ComboBox id="cmbKohtauksetAvain2" prefWidth="150.0" promptText="Avainsana" />
</children>
<VBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" />
</VBox.margin>
</HBox>
<ListChooser id="listKohtaukset" prefHeight="532.0" prefWidth="250.0" rivit="&#10;Majatalo&#10;Tapaaminen teatterissa&#10;Väijytys varastossa&#10;Keskustori" />
</children>
</VBox>
</center>
<BorderPane.margin>
<Insets bottom="10.0" left="10.0" right="10.0" top="5.0" />
</BorderPane.margin>
</BorderPane>
</left>
<center>
<BorderPane BorderPane.alignment="CENTER">
<bottom>
<VBox alignment="TOP_CENTER" BorderPane.alignment="CENTER">
<children>
<TextField id="txtValittuKohtaus" disable="true" prefWidth="500.0" promptText="Valittu hahmo / asia / esine">
<VBox.margin>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</VBox.margin>
</TextField>
<TextArea id="txtAreaKohtauksenKuvaus" prefWidth="500.0" promptText="Valitun kuvaus">
<VBox.margin>
<Insets left="5.0" right="5.0" />
</VBox.margin>
</TextArea>
</children>
</VBox>
</bottom>
<center>
<HBox spacing="10.0" BorderPane.alignment="CENTER">
<children>
<BorderPane>
<top>
<Label text="Hahmot" BorderPane.alignment="CENTER_LEFT">
<font>
<Font size="14.0" />
</font>
</Label>
</top>
<center>
<VBox 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 id="listHahmot" rivit="&#10;Josef Specht&#10;Osanna Windandus&#10;Erich Stahlhaken&#10;Ankerias" />
<HBox alignment="CENTER" prefHeight="100.0" spacing="5.0">
<children>
<Button id="btnLisaaHahmo" mnemonicParsing="false" prefWidth="115.0" text="Lisää hahmo" />
<Button id="btnPoistaHahmo" mnemonicParsing="false" prefWidth="115.0" text="Poista hahmo" />
</children>
<VBox.margin>
<Insets top="5.0" />
</VBox.margin>
</HBox>
</children>
</VBox>
</center>
</BorderPane>
<BorderPane>
<top>
<Label text="Asiat / esineet" BorderPane.alignment="CENTER_LEFT">
<font>
<Font size="14.0" />
</font>
</Label>
</top>
<center>
<VBox minWidth="250.0" prefHeight="200.0" BorderPane.alignment="CENTER">
<children>
<HBox fillHeight="false" prefHeight="30.0">
<children>
<TextField id="txtAsiatSuodatin" promptText="Suodatin">
<HBox.margin>
<Insets right="5.0" />
</HBox.margin>
</TextField>
<Button id="btnAsiatTyhjenna" 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 id="listAsiat" rivit="&#10;Uhkapelipöytä&#10;Isännän muistikuvat&#10;Juomalista&#10;Vapaat huoneet" />
<HBox alignment="CENTER" prefHeight="100.0" spacing="5.0">
<children>
<Button id="btnLisaaAsia" mnemonicParsing="false" prefWidth="115.0" text="Lisää asia / esine" />
<Button id="btnPoistaAsia" mnemonicParsing="false" prefWidth="115.0" text="Poista asia / esine" />
</children>
<VBox.margin>
<Insets top="5.0" />
</VBox.margin>
</HBox>
</children>
</VBox>
</center>
</BorderPane>
</children>
<BorderPane.margin>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" />
</BorderPane.margin>
</HBox>
</center>
</BorderPane>
</center>
<top>
<MenuBar BorderPane.alignment="CENTER">
<menus>
<Menu mnemonicParsing="false" text="Tiedosto">
<items>
<MenuItem mnemonicParsing="false" text="Uusi kohtauslista" />
<MenuItem mnemonicParsing="false" text="Lataa kohtauslista" />
<MenuItem mnemonicParsing="false" text="Sulje" />
</items>
</Menu>
<Menu mnemonicParsing="false" text="Muokkaa">
<items>
<MenuItem mnemonicParsing="false" text="Uusi kohtaus" />
<MenuItem mnemonicParsing="false" text="Uusi hahmo" />
<MenuItem mnemonicParsing="false" text="Uusi asia / esine" />
</items>
</Menu>
<Menu mnemonicParsing="false" text="Apua">
<items>
<MenuItem mnemonicParsing="false" text="Tietoja" />
</items>
</Menu>
</menus>
</MenuBar>
</top>
</BorderPane>
package fxKohtaushallinta;
import javafx.application.Application;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.fxml.FXMLLoader;
/**
* @author jlipi
* @version 26.1.2025
*
*/
public class KohtaushallintaMain extends Application {
@Override
public void start(Stage primaryStage) {
try {
FXMLLoader ldr = new FXMLLoader(getClass().getResource("KohtaushallintaGUIView.fxml"));
final Pane root = ldr.load();
//final KohtaushallintaGUIController kohtaushallintaCtrl = (KohtaushallintaGUIController) ldr.getController();
Scene scene = new Scene(root);
scene.getStylesheets().add(getClass().getResource("kohtaushallinta.css").toExternalForm());
primaryStage.setScene(scene);
primaryStage.setTitle("Kohtaushallinta");
primaryStage.show();
} catch(Exception e) {
e.printStackTrace();
}
}
/**
* @param args Ei kaytossa
*/
public static void main(String[] args) {
launch(args);
}
}
\ No newline at end of file
<?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>
<?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="&#10;Osanna Windandus&#10;Erich Stahlhaken&#10;Ankerias&#10;Josef Specht&#10;Johanna Karstedt&#10;Hanno" />
<Button id="btnPoistaTietue" mnemonicParsing="false" text="Poista hahmo">
<VBox.margin>
<Insets top="10.0" />
</VBox.margin>
</Button>
</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="&#10;Rikollinen&#10;Satama&#10;Paroni&#10;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="20.0">
<children>
<Button id="btnUusiTietue" mnemonicParsing="false" prefHeight="25.0" prefWidth="140.0" text="Uusi hahmo" />
<Button id="btnMuokkaaValittua" mnemonicParsing="false" prefHeight="25.0" prefWidth="138.0" text="Muokkaa hahmoa" />
</children>
<VBox.margin>
<Insets top="10.0" />
</VBox.margin>
</HBox>
<Button mnemonicParsing="false" prefHeight="40.0" prefWidth="348.0" text="Lisää kohtaukseen">
<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="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>
</BorderPane>
<?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="&#10;Osanna Windandus&#10;Erich Stahlhaken&#10;Ankerias&#10;Josef Specht&#10;Johanna Karstedt&#10;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="&#10;Rikollinen&#10;Satama&#10;Paroni&#10;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>
/* JavaFX CSS - Leave this comment until you have at least create one rule which uses -fx-Property */
\ No newline at end of file
#nro Nimi Kuvaus
1 Isännän muistikuva Muistaa Einaugen tavanneen nuoren pojan. Antaa kuvauksen Hannosta.
2 Uhkapelipöytä Puolituisen pyörittämä noppapelipöytä. Osallistuminen mahdollista, mutta puolituinen on taitava ammattihuijari.
3 Loosit Majatalon seinällä on yksityisempiä looseja, jotka on erotettu verholla.
4 Vartijoiden käytös Alueen vartijat on lahjottu. He ovat yllättävän välinpitämättömiä hahmojen toiminnasta
5 Lukitsematon ovi Sivuovea ei ole lukittu. Helppo tie sisään.
#nro Nimi Avainsanat Kuvaus
1 Ankerias Tarttuva_Nyrkki Satama Sananmukaisesti limainen kerjäläinen Satamassa. Tarttuva Nyrkki -kultin jäsen (mikä selittää mutaation) ja vakoilija
2 Osanna Windandus Työnantaja Asianajaja Kaupungin paras asianajaja. Pukeutuu Verenan symboleilla kirjottuun kaapuun liikkuessaan virallisissa asioissa.
3 Erich Stahlhaken Satama Paroni Jengi Rikollinen Paronin lähipiiriin kuuluva jengiläinen. Uskollinen ja myös vaarallinen, muttei pahantahtoinen niitä kohtaan, jotka eivät asetu Paronin tielle.
4 Einauge Spaltmann Palkkasoturi Maurer Palkkasoturi ja ammattitappaja, joka valikoi työnantajansa tarkasti ei moraalisten tekijöiden vaan oman maineensa kannalta.
#kohtausnro asianro
1 1
1 2
1 3
2 4
2 5
\ No newline at end of file
#kohtausnro hahmonro
1 4
2 1
1 1
\ No newline at end of file
#nro Nimi Avainsanat Kuvaus Muistiinpanot
1 Majatalo Paikka Punainen_Tiili Einauge Maurer Sovittu tapaaminen majatalossa. Einauge on yläkerran huoneessa ja tulee tapaamaan alas pelaajia. Ankerias seuraa tilannetta majatalon ulkopuolella. Einauge suostui auttamaan tarvittaessa sopivaa korvausta vastaan.
2 Väijytys varastossa Ansa Tarttuva_Nyrkki Ankeriaan vinkki johtaa suoraan kultin väijytykseen. Kartta kertoo tarkemmin tilanteen.
\ No newline at end of file