Advertisement
Guest User

FirstGui.fxml

a guest
Oct 15th, 2013
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <?import java.lang.*?>
  4. <?import javafx.geometry.*?>
  5. <?import javafx.scene.control.*?>
  6. <?import javafx.scene.effect.*?>
  7. <?import javafx.scene.layout.*?>
  8. <?import javafx.scene.layout.AnchorPane?>
  9. <?import javafx.scene.shape.*?>
  10.  
  11. <AnchorPane fx:id="anchorPane" prefHeight="465.4960174560547" prefWidth="261.0001220703125" rotate="5.0" scaleY="1.0" scaleZ="1.0" snapToPixel="true" translateY="0.0" xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/2.2" fx:controller="MyHelloToTheWorldController">
  12.   <children>
  13.     <Accordion layoutX="25.0" layoutY="13.0" prefHeight="180.4633331298828">
  14.       <effect>
  15.         <DropShadow color="#686868bc" height="43.17460317460317" offsetX="5.0" offsetY="5.0" radius="21.087301587301585" spread="0.19047619047619047" width="43.17460317460317" />
  16.       </effect>
  17.       <expandedPane>
  18.         <TitledPane fx:id="x2" animated="false" text="a buttons ">
  19.           <content>
  20.             <AnchorPane id="Content" minHeight="0.0" minWidth="0.0" prefHeight="180.0" prefWidth="200.0">
  21.               <children>
  22.                 <Button id="fixButton" fx:id="alignButton" layoutX="12.0" layoutY="52.0" mnemonicParsing="false" onAction="#alignButtonClicked" prefWidth="89.52017211914062" rotate="346.0" text="Align Button" translateY="0.0" translateZ="0.0" />
  23.                 <Button id="alignButton" fx:id="fixButton" layoutX="116.0" layoutY="52.0" mnemonicParsing="false" onAction="#fixButtonClicked" prefWidth="71.87246704101562" rotate="0.0" scaleZ="1.0" text="Fix world" translateZ="0.0" />
  24.               </children>
  25.             </AnchorPane>
  26.           </content>
  27.         </TitledPane>
  28.       </expandedPane>
  29.       <panes>
  30.         <fx:reference source="x2" />
  31.         <TitledPane fx:id="x1" animated="false" text="a text">
  32.           <content>
  33.             <AnchorPane id="Content" minHeight="0.0" minWidth="0.0" prefHeight="81.52120971679688" prefWidth="158.10814476013184">
  34.               <children>
  35.                 <TextArea blendMode="COLOR_BURN" layoutX="7.0" layoutY="8.0" mouseTransparent="false" opacity="0.78" prefHeight="93.81000518798828" prefWidth="185.0" rotate="5.0" text="Not long ago the yellow man decided to search for the yellow tree of whom he heard so many times during his childhood, when he was 40 years old." translateY="10.0" wrapText="true">
  36.                   <effect>
  37.                     <Lighting specularConstant="0.2365079365079365" specularExponent="3.492063492063493" surfaceScale="3.8015873015873014">
  38.                       <bumpInput>
  39.                         <Shadow />
  40.                       </bumpInput>
  41.                       <light>
  42.                         <javafx.scene.effect.Light.Distant color="#33b6ff" />
  43.                       </light>
  44.                     </Lighting>
  45.                   </effect>
  46.                 </TextArea>
  47.               </children>
  48.             </AnchorPane>
  49.           </content>
  50.         </TitledPane>
  51.       </panes>
  52.     </Accordion>
  53.     <Arc id="theman" fx:id="yellowman" fill="#fff733" layoutX="152.0" layoutY="246.0" length="270.0" onMouseClicked="#clickedYellowMan" onMouseEntered="#enteredYellowMan" onMousePressed="#enteredYellowMan" radiusX="100.0" radiusY="100.0" rotate="360.0" startAngle="50.0" stroke="BLACK" strokeLineJoin="ROUND" strokeType="INSIDE" strokeWidth="4.0" type="ROUND">
  54.       <effect>
  55.         <Reflection />
  56.       </effect>
  57.     </Arc>
  58.   </children>
  59.   <rotationAxis>
  60.     <Point3D z="1.0" />
  61.   </rotationAxis>
  62. </AnchorPane>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement