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.

168 lines
8.9 KiB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--suppress ALL -->
  3. <?import javafx.geometry.*?>
  4. <?import javafx.scene.control.*?>
  5. <?import javafx.scene.layout.*?>
  6. <?import javafx.scene.text.Font?>
  7. <AnchorPane fx:id="rootPane" minHeight="600.0" minWidth="1024.0" prefHeight="600.0" prefWidth="1024.0"
  8. xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
  9. fx:controller="com.sothr.imagetools.ui.controller.AppController">
  10. <children>
  11. <MenuBar fx:id="rootMenuBar" minWidth="-Infinity" prefHeight="30.0" prefWidth="600.0" AnchorPane.leftAnchor="0.0"
  12. AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
  13. <menus>
  14. <Menu mnemonicParsing="false" text="File">
  15. <items>
  16. <MenuItem fx:id="" mnemonicParsing="false" onAction="#closeAction" text="Close"/>
  17. </items>
  18. </Menu>
  19. <Menu mnemonicParsing="false" text="Edit">
  20. <items>
  21. <MenuItem mnemonicParsing="false" text="Settings"/>
  22. </items>
  23. </Menu>
  24. <Menu mnemonicParsing="false" text="Help">
  25. <items>
  26. <MenuItem mnemonicParsing="false" onAction="#aboutAction" text="About"/>
  27. <MenuItem mnemonicParsing="false" onAction="#helpAction" text="Help Site"/>
  28. </items>
  29. </Menu>
  30. </menus>
  31. </MenuBar>
  32. <VBox id="VBox" alignment="CENTER" spacing="5.0" AnchorPane.bottomAnchor="30.0" AnchorPane.leftAnchor="0.0"
  33. AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="30.0">
  34. <children>
  35. <SplitPane dividerPositions="0.2181996086105675" focusTraversable="true" prefHeight="569.0" prefWidth="1024.0"
  36. visible="true" VBox.vgrow="ALWAYS">
  37. <items>
  38. <TabPane maxWidth="220.0" minHeight="0.0" minWidth="220.0" prefHeight="567.0" prefWidth="220.0"
  39. tabClosingPolicy="UNAVAILABLE">
  40. <tabs>
  41. <Tab closable="false" text="Folders">
  42. <content>
  43. <BorderPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="200.0"
  44. prefWidth="200.0">
  45. <top>
  46. <Button maxWidth="1.7976931348623157E308" minWidth="200.0" mnemonicParsing="false"
  47. onAction="#browseFolders" text="Browse" BorderPane.alignment="CENTER"/>
  48. </top>
  49. <center>
  50. <FlowPane prefHeight="200.0" prefWidth="200.0" BorderPane.alignment="CENTER">
  51. <children>
  52. <Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minWidth="210.0"
  53. text="Selected Folder:">
  54. <padding>
  55. <Insets left="5.0" right="5.0"/>
  56. </padding>
  57. </Label>
  58. <Label fx:id="selectedDirectoryLabel" alignment="TOP_LEFT" lineSpacing="2.0"
  59. maxHeight="1.7976931348623157E308" maxWidth="210.0" minWidth="210.0"
  60. prefWidth="210.0" text="&lt;SELECTED&gt;" wrapText="true">
  61. <font>
  62. <Font name="System Bold" size="12.0"/>
  63. </font>
  64. <padding>
  65. <Insets left="5.0" right="5.0"/>
  66. </padding>
  67. </Label>
  68. </children>
  69. </FlowPane>
  70. </center>
  71. <bottom>
  72. <FlowPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="60.0"
  73. prefWidth="220.0" BorderPane.alignment="CENTER">
  74. <children>
  75. <Button maxWidth="1.7976931348623157E308" minWidth="220.0" mnemonicParsing="false"
  76. onAction="#showAllImages" text="Show All Images">
  77. <FlowPane.margin>
  78. <Insets bottom="5.0"/>
  79. </FlowPane.margin>
  80. </Button>
  81. <Button maxWidth="200.0" minWidth="220.0" mnemonicParsing="false"
  82. onAction="#showSimilarImages" text="Show Similar Images"/>
  83. </children>
  84. </FlowPane>
  85. </bottom>
  86. <padding>
  87. <Insets bottom="5.0" top="5.0"/>
  88. </padding>
  89. </BorderPane>
  90. </content>
  91. </Tab>
  92. <Tab text="Tags">
  93. <content>
  94. <AnchorPane id="Content" minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
  95. <children>
  96. <AnchorPane id="AnchorPane" maxHeight="50.0" prefHeight="50.0" AnchorPane.leftAnchor="0.0"
  97. AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="5.0">
  98. <children>
  99. <TextField layoutY="0.0" prefWidth="200.0" text="" AnchorPane.leftAnchor="20.0"
  100. AnchorPane.rightAnchor="20.0"/>
  101. <Button layoutY="27.0" mnemonicParsing="false" prefWidth="192.0" text="Filter"
  102. AnchorPane.leftAnchor="20.0" AnchorPane.rightAnchor="20.0"/>
  103. </children>
  104. </AnchorPane>
  105. <ListView fx:id="tagListView" prefHeight="385.0" prefWidth="198.0"
  106. AnchorPane.bottomAnchor="60.0" AnchorPane.leftAnchor="10.0"
  107. AnchorPane.rightAnchor="10.0" AnchorPane.topAnchor="60.0"/>
  108. <AnchorPane id="AnchorPane" prefWidth="192.0" AnchorPane.bottomAnchor="5.0"
  109. AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
  110. <children>
  111. <Button layoutY="2.0" mnemonicParsing="false" prefWidth="192.0"
  112. text="View All Images In Tags" AnchorPane.leftAnchor="20.0"
  113. AnchorPane.rightAnchor="20.0"/>
  114. <Button layoutY="28.0" mnemonicParsing="false" prefWidth="192.0"
  115. text="Search For Similarities In Tags" AnchorPane.leftAnchor="20.0"
  116. AnchorPane.rightAnchor="20.0"/>
  117. </children>
  118. </AnchorPane>
  119. </children>
  120. </AnchorPane>
  121. </content>
  122. </Tab>
  123. </tabs>
  124. </TabPane>
  125. <VBox id="VBox" alignment="CENTER" minWidth="600.0" prefWidth="600.0" spacing="5.0">
  126. <children>
  127. <ToolBar maxHeight="30.0" minHeight="30.0" prefHeight="30.0" VBox.vgrow="ALWAYS">
  128. <items>
  129. <Label text="Currect Directory:"/>
  130. <Separator orientation="VERTICAL" prefHeight="200.0"/>
  131. <Label text="&lt;CURRENT DIRECTORY&gt;"/>
  132. </items>
  133. <VBox.margin>
  134. <Insets bottom="-5.0"/>
  135. </VBox.margin>
  136. </ToolBar>
  137. <ScrollPane id="ScrollPane" fitToHeight="true" fitToWidth="true" minWidth="600.0" pannable="false"
  138. prefViewportHeight="567.0" prefViewportWidth="766.0" vbarPolicy="AS_NEEDED"
  139. VBox.vgrow="ALWAYS">
  140. <content>
  141. <TilePane fx:id="imageTilePane" hgap="5.0" maxHeight="1.7976931348623157E308"
  142. maxWidth="1.7976931348623157E308" minWidth="-1.0" prefColumns="6" prefHeight="-1.0"
  143. prefTileHeight="160.0" prefTileWidth="160.0" prefWidth="-1.0" tileAlignment="TOP_LEFT"
  144. vgap="5.0"/>
  145. </content>
  146. <VBox.margin>
  147. <Insets/>
  148. </VBox.margin>
  149. </ScrollPane>
  150. </children>
  151. </VBox>
  152. </items>
  153. </SplitPane>
  154. </children>
  155. </VBox>
  156. <ToolBar maxHeight="30.0" maxWidth="1.7976931348623157E308" minHeight="30.0" orientation="HORIZONTAL"
  157. prefHeight="30.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
  158. <items>
  159. <Label text="Progress:"/>
  160. <Separator orientation="VERTICAL" prefHeight="200.0"/>
  161. <ProgressBar prefWidth="200.0" progress="0.0"/>
  162. <Separator orientation="VERTICAL" prefHeight="200.0"/>
  163. <Label text="&lt;PROGRESS INFORMATION&gt;"/>
  164. </items>
  165. </ToolBar>
  166. </children>
  167. </AnchorPane>