You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
2.4 KiB
50 lines
2.4 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?import java.lang.*?>
|
|
<?import java.util.*?>
|
|
<?import javafx.scene.*?>
|
|
<?import javafx.scene.control.*?>
|
|
<?import javafx.scene.layout.*?>
|
|
|
|
<?import javafx.geometry.Insets?>
|
|
<BorderPane xmlns="http://javafx.com/javafx"
|
|
xmlns:fx="http://javafx.com/fxml"
|
|
fx:controller="view.PrincipalView">
|
|
<fx:define>
|
|
<Integer fx:id="moin1" fx:value="-1" />
|
|
</fx:define>
|
|
<center>
|
|
<SplitPane dividerPositions="0.3" >
|
|
<items>
|
|
<ListView fx:id="listViewPapillon" />
|
|
<VBox disable="${listViewPapillon.selectionModel.selectedIndex == moin1}" spacing="5.0" >
|
|
<children>
|
|
<TextField fx:id="textFieldNomPap" promptText="Nom --" />
|
|
<AnchorPane>
|
|
<children>
|
|
|
|
<ListView fx:id="listViewColor" items="${listViewPapillon.selectionModel.selectedItem.lesCouleurs}"
|
|
AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"
|
|
AnchorPane.topAnchor="20.0"
|
|
/>
|
|
<Label text="list des couleurs" AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
|
</children>
|
|
<padding>
|
|
<Insets bottom="1.0" left="1.0" right="1.0" top="1.0"/>
|
|
</padding>
|
|
</AnchorPane>
|
|
<HBox>
|
|
<children>
|
|
<ColorPicker fx:id="comboClr" />
|
|
<Button disable="${listViewColor.selectionModel.selectedIndex != moin1}" onAction="#ajtColor" text="Ajt Clr"/>
|
|
<Button disable="${listViewColor.selectionModel.selectedIndex == moin1}" onAction="#deleteClr" text="Delet Clr" mnemonicParsing="false" />
|
|
<Button disable="${listViewColor.selectionModel.selectedIndex == moin1}" onAction="#deslection" mnemonicParsing="false" text="deselecttionne" />
|
|
</children>
|
|
</HBox>
|
|
</children>
|
|
</VBox>
|
|
</items>
|
|
</SplitPane>
|
|
</center>
|
|
</BorderPane>
|