Advertisement
Guest User

Untitled

a guest
Feb 26th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.40 KB | None | 0 0
  1. buildscript {
  2. repositories {
  3. jcenter()
  4. }
  5. dependencies {
  6. classpath 'org.javafxports:jfxmobile-plugin:1.2.0'
  7. }
  8. }
  9. apply plugin :'org.javafxports.jfxmobile'
  10. repositories {
  11. jcenter()
  12. maven {
  13. url 'http://nexus.gluonhq.com/nexus/content/repositories/releases'
  14. }
  15. }
  16.  
  17. mainClassName = 'com.sample.Main'
  18.  
  19. dependencies {
  20. compile 'com.gluonhq:charm:4.2.0'
  21. compile 'com.jfoenix:jfoenix:1.0.0'
  22. //compile files('lib/jfoenix-0.0.0-SNAPSHOT-retrolambda.jar')
  23. }
  24.  
  25. jfxmobile {
  26. downConfig {
  27. version = '3.1.0'
  28. // Do not edit the line below. Use Gluon Mobile Settings in your project context menu instead
  29. plugins 'display', 'lifecycle', 'statusbar', 'storage'
  30. }
  31. android {
  32. manifest = 'src/android/AndroidManifest.xml'
  33. }
  34. ios {
  35. infoPList = file('src/ios/Default-Info.plist')
  36. forceLinkClasses = [
  37. 'com.gluonhq.**.*',
  38. 'javax.annotations.**.*',
  39. 'javax.inject.**.*',
  40. 'javax.json.**.*',
  41. 'org.glassfish.json.**.*'
  42. ]
  43. }
  44.  
  45. <?xml version="1.0" encoding="UTF-8"?>
  46.  
  47. <?language javascript?>
  48. <?import com.jfoenix.controls.JFXDatePicker?>
  49. <?import javafx.scene.control.Button?>
  50. <?import javafx.scene.control.Label?>
  51. <?import javafx.scene.control.ToggleButton?>
  52. <?import javafx.scene.control.ToggleGroup?>
  53. <?import javafx.scene.image.Image?>
  54. <?import javafx.scene.image.ImageView?>
  55. <?import javafx.scene.layout.AnchorPane?>
  56.  
  57. <AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="620.0" prefWidth="360.0" style="-fx-background-color: linear-gradient(#c3361d,fuchsia);" stylesheets="@Next.css" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.android.scheduler.Next">
  58.  
  59. <children>
  60. <Label text="Now ,You can Schedule Wifi" AnchorPane.leftAnchor="70.0" />
  61. <ToggleButton fx:id="ON" layoutX="152.0" layoutY="68.0" mnemonicParsing="false" onAction="#ON" text="On">
  62. <toggleGroup>
  63. <ToggleGroup fx:id="select" />
  64. </toggleGroup>
  65. </ToggleButton>
  66. <ToggleButton fx:id="OFF" layoutX="195.0" layoutY="68.0" mnemonicParsing="false" onAction="#OFF" text="Off" toggleGroup="$select" />
  67. <Label layoutX="49.0" layoutY="66.0" text="Action:" /> <Label fx:id="scheduled" layoutX="76.0" layoutY="107.0" text="Choose between Any one" />
  68. <Label layoutX="5.0" layoutY="202.0" text="Start Time:" />
  69. <Label layoutX="6.0" layoutY="283.0" text="End Time :" />
  70. <Button defaultButton="true" layoutX="129.0" layoutY="354.0" mnemonicParsing="false" text="Schedule" textAlignment="CENTER">
  71. <graphic>
  72. <ImageView>
  73. <image>
  74. <Image url="@reminders-24.png" />
  75. </image>
  76. </ImageView>
  77. </graphic>
  78. </Button>
  79. <Button layoutX="113.0" layoutY="436.0" mnemonicParsing="false" onAction="#gotoHome" text="Back to Home">
  80. <graphic>
  81. <ImageView>
  82. <image>
  83. <Image url="@home-24.png" />
  84. </image>
  85. </ImageView>
  86. </graphic>
  87. </Button>
  88. <Label layoutX="195.0" layoutY="247.0" text="to" />
  89. <Label layoutX="110.0" layoutY="155.0" text="Hours" />
  90. <Label layoutX="184.0" layoutY="155.0" text="Minutes" />
  91. <JFXDatePicker fx:id="start" defaultColor="#b2dbee" layoutX="139.0" layoutY="210.0" showTime="true" />
  92. <JFXDatePicker fx:id="end" defaultColor="#b2dbee" layoutX="139.0" layoutY="287.0" showTime="true" />
  93. </children>
  94.  
  95. </AnchorPane>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement