├── build.xml
├── build
├── built-jar.properties
└── classes
│ ├── appContex.xml
│ ├── herudi
│ ├── SplashScreenWin8.class
│ ├── animations
│ │ ├── FadeInLeftTransition.class
│ │ ├── FadeInLeftTransition1.class
│ │ ├── FadeInRightTransition.class
│ │ ├── FadeInTransition.class
│ │ ├── FadeInUpTransition.class
│ │ ├── FadeOutUpTransition.class
│ │ ├── configAnimasi$1.class
│ │ ├── configAnimasi$2.class
│ │ └── configAnimasi.class
│ ├── config
│ │ ├── config.class
│ │ └── config2.class
│ ├── controller
│ │ ├── controllLogin.class
│ │ ├── controllSplash$1$1.class
│ │ ├── controllSplash$1.class
│ │ ├── controllSplash.class
│ │ ├── customerController$1.class
│ │ ├── customerController$2.class
│ │ ├── customerController$3$1.class
│ │ ├── customerController$3.class
│ │ ├── customerController$4$1.class
│ │ ├── customerController$4.class
│ │ ├── customerController$5$1.class
│ │ ├── customerController$5.class
│ │ ├── customerController$ButtonCell.class
│ │ ├── customerController.class
│ │ ├── menu.class
│ │ ├── microMarketController$1.class
│ │ ├── microMarketController$2.class
│ │ ├── microMarketController$3$1.class
│ │ ├── microMarketController$3.class
│ │ ├── microMarketController$ButtonCell.class
│ │ ├── microMarketController.class
│ │ ├── productController$1.class
│ │ ├── productController$2.class
│ │ ├── productController$3$1.class
│ │ ├── productController$3.class
│ │ ├── productController$4$1.class
│ │ ├── productController$4.class
│ │ ├── productController$5$1.class
│ │ ├── productController$5.class
│ │ ├── productController$ButtonCell.class
│ │ └── productController.class
│ ├── css
│ │ ├── Metro-UI.css
│ │ ├── buttonCircle.css
│ │ ├── buttonCircleBlack.css
│ │ ├── listView.css
│ │ ├── login.css
│ │ └── winDec.css
│ ├── img
│ │ ├── 294.GIF
│ │ ├── 301.GIF
│ │ ├── arrowLeft.png
│ │ ├── arrowLeftBlack.png
│ │ ├── close-hover.png
│ │ ├── close.png
│ │ ├── fullscreen-hover.png
│ │ ├── fullscreen.png
│ │ ├── maximize-hover.png
│ │ ├── maximize.png
│ │ ├── menu-hover.png
│ │ ├── menu.png
│ │ ├── minimize-hover.png
│ │ ├── minimize.png
│ │ ├── progress_ring.gif
│ │ ├── resizeSE.png
│ │ ├── restore-hover.png
│ │ ├── restore.png
│ │ ├── tabel.png
│ │ ├── unfullscreen-hover.png
│ │ └── unfullscreen.png
│ ├── implement
│ │ ├── configSessionFactory.class
│ │ ├── implCustomer.class
│ │ ├── implMicro.class
│ │ └── implProduct.class
│ ├── interfaces
│ │ ├── interCustomer.class
│ │ ├── interMicro.class
│ │ └── interProduct.class
│ ├── menu.class
│ ├── model
│ │ ├── Customer.class
│ │ ├── Customer.hbm.xml
│ │ ├── DiscountCode.class
│ │ ├── DiscountCode.hbm.xml
│ │ ├── Manufacturer.class
│ │ ├── Manufacturer.hbm.xml
│ │ ├── MicroMarket.class
│ │ ├── MicroMarket.hbm.xml
│ │ ├── Product.class
│ │ ├── Product.hbm.xml
│ │ ├── ProductCode.class
│ │ ├── ProductCode.hbm.xml
│ │ ├── PurchaseOrder.class
│ │ └── PurchaseOrder.hbm.xml
│ ├── style
│ │ ├── MetroPasswordFieldSkin.class
│ │ ├── MetroTextFieldSkin.class
│ │ ├── TextFieldWithButtonSkin$1.class
│ │ ├── TextFieldWithButtonSkin$2.class
│ │ ├── TextFieldWithButtonSkin$3.class
│ │ ├── TextFieldWithButtonSkin$4.class
│ │ └── TextFieldWithButtonSkin.class
│ └── view
│ │ ├── customer.fxml
│ │ ├── formMenu.fxml
│ │ ├── login.fxml
│ │ ├── micro.fxml
│ │ ├── product.fxml
│ │ ├── splash.fxml
│ │ └── test.fxml
│ ├── hibernate.cfg.xml
│ ├── hibernate.reveng.xml
│ └── jdbc.properties
├── dist
├── lib
│ ├── antlr-2.7.7.jar
│ ├── aopalliance-1.0.jar
│ ├── c3p0-0.9.2.1.jar
│ ├── cglib-2.2.jar
│ ├── derby.jar
│ ├── derbyclient.jar
│ ├── dom4j-1.6.1.jar
│ ├── ehcache-core-2.4.3.jar
│ ├── hibernate-c3p0-4.3.1.Final.jar
│ ├── hibernate-commons-annotations-4.0.4.Final.jar
│ ├── hibernate-core-4.3.1.Final.jar
│ ├── hibernate-ehcache-4.3.1.Final.jar
│ ├── hibernate-entitymanager-4.3.1.Final.jar
│ ├── hibernate-jpa-2.1-api-1.0.0.Final.jar
│ ├── javassist-3.18.1-GA.jar
│ ├── jboss-logging-3.1.3.GA.jar
│ ├── jboss-transaction-api_1.2_spec-1.0.0.Final.jar
│ ├── mchange-commons-java-0.2.3.4.jar
│ ├── org-apache-commons-logging.jar
│ ├── slf4j-api-1.6.1.jar
│ ├── slf4j-simple-1.6.1.jar
│ ├── spring-aop-4.0.1.RELEASE.jar
│ ├── spring-aspects-4.0.1.RELEASE.jar
│ ├── spring-beans-4.0.1.RELEASE.jar
│ ├── spring-build-src-4.0.1.RELEASE.jar
│ ├── spring-context-4.0.1.RELEASE.jar
│ ├── spring-context-support-4.0.1.RELEASE.jar
│ ├── spring-core-4.0.1.RELEASE.jar
│ ├── spring-expression-4.0.1.RELEASE.jar
│ ├── spring-framework-bom-4.0.1.RELEASE.jar
│ ├── spring-instrument-4.0.1.RELEASE.jar
│ ├── spring-instrument-tomcat-4.0.1.RELEASE.jar
│ ├── spring-jdbc-4.0.1.RELEASE.jar
│ ├── spring-jms-4.0.1.RELEASE.jar
│ ├── spring-messaging-4.0.1.RELEASE.jar
│ ├── spring-orm-4.0.1.RELEASE.jar
│ ├── spring-oxm-4.0.1.RELEASE.jar
│ ├── spring-test-4.0.1.RELEASE.jar
│ ├── spring-tx-4.0.1.RELEASE.jar
│ ├── spring-web-4.0.1.RELEASE.jar
│ ├── spring-webmvc-4.0.1.RELEASE.jar
│ ├── spring-webmvc-portlet-4.0.1.RELEASE.jar
│ └── spring-websocket-4.0.1.RELEASE.jar
├── splashScreenHibernate.html
├── splashScreenHibernate.jar
├── splashScreenHibernate.jnlp
└── web-files
│ ├── dtjava.js
│ ├── error.png
│ ├── get_java.png
│ ├── get_javafx.png
│ ├── javafx-chrome.png
│ ├── javafx-loading-100x100.gif
│ ├── javafx-loading-25x25.gif
│ ├── upgrade_java.png
│ └── upgrade_javafx.png
├── manifest.mf
├── nbproject
├── build-impl.xml
├── configs
│ ├── Run_as_WebStart.properties
│ └── Run_in_Browser.properties
├── genfiles.properties
├── jfx-impl.xml
├── private
│ ├── configs
│ │ ├── Run_as_WebStart.properties
│ │ └── Run_in_Browser.properties
│ ├── private.properties
│ ├── private.xml
│ └── retriever
│ │ ├── catalog.xml
│ │ └── www.springframework.org
│ │ └── schema
│ │ ├── aop
│ │ └── spring-aop-4.0.xsd
│ │ ├── beans
│ │ └── spring-beans-4.0.xsd
│ │ ├── context
│ │ └── spring-context-4.0.xsd
│ │ ├── jee
│ │ └── spring-jee-4.0.xsd
│ │ ├── jms
│ │ └── spring-jms-4.0.xsd
│ │ ├── lang
│ │ └── spring-lang-4.0.xsd
│ │ ├── osgi
│ │ └── spring-osgi-1.2.xsd
│ │ ├── tool
│ │ └── spring-tool-4.0.xsd
│ │ ├── tx
│ │ └── spring-tx-4.0.xsd
│ │ └── util
│ │ └── spring-util-4.0.xsd
├── project.properties
└── project.xml
└── src
├── appContex.xml
├── herudi
├── SplashScreenWin8.java
├── animations
│ ├── FadeInLeftTransition.java
│ ├── FadeInLeftTransition1.java
│ ├── FadeInRightTransition.java
│ ├── FadeInTransition.java
│ ├── FadeInUpTransition.java
│ ├── FadeOutUpTransition.java
│ └── configAnimasi.java
├── config
│ ├── config.java
│ └── config2.java
├── controller
│ ├── controllLogin.java
│ ├── controllSplash.java
│ ├── customerController.java
│ ├── menu.java
│ ├── microMarketController.java
│ └── productController.java
├── css
│ ├── Metro-UI.css
│ ├── buttonCircle.css
│ ├── buttonCircleBlack.css
│ ├── listView.css
│ ├── login.css
│ └── winDec.css
├── img
│ ├── 294.GIF
│ ├── 301.GIF
│ ├── arrowLeft.png
│ ├── arrowLeftBlack.png
│ ├── close-hover.png
│ ├── close.png
│ ├── fullscreen-hover.png
│ ├── fullscreen.png
│ ├── maximize-hover.png
│ ├── maximize.png
│ ├── menu-hover.png
│ ├── menu.png
│ ├── minimize-hover.png
│ ├── minimize.png
│ ├── progress_ring.gif
│ ├── resizeSE.png
│ ├── restore-hover.png
│ ├── restore.png
│ ├── tabel.png
│ ├── unfullscreen-hover.png
│ └── unfullscreen.png
├── implement
│ ├── configSessionFactory.java
│ ├── implCustomer.java
│ ├── implMicro.java
│ └── implProduct.java
├── interfaces
│ ├── interCustomer.java
│ ├── interMicro.java
│ └── interProduct.java
├── menu.java
├── model
│ ├── Customer.hbm.xml
│ ├── Customer.java
│ ├── DiscountCode.hbm.xml
│ ├── DiscountCode.java
│ ├── Manufacturer.hbm.xml
│ ├── Manufacturer.java
│ ├── MicroMarket.hbm.xml
│ ├── MicroMarket.java
│ ├── Product.hbm.xml
│ ├── Product.java
│ ├── ProductCode.hbm.xml
│ ├── ProductCode.java
│ ├── PurchaseOrder.hbm.xml
│ └── PurchaseOrder.java
├── style
│ ├── MetroPasswordFieldSkin.java
│ ├── MetroTextFieldSkin.java
│ └── TextFieldWithButtonSkin.java
└── view
│ ├── customer.fxml
│ ├── formMenu.fxml
│ ├── login.fxml
│ ├── micro.fxml
│ ├── product.fxml
│ ├── splash.fxml
│ └── test.fxml
├── hibernate.cfg.xml
├── hibernate.reveng.xml
└── jdbc.properties
/build.xml:
--------------------------------------------------------------------------------
1 |
2 | Builds, tests, and runs the project splashScreenWin8.
3 |
4 |
53 |
54 |
--------------------------------------------------------------------------------
/build/built-jar.properties:
--------------------------------------------------------------------------------
1 | #Mon, 13 Apr 2015 21:53:33 -0700
2 |
3 |
4 | E\:\\javafx2\\splashScreenWin8=
5 |
--------------------------------------------------------------------------------
/build/classes/appContex.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/build/classes/herudi/SplashScreenWin8.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/SplashScreenWin8.class
--------------------------------------------------------------------------------
/build/classes/herudi/animations/FadeInLeftTransition.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/animations/FadeInLeftTransition.class
--------------------------------------------------------------------------------
/build/classes/herudi/animations/FadeInLeftTransition1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/animations/FadeInLeftTransition1.class
--------------------------------------------------------------------------------
/build/classes/herudi/animations/FadeInRightTransition.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/animations/FadeInRightTransition.class
--------------------------------------------------------------------------------
/build/classes/herudi/animations/FadeInTransition.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/animations/FadeInTransition.class
--------------------------------------------------------------------------------
/build/classes/herudi/animations/FadeInUpTransition.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/animations/FadeInUpTransition.class
--------------------------------------------------------------------------------
/build/classes/herudi/animations/FadeOutUpTransition.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/animations/FadeOutUpTransition.class
--------------------------------------------------------------------------------
/build/classes/herudi/animations/configAnimasi$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/animations/configAnimasi$1.class
--------------------------------------------------------------------------------
/build/classes/herudi/animations/configAnimasi$2.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/animations/configAnimasi$2.class
--------------------------------------------------------------------------------
/build/classes/herudi/animations/configAnimasi.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/animations/configAnimasi.class
--------------------------------------------------------------------------------
/build/classes/herudi/config/config.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/config/config.class
--------------------------------------------------------------------------------
/build/classes/herudi/config/config2.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/config/config2.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/controllLogin.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/controllLogin.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/controllSplash$1$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/controllSplash$1$1.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/controllSplash$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/controllSplash$1.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/controllSplash.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/controllSplash.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/customerController$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/customerController$1.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/customerController$2.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/customerController$2.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/customerController$3$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/customerController$3$1.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/customerController$3.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/customerController$3.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/customerController$4$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/customerController$4$1.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/customerController$4.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/customerController$4.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/customerController$5$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/customerController$5$1.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/customerController$5.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/customerController$5.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/customerController$ButtonCell.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/customerController$ButtonCell.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/customerController.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/customerController.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/menu.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/menu.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/microMarketController$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/microMarketController$1.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/microMarketController$2.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/microMarketController$2.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/microMarketController$3$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/microMarketController$3$1.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/microMarketController$3.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/microMarketController$3.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/microMarketController$ButtonCell.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/microMarketController$ButtonCell.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/microMarketController.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/microMarketController.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/productController$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/productController$1.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/productController$2.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/productController$2.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/productController$3$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/productController$3$1.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/productController$3.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/productController$3.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/productController$4$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/productController$4$1.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/productController$4.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/productController$4.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/productController$5$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/productController$5$1.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/productController$5.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/productController$5.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/productController$ButtonCell.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/productController$ButtonCell.class
--------------------------------------------------------------------------------
/build/classes/herudi/controller/productController.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/controller/productController.class
--------------------------------------------------------------------------------
/build/classes/herudi/css/buttonCircle.css:
--------------------------------------------------------------------------------
1 | /*
2 | To change this license header, choose License Headers in Project Properties.
3 | To change this template file, choose Tools | Templates
4 | and open the template in the editor.
5 | */
6 | /*
7 | Created on : Apr 12, 2015, 4:12:57 AM
8 | Author : Herudi
9 | */
10 |
11 | .button {
12 | -fx-background-radius: 100;
13 | -fx-border-radius: 100;
14 | -fx-border-width: 2;
15 | -fx-border-color : white;
16 | -fx-background-color: transparent;
17 | -fx-background-insets: 0;
18 | -fx-border-insets: 0;
19 | }
20 |
21 | .button:hover{
22 | -fx-background-color: #2c62b5;
23 | }
24 |
25 | .button:pressed, .button:default:hover:pressed
26 | {
27 | -fx-background-radius: 100;
28 | -fx-border-radius: 100;
29 | -fx-border-width: 2;
30 | -fx-border-color : white;
31 | -fx-background-color: transparent;
32 | -fx-background-insets: 0;
33 | -fx-border-insets: 0;
34 | }
35 |
36 | .button:focused
37 | {
38 | -fx-background-radius: 100;
39 | -fx-border-radius: 100;
40 | -fx-border-width: 2;
41 | -fx-border-color : white;
42 | -fx-background-color: transparent;
43 | -fx-background-insets: 0;
44 | -fx-border-insets: 0;
45 | }
46 |
--------------------------------------------------------------------------------
/build/classes/herudi/css/buttonCircleBlack.css:
--------------------------------------------------------------------------------
1 | /*
2 | To change this license header, choose License Headers in Project Properties.
3 | To change this template file, choose Tools | Templates
4 | and open the template in the editor.
5 | */
6 | /*
7 | Created on : Apr 12, 2015, 4:12:57 AM
8 | Author : Herudi
9 | */
10 |
11 | .button {
12 | -fx-background-radius: 100;
13 | -fx-border-radius: 100;
14 | -fx-border-width: 2;
15 | -fx-border-color : #333333;
16 | -fx-background-color: transparent;
17 | -fx-background-insets: 0;
18 | -fx-border-insets: 0;
19 | }
20 |
21 | .button:hover{
22 | -fx-background-color: #cccccc;
23 | }
24 |
25 | .button:pressed, .button:default:hover:pressed{
26 | -fx-background-radius: 100;
27 | -fx-border-radius: 100;
28 | -fx-border-width: 2;
29 | -fx-border-color : black;
30 | -fx-background-color: transparent;
31 | -fx-background-insets: 0;
32 | -fx-border-insets: 0;
33 | }
34 |
35 | .button:focused
36 | {
37 | -fx-background-radius: 100;
38 | -fx-border-radius: 100;
39 | -fx-border-width: 2;
40 | -fx-border-color : black;
41 | -fx-background-color: transparent;
42 | -fx-background-insets: 0;
43 | -fx-border-insets: 0;
44 | }
45 |
--------------------------------------------------------------------------------
/build/classes/herudi/css/listView.css:
--------------------------------------------------------------------------------
1 | .list-cell:filled:selected:focused, .list-cell:filled:selected {
2 | -fx-background-color: #426cad;
3 | -fx-text-fill: white;
4 | }
5 |
6 | .list-cell { /* <=== changed to even */
7 | -fx-background-color: #2b579a;
8 | -fx-text-fill: white;
9 | -fx-cell-size: 3.4em; /* 24 */
10 | -fx-font: 12px "Segoe UI Semibold";
11 | -fx-alignment: CENTER_LEFT;
12 | -fx-border-color:transparent;
13 | }
14 |
15 | .list-cell:filled:hover {
16 | -fx-background-color: #13418b;
17 | -fx-text-fill: white;
18 | }
19 |
20 | .list-view{
21 | -fx-background-color: #2b579a;
22 | -fx-border-insets: 0;
23 | -fx-background-insets: 0;
24 | }
25 |
26 | .scroll-bar .thumb{
27 | -fx-background-color: #cdcdcd;
28 | -fx-background-insets: 0;
29 | -fx-background-radius: 0;
30 | }
31 |
32 | .scroll-bar .thumb:hover {
33 | -fx-color: #dadada;
34 | }
35 |
36 | /* The following is not working. Maybe related to RT-10521*/
37 | .scroll-bar .thumb:pressed {
38 | -fx-background-color: #606060;
39 | }
40 |
41 | .scroll-bar .track {
42 | -fx-background-color: #f0f0f0;
43 | -fx-background-insets: 0;
44 | -fx-background-radius: 0;
45 | }
46 |
47 | .scroll-bar .track-background {
48 | -fx-background-color: #f0f0f0;
49 | -fx-background-insets: 0;
50 | }
51 |
52 | .scroll-bar .increment-button, .scroll-bar .decrement-button {
53 | -fx-background-color: #f0f0f0;
54 | -fx-background-insets: 0;
55 | -fx-background-radius: 0;
56 | -fx-padding: 0.25em; /* 3 */
57 | }
58 |
59 | .scroll-bar .increment-button:hover, .scroll-bar .decrement-button:hover {
60 | -fx-background-color: #dadada;
61 | }
62 |
63 | .scroll-bar .increment-button:pressed, .scroll-bar .decrement-button:pressed {
64 | -fx-background-color: #606060;
65 | }
66 |
67 | .scroll-bar:horizontal .increment-arrow {
68 | -fx-background-color: -fx-mark-highlight-color, -fx-mark-color;
69 | -fx-background-insets: 1 0 -1 0, 0;
70 | -fx-padding: 0.5em 0.333333em 0.0em 0.0em; /* 6 4 0 0 */
71 | -fx-shape: "M7.626,12.876L4.251,8.751H7.14L11,12.876L7.14,17H4.251L7.626,12.876z";
72 | }
73 |
74 | .scroll-bar:vertical .increment-arrow {
75 | -fx-background-color: -fx-mark-highlight-color, -fx-mark-color;
76 | -fx-background-insets: 1 0 -1 0, 0;
77 | -fx-padding: 0.333333em 0.5em 0.0em 0.0em; /* 4 6 0 0 */
78 | -fx-shape: "M8.124,13.625l4.125-3.375v2.889l-4.125,3.86L4,13.139V10.25L8.124,13.625z";
79 | }
80 |
81 | .scroll-bar .increment-button:pressed .increment-arrow {
82 | -fx-background-color: white, white;
83 | }
84 |
85 | .scroll-bar:horizontal .decrement-arrow {
86 | -fx-background-color: -fx-mark-highlight-color, -fx-mark-color;
87 | -fx-background-insets: 1 0 -1 0, 0;
88 | -fx-padding: 0.5em 0.333333em 0.0em 0.0em; /* 6 4 0 0 */
89 | -fx-shape: "M11,17H8.111l-3.86-4.124l3.86-4.125H11l-3.375,4.125L11,17z";
90 | }
91 |
92 | .scroll-bar:vertical .decrement-arrow {
93 | -fx-background-color: -fx-mark-highlight-color, -fx-mark-color;
94 | -fx-background-insets: 1 0 -1 0, 0;
95 | -fx-padding: 0.333333em 0.5em 0.0em 0.0em; /* 4 6 0 0 */
96 | -fx-shape: "M4,17v-2.889l4.124-3.86l4.125,3.86V17l-4.125-3.375L4,17z";
97 | }
98 |
99 | .scroll-bar .decrement-button:pressed .decrement-arrow {
100 | -fx-background-color: white, white;
101 | }
102 |
103 | .scroll-bar:disabled {
104 | -fx-opacity: 0.4;
105 | }
--------------------------------------------------------------------------------
/build/classes/herudi/css/winDec.css:
--------------------------------------------------------------------------------
1 | /*
2 | To change this license header, choose License Headers in Project Properties.
3 | To change this template file, choose Tools | Templates
4 | and open the template in the editor.
5 | */
6 | /*
7 | Created on : Apr 11, 2015, 6:23:28 AM
8 | Author : Herudi
9 | */
10 |
11 | /*
12 | Document : Undecorator
13 | Created on : Jan 15, 2013, 8:42:25 AM
14 | Author : In-SideFX
15 | Description:
16 | Demo purpose
17 | */
18 |
19 | /*
20 | The Stage background.
21 | Currently a Rectangle node
22 | */
23 |
24 | .undecorator-background {
25 | -fx-fill:#ffffff;
26 | /* -fx-fill: radial-gradient(focus-angle 45deg, focus-distance 20%, center 25% 25%, radius 50%, reflect, #eeeeee88, #55555588 75%, dimgray);*/
27 | -fx-arc-width:5;
28 | -fx-arc-height:5;
29 | }
30 | /*
31 | The title bar label
32 | */
33 | .undecorator-label-titlebar{
34 | /* -fx-text-fill: #000000; if defined here, so way to override it in external apps*/
35 | }
36 | /*
37 | * Menu button
38 | */
39 | .decoration-button-menu{
40 | -fx-background-radius: 0;
41 | -fx-border-style: null;
42 | -fx-background-color: null;
43 | -fx-background-image:url("../img/menu.png");
44 | -fx-background-repeat:no-repeat;
45 | }
46 |
47 | .decoration-button-menu:hover{
48 | -fx-background-color: null;
49 | -fx-background-image:url("../img/menu-hover.png");
50 | -fx-background-repeat:no-repeat;
51 | }
52 | /*
53 | * Minimize button
54 | */
55 | .decoration-button-minimize{
56 | -fx-background-radius: 0;
57 | -fx-border-style: null;
58 | -fx-background-color: null;
59 | -fx-background-image:url("../img/minimize.png");
60 | -fx-background-repeat:no-repeat;
61 | }
62 |
63 | .decoration-button-minimize:hover{
64 | -fx-background-color: null;
65 | -fx-background-image:url("../img/minimize-hover.png");
66 | -fx-background-repeat:no-repeat;
67 | }
68 | /*
69 | * Maximize button
70 | */
71 | .decoration-button-maximize{
72 | -fx-background-radius: 0;
73 | -fx-border-style: null;
74 | -fx-background-color: null;
75 | -fx-background-image:url("../img/maximize.png");
76 | -fx-background-repeat:no-repeat;
77 | }
78 | .decoration-button-maximize:hover{
79 | -fx-background-color: null;
80 | -fx-background-image:url("../img/maximize-hover.png");
81 | -fx-background-repeat:no-repeat;
82 | }
83 | .decoration-button-restore{
84 | -fx-background-radius: 0;
85 | -fx-border-style: null;
86 | -fx-background-color: null;
87 | -fx-background-image:url("../img/restore.png");
88 | -fx-background-repeat:no-repeat;
89 | }
90 | .decoration-button-restore:hover{
91 | -fx-background-color: null;
92 | -fx-background-image:url("../img/restore-hover.png");
93 | -fx-background-repeat:no-repeat;
94 | }
95 | /*
96 | * Close button
97 | */
98 | .decoration-button-close{
99 | -fx-background-radius: 0;
100 | -fx-border-style: null;
101 | -fx-background-color: null;
102 | -fx-background-image:url("../img/close.png");
103 | -fx-background-repeat:no-repeat;
104 | }
105 | .decoration-button-close:hover{
106 | -fx-background-color: null;
107 | -fx-background-image:url("../img/close-hover.png");
108 | -fx-background-repeat:no-repeat;
109 | }
110 | /*
111 | * Fullscreen button
112 | */
113 | .decoration-button-fullscreen{
114 | -fx-background-radius: 0;
115 | -fx-border-style: null;
116 | -fx-background-color: null;
117 | -fx-background-image:url("../img/fullscreen.png");
118 | -fx-background-repeat:no-repeat;
119 | }
120 | .decoration-button-fullscreen:hover{
121 | -fx-background-color: null;
122 | -fx-background-image:url("../img/fullscreen-hover.png");
123 | -fx-background-repeat:no-repeat;
124 | }
125 | .decoration-button-unfullscreen{
126 | -fx-background-radius: 0;
127 | -fx-border-style: null;
128 | -fx-background-color: null;
129 | -fx-background-image:url("../img/unfullscreen.png");
130 | -fx-background-repeat:no-repeat;
131 | }
132 | .decoration-button-unfullscreen:hover{
133 | -fx-background-color: null;
134 | -fx-background-image:url("../img/unfullscreen-hover.png");
135 | -fx-background-repeat:no-repeat;
136 | }
137 | /*
138 | * Resize button
139 | */
140 | .decoration-button-resize{
141 | -fx-background-radius: 0;
142 | -fx-border-style: null;
143 | -fx-background-color: null;
144 | -fx-background-image:url("../img/resizeSE.png");
145 | -fx-background-repeat:no-repeat;
146 | }
147 |
148 |
--------------------------------------------------------------------------------
/build/classes/herudi/img/294.GIF:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/294.GIF
--------------------------------------------------------------------------------
/build/classes/herudi/img/301.GIF:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/301.GIF
--------------------------------------------------------------------------------
/build/classes/herudi/img/arrowLeft.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/arrowLeft.png
--------------------------------------------------------------------------------
/build/classes/herudi/img/arrowLeftBlack.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/arrowLeftBlack.png
--------------------------------------------------------------------------------
/build/classes/herudi/img/close-hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/close-hover.png
--------------------------------------------------------------------------------
/build/classes/herudi/img/close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/close.png
--------------------------------------------------------------------------------
/build/classes/herudi/img/fullscreen-hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/fullscreen-hover.png
--------------------------------------------------------------------------------
/build/classes/herudi/img/fullscreen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/fullscreen.png
--------------------------------------------------------------------------------
/build/classes/herudi/img/maximize-hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/maximize-hover.png
--------------------------------------------------------------------------------
/build/classes/herudi/img/maximize.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/maximize.png
--------------------------------------------------------------------------------
/build/classes/herudi/img/menu-hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/menu-hover.png
--------------------------------------------------------------------------------
/build/classes/herudi/img/menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/menu.png
--------------------------------------------------------------------------------
/build/classes/herudi/img/minimize-hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/minimize-hover.png
--------------------------------------------------------------------------------
/build/classes/herudi/img/minimize.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/minimize.png
--------------------------------------------------------------------------------
/build/classes/herudi/img/progress_ring.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/progress_ring.gif
--------------------------------------------------------------------------------
/build/classes/herudi/img/resizeSE.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/resizeSE.png
--------------------------------------------------------------------------------
/build/classes/herudi/img/restore-hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/restore-hover.png
--------------------------------------------------------------------------------
/build/classes/herudi/img/restore.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/restore.png
--------------------------------------------------------------------------------
/build/classes/herudi/img/tabel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/tabel.png
--------------------------------------------------------------------------------
/build/classes/herudi/img/unfullscreen-hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/unfullscreen-hover.png
--------------------------------------------------------------------------------
/build/classes/herudi/img/unfullscreen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/img/unfullscreen.png
--------------------------------------------------------------------------------
/build/classes/herudi/implement/configSessionFactory.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/implement/configSessionFactory.class
--------------------------------------------------------------------------------
/build/classes/herudi/implement/implCustomer.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/implement/implCustomer.class
--------------------------------------------------------------------------------
/build/classes/herudi/implement/implMicro.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/implement/implMicro.class
--------------------------------------------------------------------------------
/build/classes/herudi/implement/implProduct.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/implement/implProduct.class
--------------------------------------------------------------------------------
/build/classes/herudi/interfaces/interCustomer.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/interfaces/interCustomer.class
--------------------------------------------------------------------------------
/build/classes/herudi/interfaces/interMicro.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/interfaces/interMicro.class
--------------------------------------------------------------------------------
/build/classes/herudi/interfaces/interProduct.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/interfaces/interProduct.class
--------------------------------------------------------------------------------
/build/classes/herudi/menu.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/menu.class
--------------------------------------------------------------------------------
/build/classes/herudi/model/Customer.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/model/Customer.class
--------------------------------------------------------------------------------
/build/classes/herudi/model/Customer.hbm.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/build/classes/herudi/model/DiscountCode.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/model/DiscountCode.class
--------------------------------------------------------------------------------
/build/classes/herudi/model/DiscountCode.hbm.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/build/classes/herudi/model/Manufacturer.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/model/Manufacturer.class
--------------------------------------------------------------------------------
/build/classes/herudi/model/Manufacturer.hbm.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/build/classes/herudi/model/MicroMarket.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/model/MicroMarket.class
--------------------------------------------------------------------------------
/build/classes/herudi/model/MicroMarket.hbm.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/build/classes/herudi/model/Product.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/model/Product.class
--------------------------------------------------------------------------------
/build/classes/herudi/model/Product.hbm.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/build/classes/herudi/model/ProductCode.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/model/ProductCode.class
--------------------------------------------------------------------------------
/build/classes/herudi/model/ProductCode.hbm.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/build/classes/herudi/model/PurchaseOrder.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/model/PurchaseOrder.class
--------------------------------------------------------------------------------
/build/classes/herudi/model/PurchaseOrder.hbm.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/build/classes/herudi/style/MetroPasswordFieldSkin.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/style/MetroPasswordFieldSkin.class
--------------------------------------------------------------------------------
/build/classes/herudi/style/MetroTextFieldSkin.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/style/MetroTextFieldSkin.class
--------------------------------------------------------------------------------
/build/classes/herudi/style/TextFieldWithButtonSkin$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/style/TextFieldWithButtonSkin$1.class
--------------------------------------------------------------------------------
/build/classes/herudi/style/TextFieldWithButtonSkin$2.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/style/TextFieldWithButtonSkin$2.class
--------------------------------------------------------------------------------
/build/classes/herudi/style/TextFieldWithButtonSkin$3.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/style/TextFieldWithButtonSkin$3.class
--------------------------------------------------------------------------------
/build/classes/herudi/style/TextFieldWithButtonSkin$4.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/style/TextFieldWithButtonSkin$4.class
--------------------------------------------------------------------------------
/build/classes/herudi/style/TextFieldWithButtonSkin.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/build/classes/herudi/style/TextFieldWithButtonSkin.class
--------------------------------------------------------------------------------
/build/classes/herudi/view/formMenu.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
23 |
24 |
25 |
26 |
27 |
28 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
--------------------------------------------------------------------------------
/build/classes/herudi/view/login.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/build/classes/herudi/view/splash.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
49 |
50 |
51 |
52 |
53 |
--------------------------------------------------------------------------------
/build/classes/herudi/view/test.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/build/classes/hibernate.cfg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | org.hibernate.dialect.DerbyDialect
6 | org.apache.derby.jdbc.ClientDriver
7 | jdbc:derby://localhost:1527/sample
8 | app
9 | app
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/build/classes/hibernate.reveng.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/build/classes/jdbc.properties:
--------------------------------------------------------------------------------
1 | #This is an optional header comment string
2 | #Thu Dec 04 14:55:17 ICT 2014
3 | jdbc.url=jdbc\:derby\://localhost\:1527/sample
4 | jdbc.username=app
5 | jdbc.driver=org.apache.derby.jdbc.ClientDriver
6 | jdbc.password=app
7 |
--------------------------------------------------------------------------------
/dist/lib/antlr-2.7.7.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/antlr-2.7.7.jar
--------------------------------------------------------------------------------
/dist/lib/aopalliance-1.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/aopalliance-1.0.jar
--------------------------------------------------------------------------------
/dist/lib/c3p0-0.9.2.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/c3p0-0.9.2.1.jar
--------------------------------------------------------------------------------
/dist/lib/cglib-2.2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/cglib-2.2.jar
--------------------------------------------------------------------------------
/dist/lib/derby.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/derby.jar
--------------------------------------------------------------------------------
/dist/lib/derbyclient.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/derbyclient.jar
--------------------------------------------------------------------------------
/dist/lib/dom4j-1.6.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/dom4j-1.6.1.jar
--------------------------------------------------------------------------------
/dist/lib/ehcache-core-2.4.3.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/ehcache-core-2.4.3.jar
--------------------------------------------------------------------------------
/dist/lib/hibernate-c3p0-4.3.1.Final.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/hibernate-c3p0-4.3.1.Final.jar
--------------------------------------------------------------------------------
/dist/lib/hibernate-commons-annotations-4.0.4.Final.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/hibernate-commons-annotations-4.0.4.Final.jar
--------------------------------------------------------------------------------
/dist/lib/hibernate-core-4.3.1.Final.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/hibernate-core-4.3.1.Final.jar
--------------------------------------------------------------------------------
/dist/lib/hibernate-ehcache-4.3.1.Final.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/hibernate-ehcache-4.3.1.Final.jar
--------------------------------------------------------------------------------
/dist/lib/hibernate-entitymanager-4.3.1.Final.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/hibernate-entitymanager-4.3.1.Final.jar
--------------------------------------------------------------------------------
/dist/lib/hibernate-jpa-2.1-api-1.0.0.Final.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/hibernate-jpa-2.1-api-1.0.0.Final.jar
--------------------------------------------------------------------------------
/dist/lib/javassist-3.18.1-GA.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/javassist-3.18.1-GA.jar
--------------------------------------------------------------------------------
/dist/lib/jboss-logging-3.1.3.GA.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/jboss-logging-3.1.3.GA.jar
--------------------------------------------------------------------------------
/dist/lib/jboss-transaction-api_1.2_spec-1.0.0.Final.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/jboss-transaction-api_1.2_spec-1.0.0.Final.jar
--------------------------------------------------------------------------------
/dist/lib/mchange-commons-java-0.2.3.4.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/mchange-commons-java-0.2.3.4.jar
--------------------------------------------------------------------------------
/dist/lib/org-apache-commons-logging.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/org-apache-commons-logging.jar
--------------------------------------------------------------------------------
/dist/lib/slf4j-api-1.6.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/slf4j-api-1.6.1.jar
--------------------------------------------------------------------------------
/dist/lib/slf4j-simple-1.6.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/slf4j-simple-1.6.1.jar
--------------------------------------------------------------------------------
/dist/lib/spring-aop-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-aop-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-aspects-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-aspects-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-beans-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-beans-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-build-src-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-build-src-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-context-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-context-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-context-support-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-context-support-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-core-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-core-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-expression-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-expression-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-framework-bom-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-framework-bom-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-instrument-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-instrument-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-instrument-tomcat-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-instrument-tomcat-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-jdbc-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-jdbc-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-jms-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-jms-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-messaging-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-messaging-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-orm-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-orm-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-oxm-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-oxm-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-test-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-test-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-tx-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-tx-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-web-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-web-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-webmvc-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-webmvc-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-webmvc-portlet-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-webmvc-portlet-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/lib/spring-websocket-4.0.1.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/lib/spring-websocket-4.0.1.RELEASE.jar
--------------------------------------------------------------------------------
/dist/splashScreenHibernate.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/splashScreenHibernate.jar
--------------------------------------------------------------------------------
/dist/splashScreenHibernate.jnlp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | splashScreenHibernate
5 | Herudi
6 | null
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
--------------------------------------------------------------------------------
/dist/web-files/error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/web-files/error.png
--------------------------------------------------------------------------------
/dist/web-files/get_java.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/web-files/get_java.png
--------------------------------------------------------------------------------
/dist/web-files/get_javafx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/web-files/get_javafx.png
--------------------------------------------------------------------------------
/dist/web-files/javafx-chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/web-files/javafx-chrome.png
--------------------------------------------------------------------------------
/dist/web-files/javafx-loading-100x100.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/web-files/javafx-loading-100x100.gif
--------------------------------------------------------------------------------
/dist/web-files/javafx-loading-25x25.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/web-files/javafx-loading-25x25.gif
--------------------------------------------------------------------------------
/dist/web-files/upgrade_java.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/web-files/upgrade_java.png
--------------------------------------------------------------------------------
/dist/web-files/upgrade_javafx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/dist/web-files/upgrade_javafx.png
--------------------------------------------------------------------------------
/manifest.mf:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | X-COMMENT: Main-Class will be added automatically by build
3 |
4 |
--------------------------------------------------------------------------------
/nbproject/configs/Run_as_WebStart.properties:
--------------------------------------------------------------------------------
1 | # Do not modify this property in this configuration. It can be re-generated.
2 | $label=Run as WebStart
3 |
--------------------------------------------------------------------------------
/nbproject/configs/Run_in_Browser.properties:
--------------------------------------------------------------------------------
1 | # Do not modify this property in this configuration. It can be re-generated.
2 | $label=Run in Browser
3 |
--------------------------------------------------------------------------------
/nbproject/genfiles.properties:
--------------------------------------------------------------------------------
1 | build.xml.data.CRC32=2ab90615
2 | build.xml.script.CRC32=253de7c0
3 | build.xml.stylesheet.CRC32=8064a381@1.75.2.48
4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
6 | nbproject/build-impl.xml.data.CRC32=5bb1ff02
7 | nbproject/build-impl.xml.script.CRC32=1c1e1b39
8 | nbproject/build-impl.xml.stylesheet.CRC32=876e7a8f@1.75.2.48
9 |
--------------------------------------------------------------------------------
/nbproject/private/configs/Run_as_WebStart.properties:
--------------------------------------------------------------------------------
1 | # Do not modify this property in this configuration. It can be re-generated.
2 | javafx.run.as=webstart
3 |
--------------------------------------------------------------------------------
/nbproject/private/configs/Run_in_Browser.properties:
--------------------------------------------------------------------------------
1 | # Do not modify this property in this configuration. It can be re-generated.
2 | javafx.run.as=embedded
3 |
--------------------------------------------------------------------------------
/nbproject/private/private.properties:
--------------------------------------------------------------------------------
1 | auxiliary.org-netbeans-modules-projectapi.issue214819_5f_fx_5f_enabled=true
2 | compile.on.save=true
3 | do.depend=false
4 | do.jar=true
5 | # No need to modify this property unless customizing JavaFX Ant task infrastructure
6 | endorsed.javafx.ant.classpath=.
7 | javac.debug=true
8 | javadoc.preview=true
9 | javafx.run.as=standalone
10 | javafx.run.inbrowser=
11 | javafx.run.inbrowser.path=C:\\Program Files (x86)\\baidu\\Spark\\Spark.exe
12 | user.properties.file=C:\\Users\\Herudi\\AppData\\Roaming\\NetBeans\\8.0.2\\build.properties
13 |
--------------------------------------------------------------------------------
/nbproject/private/private.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | file:/E:/javafx2/splashScreenWin8/src/herudi/menu.java
7 | file:/E:/javafx2/splashScreenWin8/src/herudi/model/ProductCode.java
8 | file:/E:/javafx2/splashScreenWin8/src/herudi/animations/FadeOutUpTransition.java
9 | file:/E:/javafx2/splashScreenWin8/src/herudi/controller/productController.java
10 | file:/E:/javafx2/splashScreenWin8/src/herudi/animations/FadeInLeftTransition.java
11 | file:/E:/javafx2/splashScreenWin8/src/herudi/model/DiscountCode.java
12 | file:/E:/javafx2/splashScreenWin8/src/herudi/view/customer.fxml
13 | file:/E:/javafx2/splashScreenWin8/src/herudi/css/winDec.css
14 | file:/E:/javafx2/splashScreenWin8/src/herudi/css/login.css
15 | file:/E:/javafx2/splashScreenWin8/src/herudi/css/listView.css
16 | file:/E:/javafx2/splashScreenWin8/src/hibernate.cfg.xml
17 | file:/E:/javafx2/splashScreenWin8/src/herudi/model/Customer.hbm.xml
18 | file:/E:/javafx2/splashScreenWin8/src/herudi/implement/implCustomer.java
19 | file:/E:/javafx2/splashScreenWin8/src/herudi/model/MicroMarket.hbm.xml
20 | file:/E:/javafx2/splashScreenWin8/src/herudi/view/formMenu.fxml
21 | file:/E:/javafx2/splashScreenWin8/src/herudi/controller/menu.java
22 | file:/E:/javafx2/splashScreenWin8/src/herudi/css/buttonCircle.css
23 | file:/E:/javafx2/splashScreenWin8/src/herudi/animations/configAnimasi.java
24 | file:/E:/javafx2/splashScreenWin8/src/herudi/model/Product.java
25 | file:/E:/javafx2/splashScreenWin8/src/herudi/controller/controllSplash.java
26 | file:/E:/javafx2/splashScreenWin8/src/hibernate.reveng.xml
27 | file:/E:/javafx2/splashScreenWin8/src/herudi/SplashScreenWin8.java
28 | file:/E:/javafx2/splashScreenWin8/src/herudi/model/DiscountCode.hbm.xml
29 | file:/E:/javafx2/splashScreenWin8/src/herudi/view/splash.fxml
30 | file:/E:/javafx2/splashScreenWin8/src/herudi/model/Product.hbm.xml
31 | file:/E:/javafx2/splashScreenWin8/src/herudi/controller/microMarketController.java
32 | file:/E:/javafx2/splashScreenWin8/src/herudi/implement/implProduct.java
33 | file:/E:/javafx2/splashScreenWin8/src/herudi/implement/implMicro.java
34 | file:/E:/javafx2/splashScreenWin8/src/herudi/controller/customerController.java
35 | file:/E:/javafx2/splashScreenWin8/src/herudi/config/config.java
36 | file:/E:/javafx2/splashScreenWin8/src/herudi/animations/FadeInLeftTransition1.java
37 | file:/E:/javafx2/splashScreenWin8/src/herudi/implement/configSessionFactory.java
38 | file:/E:/javafx2/splashScreenWin8/src/herudi/model/Customer.java
39 | file:/E:/javafx2/splashScreenWin8/src/herudi/animations/FadeInUpTransition.java
40 | file:/E:/javafx2/splashScreenWin8/src/herudi/model/PurchaseOrder.java
41 | file:/E:/javafx2/splashScreenWin8/src/herudi/interfaces/interCustomer.java
42 | file:/E:/javafx2/splashScreenWin8/src/herudi/config/config2.java
43 | file:/E:/javafx2/splashScreenWin8/src/herudi/view/test.fxml
44 | file:/E:/javafx2/splashScreenWin8/src/herudi/model/MicroMarket.java
45 | file:/E:/javafx2/splashScreenWin8/src/herudi/style/TextFieldWithButtonSkin.java
46 | file:/E:/javafx2/splashScreenWin8/src/herudi/style/MetroTextFieldSkin.java
47 | file:/E:/javafx2/splashScreenWin8/src/herudi/view/micro.fxml
48 | file:/E:/javafx2/splashScreenWin8/src/herudi/controller/controllLogin.java
49 | file:/E:/javafx2/splashScreenWin8/src/herudi/animations/FadeInTransition.java
50 | file:/E:/javafx2/splashScreenWin8/src/herudi/model/Manufacturer.java
51 | file:/E:/javafx2/splashScreenWin8/src/appContex.xml
52 | file:/E:/javafx2/splashScreenWin8/src/herudi/css/buttonCircleBlack.css
53 | file:/E:/javafx2/splashScreenWin8/src/herudi/interfaces/interProduct.java
54 | file:/E:/javafx2/splashScreenWin8/src/herudi/view/login.fxml
55 | file:/E:/javafx2/splashScreenWin8/src/jdbc.properties
56 | file:/E:/javafx2/splashScreenWin8/src/herudi/style/MetroPasswordFieldSkin.java
57 | file:/E:/javafx2/splashScreenWin8/src/herudi/view/product.fxml
58 | file:/E:/javafx2/splashScreenWin8/src/herudi/animations/FadeInRightTransition.java
59 | file:/E:/javafx2/splashScreenWin8/src/herudi/interfaces/interMicro.java
60 | file:/E:/javafx2/splashScreenWin8/src/herudi/css/Metro-UI.css
61 |
62 |
63 |
64 |
--------------------------------------------------------------------------------
/nbproject/private/retriever/catalog.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/nbproject/private/retriever/www.springframework.org/schema/tool/spring-tool-4.0.xsd:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
11 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
61 |
62 |
63 |
64 |
65 |
69 |
70 |
71 |
72 |
73 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
85 |
86 |
87 |
88 |
91 |
92 |
93 |
94 |
95 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
111 |
112 |
113 |
114 |
115 |
116 |
--------------------------------------------------------------------------------
/nbproject/project.properties:
--------------------------------------------------------------------------------
1 | annotation.processing.enabled=true
2 | annotation.processing.enabled.in.editor=false
3 | annotation.processing.processors.list=
4 | annotation.processing.run.all.processors=true
5 | annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
6 | application.title=splashScreenHibernate
7 | application.vendor=Herudi
8 | build.classes.dir=${build.dir}/classes
9 | build.classes.excludes=**/*.java,**/*.form
10 | # This directory is removed when the project is cleaned:
11 | build.dir=build
12 | build.generated.dir=${build.dir}/generated
13 | build.generated.sources.dir=${build.dir}/generated-sources
14 | # Only compile against the classpath explicitly listed here:
15 | build.sysclasspath=ignore
16 | build.test.classes.dir=${build.dir}/test/classes
17 | build.test.results.dir=${build.dir}/test/results
18 | compile.on.save=true
19 | compile.on.save.unsupported.javafx=true
20 | # Uncomment to specify the preferred debugger connection transport:
21 | #debug.transport=dt_socket
22 | debug.classpath=\
23 | ${run.classpath}
24 | debug.test.classpath=\
25 | ${run.test.classpath}
26 | # This directory is removed when the project is cleaned:
27 | dist.dir=dist
28 | dist.jar=${dist.dir}/splashScreenHibernate.jar
29 | dist.javadoc.dir=${dist.dir}/javadoc
30 | endorsed.classpath=
31 | excludes=
32 | file.reference.aopalliance-1.0.jar=E:\\javaClassLibrary\\aopalliance-1.0.jar
33 | file.reference.derby.jar=C:\\Program Files\\Java\\jdk1.8.0_40\\db\\lib\\derby.jar
34 | file.reference.derbyclient.jar=C:\\Program Files\\Java\\jdk1.8.0_40\\db\\lib\\derbyclient.jar
35 | includes=**
36 | # Non-JavaFX jar file creation is deactivated in JavaFX 2.0+ projects
37 | jar.archive.disabled=true
38 | jar.compress=false
39 | javac.classpath=\
40 | ${javafx.classpath.extension}:\
41 | ${libs.hibernate4-support.classpath}:\
42 | ${libs.jpa2-persistence.classpath}:\
43 | ${file.reference.derbyclient.jar}:\
44 | ${file.reference.derby.jar}:\
45 | ${libs.spring-framework400.classpath}:\
46 | ${file.reference.aopalliance-1.0.jar}
47 | # Space-separated list of extra javac options
48 | javac.compilerargs=
49 | javac.deprecation=false
50 | javac.processorpath=\
51 | ${javac.classpath}
52 | javac.source=1.8
53 | javac.target=1.8
54 | javac.test.classpath=\
55 | ${javac.classpath}:\
56 | ${build.classes.dir}
57 | javac.test.processorpath=\
58 | ${javac.test.classpath}
59 | javadoc.additionalparam=
60 | javadoc.author=false
61 | javadoc.encoding=${source.encoding}
62 | javadoc.noindex=false
63 | javadoc.nonavbar=false
64 | javadoc.notree=false
65 | javadoc.private=false
66 | javadoc.splitindex=true
67 | javadoc.use=true
68 | javadoc.version=false
69 | javadoc.windowtitle=
70 | javafx.application.implementation.version=1.0
71 | javafx.binarycss=false
72 | javafx.classpath.extension=\
73 | ${java.home}/lib/javaws.jar:\
74 | ${java.home}/lib/deploy.jar:\
75 | ${java.home}/lib/plugin.jar
76 | javafx.deploy.adddesktopshortcut=false
77 | javafx.deploy.addstartmenushortcut=false
78 | javafx.deploy.allowoffline=true
79 | # If true, application update mode is set to 'background', if false, update mode is set to 'eager'
80 | javafx.deploy.backgroundupdate=false
81 | javafx.deploy.disable.proxy=false
82 | javafx.deploy.embedJNLP=true
83 | javafx.deploy.includeDT=true
84 | javafx.deploy.installpermanently=false
85 | javafx.deploy.permissionselevated=false
86 | # Set true to prevent creation of temporary copy of deployment artifacts before each run (disables concurrent runs)
87 | javafx.disable.concurrent.runs=false
88 | # Set true to enable multiple concurrent runs of the same WebStart or Run-in-Browser project
89 | javafx.enable.concurrent.external.runs=false
90 | # This is a JavaFX project
91 | javafx.enabled=true
92 | javafx.fallback.class=com.javafx.main.NoJavaFXFallback
93 | # Main class for JavaFX
94 | javafx.main.class=herudi.SplashScreenWin8
95 | javafx.preloader.class=
96 | # This project does not use Preloader
97 | javafx.preloader.enabled=false
98 | javafx.preloader.jar.filename=
99 | javafx.preloader.jar.path=
100 | javafx.preloader.project.path=
101 | javafx.preloader.type=none
102 | # Set true for GlassFish only. Rebases manifest classpaths of JARs in lib dir. Not usable with signed JARs.
103 | javafx.rebase.libs=false
104 | javafx.run.height=600
105 | javafx.run.width=800
106 | javafx.signing.blob=false
107 | javafx.signing.enabled=false
108 | javafx.signing.type=notsigned
109 | # Pre-JavaFX 2.0 WebStart is deactivated in JavaFX 2.0+ projects
110 | jnlp.enabled=false
111 | # Main class for Java launcher
112 | main.class=com.javafx.main.Main
113 | # For improved security specify narrower Codebase manifest attribute to prevent RIAs from being repurposed
114 | manifest.custom.codebase=*
115 | # Specify Permissions manifest attribute to override default (choices: sandbox, all-permissions)
116 | manifest.custom.permissions=
117 | manifest.file=manifest.mf
118 | meta.inf.dir=${src.dir}/META-INF
119 | mkdist.disabled=false
120 | native.bundling.enabled=false
121 | platform.active=default_platform
122 | run.classpath=\
123 | ${dist.jar}:\
124 | ${javac.classpath}:\
125 | ${build.classes.dir}
126 | run.test.classpath=\
127 | ${javac.test.classpath}:\
128 | ${build.test.classes.dir}
129 | source.encoding=UTF-8
130 | src.dir=src
131 | test.src.dir=test
132 |
--------------------------------------------------------------------------------
/nbproject/project.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.netbeans.modules.java.j2seproject
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | splashScreenHibernate
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | src/appContex.xml
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/src/appContex.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/src/herudi/SplashScreenWin8.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package herudi;
7 |
8 | import javafx.application.Application;
9 | import javafx.fxml.FXMLLoader;
10 | import javafx.scene.Parent;
11 | import javafx.scene.Scene;
12 | import javafx.stage.Stage;
13 | import javafx.stage.StageStyle;
14 |
15 | /**
16 | *
17 | * @author Herudi
18 | */
19 | public class SplashScreenWin8 extends Application {
20 |
21 | @Override
22 | public void start(Stage stage) throws Exception {
23 | Parent root = FXMLLoader.load(getClass().getResource("/herudi/view/splash.fxml"));
24 | Scene scene = new Scene(root);
25 | stage.setScene(scene);
26 | stage.initStyle(StageStyle.UNDECORATED);
27 | stage.show();
28 | }
29 |
30 | /**
31 | * @param args the command line arguments
32 | */
33 | public static void main(String[] args) {
34 | launch(args);
35 | }
36 |
37 | }
38 |
--------------------------------------------------------------------------------
/src/herudi/animations/FadeInLeftTransition.java:
--------------------------------------------------------------------------------
1 | package herudi.animations;
2 |
3 | import javafx.animation.KeyFrame;
4 | import javafx.animation.KeyValue;
5 | import javafx.animation.TimelineBuilder;
6 | import javafx.scene.Node;
7 | import javafx.util.Duration;
8 |
9 | /**
10 | * Animate a fade in left effect on a node
11 | *
12 | * Port of FadeInLeft from Animate.css http://daneden.me/animate by Dan Eden
13 | *
14 | * {@literal @}keyframes fadeInLeft {
15 | * 0% {
16 | * opacity: 0;
17 | * transform: translateX(-20px);
18 | * }
19 | * 100% {
20 | * opacity: 1;
21 | * transform: translateX(0);
22 | * }
23 | * }
24 | *
25 | * @author Jasper Potts
26 | */
27 | @SuppressWarnings("deprecation")
28 | public class FadeInLeftTransition extends configAnimasi {
29 | /**
30 | * Create new FadeInLeftTransition
31 | *
32 | * @param node The node to affect
33 | */
34 | public FadeInLeftTransition(final Node node) {
35 | super(
36 | node,
37 | TimelineBuilder.create()
38 | .keyFrames(
39 | new KeyFrame(Duration.millis(0),
40 | new KeyValue(node.opacityProperty(), 0, WEB_EASE),
41 | new KeyValue(node.translateXProperty(), -20, WEB_EASE)
42 | ),
43 | new KeyFrame(Duration.millis(700),
44 | new KeyValue(node.opacityProperty(), 1, WEB_EASE),
45 | new KeyValue(node.translateXProperty(), 0, WEB_EASE)
46 | )
47 | )
48 | .build()
49 | );
50 | setCycleDuration(Duration.seconds(1));
51 | setDelay(Duration.seconds(0));
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/src/herudi/animations/FadeInLeftTransition1.java:
--------------------------------------------------------------------------------
1 | package herudi.animations;
2 |
3 | import javafx.animation.KeyFrame;
4 | import javafx.animation.KeyValue;
5 | import javafx.animation.TimelineBuilder;
6 | import javafx.scene.Node;
7 | import javafx.util.Duration;
8 |
9 | /**
10 | * Animate a fade in left effect on a node
11 | *
12 | * Port of FadeInLeft from Animate.css http://daneden.me/animate by Dan Eden
13 | *
14 | * {@literal @}keyframes fadeInLeft {
15 | * 0% {
16 | * opacity: 0;
17 | * transform: translateX(-20px);
18 | * }
19 | * 100% {
20 | * opacity: 1;
21 | * transform: translateX(0);
22 | * }
23 | * }
24 | *
25 | * @author Jasper Potts
26 | */
27 | @SuppressWarnings("deprecation")
28 | public class FadeInLeftTransition1 extends configAnimasi {
29 | /**
30 | * Create new FadeInLeftTransition
31 | *
32 | * @param node The node to affect
33 | */
34 | public FadeInLeftTransition1(final Node node) {
35 | super(
36 | node,
37 | TimelineBuilder.create()
38 | .keyFrames(
39 | new KeyFrame(Duration.millis(0),
40 | new KeyValue(node.opacityProperty(), 0, WEB_EASE),
41 | new KeyValue(node.translateXProperty(), -20, WEB_EASE)
42 | ),
43 | new KeyFrame(Duration.millis(700),
44 | new KeyValue(node.opacityProperty(), 1, WEB_EASE),
45 | new KeyValue(node.translateXProperty(), 0, WEB_EASE)
46 | )
47 | )
48 | .build()
49 | );
50 | setCycleDuration(Duration.seconds(1));
51 | setDelay(Duration.seconds(0));
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/src/herudi/animations/FadeInRightTransition.java:
--------------------------------------------------------------------------------
1 | /*
2 | Animation For JavaFX.
3 | */
4 |
5 | package herudi.animations;
6 |
7 | import javafx.animation.KeyFrame;
8 | import javafx.animation.KeyValue;
9 | import javafx.animation.TimelineBuilder;
10 | import javafx.scene.Node;
11 | import javafx.util.Duration;
12 |
13 |
14 | /*
15 | Created on : Sep 13, 2014, 8:45:48 AM
16 | Author : herudi-pc
17 | */
18 |
19 | public class FadeInRightTransition extends configAnimasi {
20 | /**
21 | * Create new FadeInUpTransition
22 | *
23 | * @param node The node to affect
24 | */
25 | public FadeInRightTransition(final Node node) {
26 | super(
27 | node,
28 | TimelineBuilder.create()
29 | .keyFrames(
30 | new KeyFrame(Duration.millis(0),
31 | new KeyValue(node.opacityProperty(), 0, WEB_EASE),
32 | new KeyValue(node.translateXProperty(), 20, WEB_EASE)
33 | ),
34 | new KeyFrame(Duration.millis(1000),
35 | new KeyValue(node.opacityProperty(), 1, WEB_EASE),
36 | new KeyValue(node.translateXProperty(), 0, WEB_EASE)
37 | )
38 | )
39 | .build()
40 | );
41 | setCycleDuration(Duration.seconds(1));
42 | setDelay(Duration.seconds(0));
43 | node.toFront();
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/src/herudi/animations/FadeInTransition.java:
--------------------------------------------------------------------------------
1 | package herudi.animations;
2 |
3 | import javafx.animation.KeyFrame;
4 | import javafx.animation.KeyValue;
5 | import javafx.animation.TimelineBuilder;
6 | import javafx.scene.Node;
7 | import javafx.util.Duration;
8 |
9 | /**
10 | * Animate a fade in effect on a node
11 | *
12 | * Port of FadeIn from Animate.css http://daneden.me/animate by Dan Eden
13 | *
14 | * {@literal @}keyframes fadeIn {
15 | * 0% {opacity: 0;}
16 | * 100% {opacity: 1;}
17 | * }
18 | *
19 | * @author Jasper Potts
20 | */
21 | @SuppressWarnings("deprecation")
22 | public class FadeInTransition extends configAnimasi {
23 | /**
24 | * Create new FadeInTransition
25 | *
26 | * @param node The node to affect
27 | */
28 | public FadeInTransition(final Node node) {
29 | super(
30 | node,
31 | TimelineBuilder.create()
32 | .keyFrames(
33 | new KeyFrame(Duration.millis(0), new KeyValue(node.opacityProperty(), 0, WEB_EASE)),
34 | new KeyFrame(Duration.millis(1000), new KeyValue(node.opacityProperty(), 1, WEB_EASE))
35 | )
36 | .build()
37 | );
38 | setCycleDuration(Duration.seconds(2));
39 | setDelay(Duration.seconds(0.2));
40 |
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/src/herudi/animations/FadeInUpTransition.java:
--------------------------------------------------------------------------------
1 | /*
2 | Animation For JavaFX.
3 | */
4 |
5 | package herudi.animations;
6 |
7 | import javafx.animation.KeyFrame;
8 | import javafx.animation.KeyValue;
9 | import javafx.animation.TimelineBuilder;
10 | import javafx.scene.Node;
11 | import javafx.util.Duration;
12 |
13 | /*
14 | Created on : Sep 13, 2014, 8:45:48 AM
15 | Author : herudi-pc
16 | */
17 |
18 | public class FadeInUpTransition extends configAnimasi {
19 | /**
20 | * Create new FadeInUpTransition
21 | *
22 | * @param node The node to affect
23 | */
24 | public FadeInUpTransition(final Node node) {
25 | super(
26 | node,
27 | TimelineBuilder.create()
28 | .keyFrames(
29 | new KeyFrame(Duration.millis(0),
30 | new KeyValue(node.opacityProperty(), 0, WEB_EASE),
31 | new KeyValue(node.translateYProperty(), 20, WEB_EASE)
32 | ),
33 | new KeyFrame(Duration.millis(500),
34 | new KeyValue(node.opacityProperty(), 1, WEB_EASE),
35 | new KeyValue(node.translateYProperty(), 0, WEB_EASE)
36 | )
37 | )
38 | .build()
39 | );
40 | setCycleDuration(Duration.seconds(1));
41 | setDelay(Duration.seconds(0));
42 | node.toFront();
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/src/herudi/animations/FadeOutUpTransition.java:
--------------------------------------------------------------------------------
1 | /*
2 | Animation For JavaFX
3 | */
4 |
5 | package herudi.animations;
6 |
7 | import javafx.animation.KeyFrame;
8 | import javafx.animation.KeyValue;
9 | import javafx.animation.TimelineBuilder;
10 | import javafx.scene.Node;
11 | import javafx.util.Duration;
12 |
13 |
14 | /*
15 | Created on : Sep 13, 2014, 8:45:48 AM
16 | Author : herudi-pc
17 | */
18 |
19 | public class FadeOutUpTransition extends configAnimasi {
20 | /**
21 | * Create new FadeOutUpTransition
22 | *
23 | * @param node The node to affect
24 | */
25 | public FadeOutUpTransition(final Node node) {
26 | super(
27 | node,
28 | TimelineBuilder.create()
29 | .keyFrames(
30 | new KeyFrame(Duration.millis(50),
31 | new KeyValue(node.opacityProperty(), 1, WEB_EASE),
32 | new KeyValue(node.translateYProperty(), 0, WEB_EASE)
33 | ),
34 | new KeyFrame(Duration.millis(500),
35 | new KeyValue(node.opacityProperty(), 0, WEB_EASE),
36 | new KeyValue(node.translateYProperty(), -10, WEB_EASE)
37 | )
38 | )
39 | .build()
40 | );
41 | setCycleDuration(Duration.seconds(1));
42 | setDelay(Duration.seconds(0));
43 | }
44 |
45 | @Override protected void stopping() {
46 | super.stopping();
47 | node.setTranslateY(0);
48 | node.toBack();// restore default
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/src/herudi/animations/configAnimasi.java:
--------------------------------------------------------------------------------
1 | /*
2 | Animation For JavaFX.
3 | */
4 |
5 | package herudi.animations;
6 |
7 | import javafx.animation.Interpolator;
8 | import javafx.animation.Timeline;
9 | import javafx.animation.Transition;
10 | import javafx.beans.value.ChangeListener;
11 | import javafx.beans.value.ObservableValue;
12 | import javafx.scene.CacheHint;
13 | import javafx.scene.Node;
14 | import javafx.util.Duration;
15 |
16 | /*
17 | Created on : Sep 13, 2014, 8:45:48 AM
18 | Author : herudi-pc
19 | */
20 |
21 | public class configAnimasi extends Transition {
22 | protected static final Interpolator WEB_EASE = Interpolator.SPLINE(0.25, 0.1, 0.25, 1);
23 | protected final Node node;
24 | protected Timeline timeline;
25 | private boolean oldCache = false;
26 | private CacheHint oldCacheHint = CacheHint.DEFAULT;
27 | private final boolean useCache;
28 |
29 | /**
30 | * Create new CachedTimelineTransition
31 | *
32 | * @param node The node that is being animated by the timeline
33 | * @param timeline The timeline for the animation, it should be from 0 to 1 seconds
34 | */
35 | public configAnimasi(final Node node, final Timeline timeline) {
36 | this(node, timeline, true);
37 | }
38 |
39 | /**
40 | * Create new CachedTimelineTransition
41 | *
42 | * @param node The node that is being animated by the timeline
43 | * @param timeline The timeline for the animation, it should be from 0 to 1 seconds
44 | * @param useCache When true the node is cached as image during the animation
45 | */
46 | public configAnimasi(final Node node, final Timeline timeline, final boolean useCache) {
47 | this.node = node;
48 | this.timeline = timeline;
49 | this.useCache = useCache;
50 | statusProperty().addListener(new ChangeListener() {
51 | @Override public void changed(ObservableValue extends Status> ov, Status t, Status newStatus) {
52 | switch(newStatus) {
53 | case RUNNING:
54 | starting();
55 | break;
56 | default:
57 | stopping();
58 | break;
59 | }
60 | }
61 | });
62 | }
63 |
64 | /**
65 | * Called when the animation is starting
66 | */
67 | protected void starting() {
68 | if (useCache) {
69 | oldCache = node.isCache();
70 | oldCacheHint = node.getCacheHint();
71 | node.setCache(true);
72 | node.setCacheHint(CacheHint.SPEED);
73 | }
74 | }
75 |
76 | /**
77 | * Called when the animation is stopping
78 | */
79 | protected void stopping() {
80 | if (useCache) {
81 | node.setCache(oldCache);
82 | node.setCacheHint(oldCacheHint);
83 | }
84 | }
85 |
86 | @Override protected void interpolate(double d) {
87 | timeline.playFrom(Duration.seconds(d));
88 | timeline.stop();
89 | }
90 |
91 | }
--------------------------------------------------------------------------------
/src/herudi/config/config.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this template, choose Tools | Templates
3 | * and open the template in the editor.
4 | */
5 | package herudi.config;
6 |
7 | import java.io.IOException;
8 | import javafx.fxml.FXMLLoader;
9 | import javafx.scene.Parent;
10 | import javafx.scene.Scene;
11 | import javafx.scene.control.Alert;
12 | import javafx.scene.control.Label;
13 | import javafx.scene.control.TableColumn;
14 | import javafx.scene.control.cell.PropertyValueFactory;
15 | import javafx.scene.image.Image;
16 | import javafx.scene.layout.AnchorPane;
17 | import javafx.stage.Stage;
18 | import javafx.stage.StageStyle;
19 | import org.omg.CORBA.portable.ValueFactory;
20 | import org.springframework.beans.BeansException;
21 | import org.springframework.context.ApplicationContext;
22 | import org.springframework.context.support.ClassPathXmlApplicationContext;
23 |
24 | /**
25 | *
26 | * @author herudi-pc
27 | */
28 | public class config {
29 | private ApplicationContext applicationContext;
30 | private static config provider;
31 |
32 | public config() throws ExceptionInInitializerError {
33 | try {
34 | this.applicationContext = new ClassPathXmlApplicationContext("appContex.xml");
35 | } catch (BeansException ex) {
36 | System.err.print("error " + ex);
37 | }
38 | }
39 |
40 | public synchronized static config getInstance() throws ExceptionInInitializerError {
41 | config tempProvider;
42 | if (provider == null) {
43 | provider = new config();
44 | tempProvider = provider;
45 | }else if(provider.getApplicationContext()==null){
46 | provider=new config();
47 | tempProvider=provider;
48 | }else{
49 | tempProvider=provider;
50 | }
51 |
52 | return tempProvider;
53 | }
54 |
55 | public ApplicationContext getApplicationContext() {
56 | return applicationContext;
57 | }
58 |
59 | public void setApplicationContext(ApplicationContext applicationContext) {
60 | this.applicationContext = applicationContext;
61 | }
62 |
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/src/herudi/config/config2.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package herudi.config;
7 |
8 | import java.io.IOException;
9 | import javafx.fxml.FXMLLoader;
10 | import javafx.scene.Node;
11 | import javafx.scene.Parent;
12 | import javafx.scene.Scene;
13 | import javafx.scene.control.Alert;
14 | import javafx.scene.control.Button;
15 | import javafx.scene.control.Label;
16 | import javafx.scene.control.TableColumn;
17 | import javafx.scene.control.cell.PropertyValueFactory;
18 | import javafx.scene.layout.AnchorPane;
19 | import javafx.stage.Stage;
20 | import javafx.stage.StageStyle;
21 |
22 | /**
23 | *
24 | * @author Herudi
25 | */
26 | public class config2 {
27 |
28 | public config2() {
29 | }
30 |
31 | public static void dialog(Alert.AlertType alertType,String s){
32 | Alert alert = new Alert(alertType,s);
33 | alert.initStyle(StageStyle.UTILITY);
34 | alert.setTitle("Info");
35 | alert.showAndWait();
36 | }
37 |
38 | public void newStage(Stage stage, Label lb, String load, String judul, boolean resize, StageStyle style, boolean maximized){
39 | try {
40 | Stage st = new Stage();
41 | stage = (Stage) lb.getScene().getWindow();
42 | Parent root = FXMLLoader.load(getClass().getResource(load));
43 | Scene scene = new Scene(root);
44 | st.initStyle(style);
45 | st.setResizable(resize);
46 | st.setMaximized(maximized);
47 | st.setTitle(judul);
48 | st.setScene(scene);
49 | st.show();
50 | stage.close();
51 | } catch (Exception e) {
52 | }
53 | }
54 |
55 | public void newStage2(Stage stage, Button lb, String load, String judul, boolean resize, StageStyle style, boolean maximized){
56 | try {
57 | Stage st = new Stage();
58 | stage = (Stage) lb.getScene().getWindow();
59 | Parent root = FXMLLoader.load(getClass().getResource(load));
60 | Scene scene = new Scene(root);
61 | st.initStyle(style);
62 | st.setResizable(resize);
63 | st.setMaximized(maximized);
64 | st.setTitle(judul);
65 | st.setScene(scene);
66 | st.show();
67 | stage.close();
68 | } catch (Exception e) {
69 | }
70 | }
71 |
72 | public void loadAnchorPane(AnchorPane ap, String a){
73 | try {
74 | AnchorPane p = FXMLLoader.load(getClass().getResource("/herudi/view/"+a));
75 | ap.getChildren().setAll(p);
76 | } catch (IOException e) {
77 | }
78 | }
79 |
80 | public static void setModelColumn(TableColumn tb,String a){
81 | tb.setCellValueFactory(new PropertyValueFactory(a));
82 | }
83 | }
84 |
--------------------------------------------------------------------------------
/src/herudi/controller/controllLogin.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package herudi.controller;
7 |
8 | import herudi.animations.FadeInLeftTransition;
9 | import herudi.animations.FadeInLeftTransition1;
10 | import herudi.animations.FadeInRightTransition;
11 | import herudi.config.config2;
12 | import java.net.URL;
13 | import java.util.ResourceBundle;
14 | import javafx.application.Platform;
15 | import javafx.event.ActionEvent;
16 | import javafx.fxml.FXML;
17 | import javafx.fxml.Initializable;
18 | import javafx.scene.control.Alert;
19 | import javafx.scene.control.Button;
20 | import javafx.scene.control.Label;
21 | import javafx.scene.control.PasswordField;
22 | import javafx.scene.control.TextField;
23 | import javafx.scene.input.MouseEvent;
24 | import javafx.scene.text.Text;
25 | import javafx.stage.Stage;
26 | import javafx.stage.StageStyle;
27 |
28 | /**
29 | * FXML Controller class
30 | *
31 | * @author Herudi
32 | */
33 | public class controllLogin implements Initializable {
34 | @FXML
35 | private TextField txtUsername;
36 | @FXML
37 | private PasswordField txtPassword;
38 | @FXML
39 | private Text lblWelcome;
40 | @FXML
41 | private Text lblUserLogin;
42 | @FXML
43 | private Text lblUsername;
44 | @FXML
45 | private Text lblPassword;
46 | @FXML
47 | private Button btnLogin;
48 | @FXML
49 | private Text lblRudyCom;
50 | @FXML
51 | private Label lblClose;
52 | Stage stage;
53 | /**
54 | * Initializes the controller class.
55 | * @param url
56 | * @param rb
57 | */
58 | @Override
59 | public void initialize(URL url, ResourceBundle rb) {
60 | Platform.runLater(() -> {
61 | new FadeInRightTransition(lblUserLogin).play();
62 | new FadeInLeftTransition(lblWelcome).play();
63 | new FadeInLeftTransition1(lblPassword).play();
64 | new FadeInLeftTransition1(lblUsername).play();
65 | new FadeInLeftTransition1(txtUsername).play();
66 | new FadeInLeftTransition1(txtPassword).play();
67 | new FadeInRightTransition(btnLogin).play();
68 | lblClose.setOnMouseClicked((MouseEvent event) -> {
69 | Platform.exit();
70 | System.exit(0);
71 | });
72 | });
73 | // TODO
74 | }
75 |
76 | @FXML
77 | private void aksiLogin(ActionEvent event) {
78 | if (txtUsername.getText().equals("herudi") && txtPassword.getText().equals("herudi")) {
79 | config2 c = new config2();
80 | c.newStage(stage, lblClose, "/herudi/view/formMenu.fxml", "Test App", true, StageStyle.UNDECORATED, false);
81 | }else{
82 | config2.dialog(Alert.AlertType.ERROR, "Error Login, Please Chek Username And Password");
83 | }
84 | }
85 |
86 | }
87 |
--------------------------------------------------------------------------------
/src/herudi/controller/controllSplash.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package herudi.controller;
7 |
8 | import herudi.animations.FadeInLeftTransition;
9 | import herudi.animations.FadeInRightTransition;
10 | import herudi.animations.FadeInTransition;
11 | import herudi.config.config;
12 | import herudi.config.config2;
13 | import java.net.URL;
14 | import java.util.ResourceBundle;
15 | import javafx.application.Platform;
16 | import javafx.concurrent.Service;
17 | import javafx.concurrent.Task;
18 | import javafx.concurrent.WorkerStateEvent;
19 | import javafx.fxml.FXML;
20 | import javafx.fxml.Initializable;
21 | import javafx.scene.control.Label;
22 | import javafx.scene.image.ImageView;
23 | import javafx.scene.input.MouseEvent;
24 | import javafx.scene.layout.VBox;
25 | import javafx.scene.text.Text;
26 | import javafx.stage.Stage;
27 | import javafx.stage.StageStyle;
28 | import org.springframework.context.ApplicationContext;
29 |
30 | /**
31 | * FXML Controller class
32 | *
33 | * @author Herudi
34 | */
35 | public class controllSplash implements Initializable {
36 | @FXML
37 | private Text lblWelcome;
38 | @FXML
39 | private Text lblRudy;
40 | @FXML
41 | private VBox vboxBottom;
42 | @FXML
43 | private Label lblClose;
44 | Stage stage;
45 | @FXML
46 | private ImageView imgLoading;
47 | /**
48 | * Initializes the controller class.
49 | * @param url
50 | * @param rb
51 | */
52 | @Override
53 | public void initialize(URL url, ResourceBundle rb) {
54 | longStart();
55 | lblClose.setOnMouseClicked((MouseEvent event) -> {
56 | Platform.exit();
57 | System.exit(0);
58 | });
59 | // TODO
60 | }
61 |
62 | private void longStart() {
63 | Service service = new Service() {
64 | @Override
65 | protected Task createTask() {
66 | return new Task() {
67 | @Override
68 | protected ApplicationContext call() throws Exception {
69 | ApplicationContext appContex = config.getInstance().getApplicationContext();
70 | int max = appContex.getBeanDefinitionCount();
71 | updateProgress(0, max);
72 | for (int k = 0; k < max; k++) {
73 | Thread.sleep(50);
74 | updateProgress(k+1, max);
75 | }
76 | return appContex;
77 | }
78 | };
79 | }
80 | };
81 | service.start();
82 | service.setOnRunning((WorkerStateEvent event) -> {
83 | new FadeInLeftTransition(lblWelcome).play();
84 | new FadeInRightTransition(lblRudy).play();
85 | new FadeInTransition(vboxBottom).play();
86 | });
87 | service.setOnSucceeded((WorkerStateEvent event) -> {
88 | config2 config = new config2();
89 | config.newStage(stage, lblClose, "/herudi/view/login.fxml", "Sample Apps", true, StageStyle.UNDECORATED, false);
90 | });
91 | }
92 | }
93 |
--------------------------------------------------------------------------------
/src/herudi/controller/menu.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package herudi.controller;
7 |
8 | import herudi.animations.FadeInUpTransition;
9 | import herudi.config.config;
10 | import herudi.config.config2;
11 | import java.net.URL;
12 | import java.util.ResourceBundle;
13 | import javafx.application.Platform;
14 | import javafx.event.ActionEvent;
15 | import javafx.fxml.FXML;
16 | import javafx.fxml.Initializable;
17 | import javafx.geometry.Rectangle2D;
18 | import javafx.scene.control.Button;
19 | import javafx.scene.control.Label;
20 | import javafx.scene.control.ListView;
21 | import javafx.scene.input.MouseEvent;
22 | import javafx.scene.layout.AnchorPane;
23 | import javafx.stage.Screen;
24 | import javafx.stage.Stage;
25 | import javafx.stage.StageStyle;
26 |
27 | /**
28 | * FXML Controller class
29 | *
30 | * @author Herudi
31 | */
32 | public class menu implements Initializable {
33 | @FXML
34 | private Button close;
35 | @FXML
36 | private Button maximize;
37 | @FXML
38 | private Button minimize;
39 | @FXML
40 | private Button resize;
41 | @FXML
42 | private Button fullscreen;
43 | @FXML
44 | private Label title;
45 | Stage stage;
46 | Rectangle2D rec2;
47 | Double w,h;
48 | @FXML
49 | private ListView listMenu;
50 | @FXML
51 | private AnchorPane paneData;
52 | config2 con = new config2();
53 | @FXML
54 | private Button btnLogout;
55 |
56 | /**
57 | * Initializes the controller class.
58 | * @param url
59 | * @param rb
60 | */
61 | @Override
62 | public void initialize(URL url, ResourceBundle rb) {
63 | rec2 = Screen.getPrimary().getVisualBounds();
64 | w = 0.1;
65 | h = 0.1;
66 | listMenu.getItems().addAll(" Customer", " Product"," Micro Market"," Manufacturer"," Product Code"," Purchase Order");
67 | Platform.runLater(() -> {
68 | stage = (Stage) maximize.getScene().getWindow();
69 | stage.setMaximized(true);
70 | stage.setHeight(rec2.getHeight());
71 | maximize.getStyleClass().add("decoration-button-restore");
72 | resize.setVisible(false);
73 | listMenu.getSelectionModel().select(0);
74 | con.loadAnchorPane(paneData, "customer.fxml");
75 | listMenu.requestFocus();
76 | });
77 | }
78 |
79 | @FXML
80 | private void aksiMaximized(ActionEvent event) {
81 | stage = (Stage) maximize.getScene().getWindow();
82 | if (stage.isMaximized()) {
83 | if (w == rec2.getWidth() && h == rec2.getHeight()) {
84 | stage.setMaximized(false);
85 | stage.setHeight(600);
86 | stage.setWidth(800);
87 | stage.centerOnScreen();
88 | maximize.getStyleClass().remove("decoration-button-restore");
89 | resize.setVisible(true);
90 | }else{
91 | stage.setMaximized(false);
92 | maximize.getStyleClass().remove("decoration-button-restore");
93 | resize.setVisible(true);
94 | }
95 |
96 | }else{
97 | stage.setMaximized(true);
98 | stage.setHeight(rec2.getHeight());
99 | maximize.getStyleClass().add("decoration-button-restore");
100 | resize.setVisible(false);
101 | }
102 | }
103 |
104 | @FXML
105 | private void aksiminimize(ActionEvent event) {
106 | stage = (Stage) minimize.getScene().getWindow();
107 | if (stage.isMaximized()) {
108 | w = rec2.getWidth();
109 | h = rec2.getHeight();
110 | stage.setMaximized(false);
111 | stage.setHeight(h);
112 | stage.setWidth(w);
113 | stage.centerOnScreen();
114 | Platform.runLater(() -> {
115 | stage.setIconified(true);
116 | });
117 | }else{
118 | stage.setIconified(true);
119 | }
120 | }
121 |
122 | @FXML
123 | private void aksiResize(ActionEvent event) {
124 | }
125 |
126 | @FXML
127 | private void aksifullscreen(ActionEvent event) {
128 | stage = (Stage) fullscreen.getScene().getWindow();
129 | if (stage.isFullScreen()) {
130 | stage.setFullScreen(false);
131 | }else{
132 | stage.setFullScreen(true);
133 | }
134 | }
135 |
136 | @FXML
137 | private void aksiClose(ActionEvent event) {
138 | Platform.exit();
139 | System.exit(0);
140 | }
141 |
142 | @FXML
143 | private void aksiKlikListMenu(MouseEvent event) {
144 | switch(listMenu.getSelectionModel().getSelectedIndex()){
145 | case 0:{
146 | con.loadAnchorPane(paneData, "customer.fxml");
147 | }break;
148 | case 1:{
149 | con.loadAnchorPane(paneData, "product.fxml");
150 | }break;
151 | case 2:{
152 | con.loadAnchorPane(paneData, "micro.fxml");
153 | }break;
154 | }
155 | }
156 |
157 | @FXML
158 | private void aksiLogout(ActionEvent event) {
159 | config2 config = new config2();
160 | config.newStage2(stage, btnLogout, "/herudi/view/login.fxml", "Sample Apps", true, StageStyle.UNDECORATED, false);
161 | }
162 |
163 | }
164 |
--------------------------------------------------------------------------------
/src/herudi/css/buttonCircle.css:
--------------------------------------------------------------------------------
1 | /*
2 | To change this license header, choose License Headers in Project Properties.
3 | To change this template file, choose Tools | Templates
4 | and open the template in the editor.
5 | */
6 | /*
7 | Created on : Apr 12, 2015, 4:12:57 AM
8 | Author : Herudi
9 | */
10 |
11 | .button {
12 | -fx-background-radius: 100;
13 | -fx-border-radius: 100;
14 | -fx-border-width: 2;
15 | -fx-border-color : white;
16 | -fx-background-color: transparent;
17 | -fx-background-insets: 0;
18 | -fx-border-insets: 0;
19 | }
20 |
21 | .button:hover{
22 | -fx-background-color: #2c62b5;
23 | }
24 |
25 | .button:pressed, .button:default:hover:pressed
26 | {
27 | -fx-background-radius: 100;
28 | -fx-border-radius: 100;
29 | -fx-border-width: 2;
30 | -fx-border-color : white;
31 | -fx-background-color: transparent;
32 | -fx-background-insets: 0;
33 | -fx-border-insets: 0;
34 | }
35 |
36 | .button:focused
37 | {
38 | -fx-background-radius: 100;
39 | -fx-border-radius: 100;
40 | -fx-border-width: 2;
41 | -fx-border-color : white;
42 | -fx-background-color: transparent;
43 | -fx-background-insets: 0;
44 | -fx-border-insets: 0;
45 | }
46 |
--------------------------------------------------------------------------------
/src/herudi/css/buttonCircleBlack.css:
--------------------------------------------------------------------------------
1 | /*
2 | To change this license header, choose License Headers in Project Properties.
3 | To change this template file, choose Tools | Templates
4 | and open the template in the editor.
5 | */
6 | /*
7 | Created on : Apr 12, 2015, 4:12:57 AM
8 | Author : Herudi
9 | */
10 |
11 | .button {
12 | -fx-background-radius: 100;
13 | -fx-border-radius: 100;
14 | -fx-border-width: 2;
15 | -fx-border-color : #333333;
16 | -fx-background-color: transparent;
17 | -fx-background-insets: 0;
18 | -fx-border-insets: 0;
19 | }
20 |
21 | .button:hover{
22 | -fx-background-color: #cccccc;
23 | }
24 |
25 | .button:pressed, .button:default:hover:pressed{
26 | -fx-background-radius: 100;
27 | -fx-border-radius: 100;
28 | -fx-border-width: 2;
29 | -fx-border-color : black;
30 | -fx-background-color: transparent;
31 | -fx-background-insets: 0;
32 | -fx-border-insets: 0;
33 | }
34 |
35 | .button:focused
36 | {
37 | -fx-background-radius: 100;
38 | -fx-border-radius: 100;
39 | -fx-border-width: 2;
40 | -fx-border-color : black;
41 | -fx-background-color: transparent;
42 | -fx-background-insets: 0;
43 | -fx-border-insets: 0;
44 | }
45 |
--------------------------------------------------------------------------------
/src/herudi/css/listView.css:
--------------------------------------------------------------------------------
1 | .list-cell:filled:selected:focused, .list-cell:filled:selected {
2 | -fx-background-color: #426cad;
3 | -fx-text-fill: white;
4 | }
5 |
6 | .list-cell { /* <=== changed to even */
7 | -fx-background-color: #2b579a;
8 | -fx-text-fill: white;
9 | -fx-cell-size: 3.4em; /* 24 */
10 | -fx-font: 12px "Segoe UI Semibold";
11 | -fx-alignment: CENTER_LEFT;
12 | -fx-border-color:transparent;
13 | }
14 |
15 | .list-cell:filled:hover {
16 | -fx-background-color: #13418b;
17 | -fx-text-fill: white;
18 | }
19 |
20 | .list-view{
21 | -fx-background-color: #2b579a;
22 | -fx-border-insets: 0;
23 | -fx-background-insets: 0;
24 | }
25 |
26 | .scroll-bar .thumb{
27 | -fx-background-color: #cdcdcd;
28 | -fx-background-insets: 0;
29 | -fx-background-radius: 0;
30 | }
31 |
32 | .scroll-bar .thumb:hover {
33 | -fx-color: #dadada;
34 | }
35 |
36 | /* The following is not working. Maybe related to RT-10521*/
37 | .scroll-bar .thumb:pressed {
38 | -fx-background-color: #606060;
39 | }
40 |
41 | .scroll-bar .track {
42 | -fx-background-color: #f0f0f0;
43 | -fx-background-insets: 0;
44 | -fx-background-radius: 0;
45 | }
46 |
47 | .scroll-bar .track-background {
48 | -fx-background-color: #f0f0f0;
49 | -fx-background-insets: 0;
50 | }
51 |
52 | .scroll-bar .increment-button, .scroll-bar .decrement-button {
53 | -fx-background-color: #f0f0f0;
54 | -fx-background-insets: 0;
55 | -fx-background-radius: 0;
56 | -fx-padding: 0.25em; /* 3 */
57 | }
58 |
59 | .scroll-bar .increment-button:hover, .scroll-bar .decrement-button:hover {
60 | -fx-background-color: #dadada;
61 | }
62 |
63 | .scroll-bar .increment-button:pressed, .scroll-bar .decrement-button:pressed {
64 | -fx-background-color: #606060;
65 | }
66 |
67 | .scroll-bar:horizontal .increment-arrow {
68 | -fx-background-color: -fx-mark-highlight-color, -fx-mark-color;
69 | -fx-background-insets: 1 0 -1 0, 0;
70 | -fx-padding: 0.5em 0.333333em 0.0em 0.0em; /* 6 4 0 0 */
71 | -fx-shape: "M7.626,12.876L4.251,8.751H7.14L11,12.876L7.14,17H4.251L7.626,12.876z";
72 | }
73 |
74 | .scroll-bar:vertical .increment-arrow {
75 | -fx-background-color: -fx-mark-highlight-color, -fx-mark-color;
76 | -fx-background-insets: 1 0 -1 0, 0;
77 | -fx-padding: 0.333333em 0.5em 0.0em 0.0em; /* 4 6 0 0 */
78 | -fx-shape: "M8.124,13.625l4.125-3.375v2.889l-4.125,3.86L4,13.139V10.25L8.124,13.625z";
79 | }
80 |
81 | .scroll-bar .increment-button:pressed .increment-arrow {
82 | -fx-background-color: white, white;
83 | }
84 |
85 | .scroll-bar:horizontal .decrement-arrow {
86 | -fx-background-color: -fx-mark-highlight-color, -fx-mark-color;
87 | -fx-background-insets: 1 0 -1 0, 0;
88 | -fx-padding: 0.5em 0.333333em 0.0em 0.0em; /* 6 4 0 0 */
89 | -fx-shape: "M11,17H8.111l-3.86-4.124l3.86-4.125H11l-3.375,4.125L11,17z";
90 | }
91 |
92 | .scroll-bar:vertical .decrement-arrow {
93 | -fx-background-color: -fx-mark-highlight-color, -fx-mark-color;
94 | -fx-background-insets: 1 0 -1 0, 0;
95 | -fx-padding: 0.333333em 0.5em 0.0em 0.0em; /* 4 6 0 0 */
96 | -fx-shape: "M4,17v-2.889l4.124-3.86l4.125,3.86V17l-4.125-3.375L4,17z";
97 | }
98 |
99 | .scroll-bar .decrement-button:pressed .decrement-arrow {
100 | -fx-background-color: white, white;
101 | }
102 |
103 | .scroll-bar:disabled {
104 | -fx-opacity: 0.4;
105 | }
--------------------------------------------------------------------------------
/src/herudi/css/winDec.css:
--------------------------------------------------------------------------------
1 | /*
2 | To change this license header, choose License Headers in Project Properties.
3 | To change this template file, choose Tools | Templates
4 | and open the template in the editor.
5 | */
6 | /*
7 | Created on : Apr 11, 2015, 6:23:28 AM
8 | Author : Herudi
9 | */
10 |
11 | /*
12 | Document : Undecorator
13 | Created on : Jan 15, 2013, 8:42:25 AM
14 | Author : In-SideFX
15 | Description:
16 | Demo purpose
17 | */
18 |
19 | /*
20 | The Stage background.
21 | Currently a Rectangle node
22 | */
23 |
24 | .undecorator-background {
25 | -fx-fill:#ffffff;
26 | /* -fx-fill: radial-gradient(focus-angle 45deg, focus-distance 20%, center 25% 25%, radius 50%, reflect, #eeeeee88, #55555588 75%, dimgray);*/
27 | -fx-arc-width:5;
28 | -fx-arc-height:5;
29 | }
30 | /*
31 | The title bar label
32 | */
33 | .undecorator-label-titlebar{
34 | /* -fx-text-fill: #000000; if defined here, so way to override it in external apps*/
35 | }
36 | /*
37 | * Menu button
38 | */
39 | .decoration-button-menu{
40 | -fx-background-radius: 0;
41 | -fx-border-style: null;
42 | -fx-background-color: null;
43 | -fx-background-image:url("../img/menu.png");
44 | -fx-background-repeat:no-repeat;
45 | }
46 |
47 | .decoration-button-menu:hover{
48 | -fx-background-color: null;
49 | -fx-background-image:url("../img/menu-hover.png");
50 | -fx-background-repeat:no-repeat;
51 | }
52 | /*
53 | * Minimize button
54 | */
55 | .decoration-button-minimize{
56 | -fx-background-radius: 0;
57 | -fx-border-style: null;
58 | -fx-background-color: null;
59 | -fx-background-image:url("../img/minimize.png");
60 | -fx-background-repeat:no-repeat;
61 | }
62 |
63 | .decoration-button-minimize:hover{
64 | -fx-background-color: null;
65 | -fx-background-image:url("../img/minimize-hover.png");
66 | -fx-background-repeat:no-repeat;
67 | }
68 | /*
69 | * Maximize button
70 | */
71 | .decoration-button-maximize{
72 | -fx-background-radius: 0;
73 | -fx-border-style: null;
74 | -fx-background-color: null;
75 | -fx-background-image:url("../img/maximize.png");
76 | -fx-background-repeat:no-repeat;
77 | }
78 | .decoration-button-maximize:hover{
79 | -fx-background-color: null;
80 | -fx-background-image:url("../img/maximize-hover.png");
81 | -fx-background-repeat:no-repeat;
82 | }
83 | .decoration-button-restore{
84 | -fx-background-radius: 0;
85 | -fx-border-style: null;
86 | -fx-background-color: null;
87 | -fx-background-image:url("../img/restore.png");
88 | -fx-background-repeat:no-repeat;
89 | }
90 | .decoration-button-restore:hover{
91 | -fx-background-color: null;
92 | -fx-background-image:url("../img/restore-hover.png");
93 | -fx-background-repeat:no-repeat;
94 | }
95 | /*
96 | * Close button
97 | */
98 | .decoration-button-close{
99 | -fx-background-radius: 0;
100 | -fx-border-style: null;
101 | -fx-background-color: null;
102 | -fx-background-image:url("../img/close.png");
103 | -fx-background-repeat:no-repeat;
104 | }
105 | .decoration-button-close:hover{
106 | -fx-background-color: null;
107 | -fx-background-image:url("../img/close-hover.png");
108 | -fx-background-repeat:no-repeat;
109 | }
110 | /*
111 | * Fullscreen button
112 | */
113 | .decoration-button-fullscreen{
114 | -fx-background-radius: 0;
115 | -fx-border-style: null;
116 | -fx-background-color: null;
117 | -fx-background-image:url("../img/fullscreen.png");
118 | -fx-background-repeat:no-repeat;
119 | }
120 | .decoration-button-fullscreen:hover{
121 | -fx-background-color: null;
122 | -fx-background-image:url("../img/fullscreen-hover.png");
123 | -fx-background-repeat:no-repeat;
124 | }
125 | .decoration-button-unfullscreen{
126 | -fx-background-radius: 0;
127 | -fx-border-style: null;
128 | -fx-background-color: null;
129 | -fx-background-image:url("../img/unfullscreen.png");
130 | -fx-background-repeat:no-repeat;
131 | }
132 | .decoration-button-unfullscreen:hover{
133 | -fx-background-color: null;
134 | -fx-background-image:url("../img/unfullscreen-hover.png");
135 | -fx-background-repeat:no-repeat;
136 | }
137 | /*
138 | * Resize button
139 | */
140 | .decoration-button-resize{
141 | -fx-background-radius: 0;
142 | -fx-border-style: null;
143 | -fx-background-color: null;
144 | -fx-background-image:url("../img/resizeSE.png");
145 | -fx-background-repeat:no-repeat;
146 | }
147 |
148 |
--------------------------------------------------------------------------------
/src/herudi/img/294.GIF:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/294.GIF
--------------------------------------------------------------------------------
/src/herudi/img/301.GIF:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/301.GIF
--------------------------------------------------------------------------------
/src/herudi/img/arrowLeft.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/arrowLeft.png
--------------------------------------------------------------------------------
/src/herudi/img/arrowLeftBlack.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/arrowLeftBlack.png
--------------------------------------------------------------------------------
/src/herudi/img/close-hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/close-hover.png
--------------------------------------------------------------------------------
/src/herudi/img/close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/close.png
--------------------------------------------------------------------------------
/src/herudi/img/fullscreen-hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/fullscreen-hover.png
--------------------------------------------------------------------------------
/src/herudi/img/fullscreen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/fullscreen.png
--------------------------------------------------------------------------------
/src/herudi/img/maximize-hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/maximize-hover.png
--------------------------------------------------------------------------------
/src/herudi/img/maximize.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/maximize.png
--------------------------------------------------------------------------------
/src/herudi/img/menu-hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/menu-hover.png
--------------------------------------------------------------------------------
/src/herudi/img/menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/menu.png
--------------------------------------------------------------------------------
/src/herudi/img/minimize-hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/minimize-hover.png
--------------------------------------------------------------------------------
/src/herudi/img/minimize.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/minimize.png
--------------------------------------------------------------------------------
/src/herudi/img/progress_ring.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/progress_ring.gif
--------------------------------------------------------------------------------
/src/herudi/img/resizeSE.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/resizeSE.png
--------------------------------------------------------------------------------
/src/herudi/img/restore-hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/restore-hover.png
--------------------------------------------------------------------------------
/src/herudi/img/restore.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/restore.png
--------------------------------------------------------------------------------
/src/herudi/img/tabel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/tabel.png
--------------------------------------------------------------------------------
/src/herudi/img/unfullscreen-hover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/unfullscreen-hover.png
--------------------------------------------------------------------------------
/src/herudi/img/unfullscreen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/herudi/JavaFX-MetroUI/1d8494facb745ce1461ea228f3c6e0db1e36f9ec/src/herudi/img/unfullscreen.png
--------------------------------------------------------------------------------
/src/herudi/implement/configSessionFactory.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 |
7 | package herudi.implement;
8 |
9 | import org.hibernate.HibernateException;
10 | import org.hibernate.Session;
11 | import org.hibernate.SessionFactory;
12 | import org.hibernate.Transaction;
13 | import org.springframework.beans.factory.annotation.Autowired;
14 | import org.springframework.stereotype.Repository;
15 |
16 | @Repository
17 | public class configSessionFactory {
18 | @Autowired
19 | SessionFactory sf;
20 |
21 | public SessionFactory getSf() {
22 | return sf;
23 | }
24 |
25 | public void setSf(SessionFactory sf) {
26 | this.sf = sf;
27 | }
28 |
29 | public void create(Object o) {
30 | Session session = this.sf.openSession();
31 | Transaction tx = session.beginTransaction();
32 | try {
33 | session.persist(o);
34 | } catch (HibernateException e) {
35 | System.out.println("Gagal Create");
36 | }
37 | tx.commit();
38 | session.close();
39 | }
40 |
41 | public void update(Object o) {
42 | Session session = this.sf.openSession();
43 | Transaction tx = session.beginTransaction();
44 | try {
45 | session.merge(o);
46 | } catch (HibernateException e) {
47 | System.out.println("Gagal Update");
48 | }
49 | tx.commit();
50 | session.close();
51 | }
52 |
53 | public void delete(Object o) {
54 | Session session = this.sf.openSession();
55 | Transaction tx = session.beginTransaction();
56 | try {
57 | session.delete(o);
58 | } catch (HibernateException e) {
59 | System.out.println("Gagal Delete");
60 | }
61 |
62 | tx.commit();
63 | session.close();
64 | }
65 |
66 | }
67 |
--------------------------------------------------------------------------------
/src/herudi/implement/implCustomer.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package herudi.implement;
7 |
8 | import herudi.config.config2;
9 | import herudi.interfaces.interCustomer;
10 | import herudi.model.Customer;
11 | import herudi.model.DiscountCode;
12 | import herudi.model.MicroMarket;
13 | import java.util.List;
14 | import javafx.collections.FXCollections;
15 | import javafx.collections.ObservableList;
16 | import javafx.scene.control.Alert;
17 | import org.hibernate.Criteria;
18 | import org.hibernate.HibernateException;
19 | import org.hibernate.Query;
20 | import org.hibernate.criterion.Projections;
21 | import org.springframework.beans.factory.annotation.Autowired;
22 | import org.springframework.stereotype.Repository;
23 |
24 | @Repository
25 | public class implCustomer implements interCustomer {
26 | @Autowired
27 | configSessionFactory csf;
28 |
29 | @Override
30 | public void saveOrUpdate(Customer c) {
31 | if (c.getCustomerId()==null) {
32 | csf.create(c);
33 | }else{
34 | csf.update(c);
35 | }
36 | }
37 |
38 | @Override
39 | public Integer auto() {
40 | Integer ret = null;
41 | try {
42 | Query q = csf.getSf().openSession().createQuery("select max(t.customerId) from Customer t");
43 | Object o = q.uniqueResult();
44 | ret = Integer.parseInt(o.toString())+1;
45 | } catch (HibernateException | NumberFormatException e) {
46 | }
47 | return ret;
48 | }
49 |
50 | @Override
51 | public List selectCode() {
52 | Criteria cr = csf.getSf().openSession().createCriteria(DiscountCode.class);
53 | cr.setProjection(Projections.property("discountCode"));
54 | return cr.list();
55 | }
56 |
57 | @Override
58 | public List selectZip() {
59 | Criteria cr = csf.getSf().openSession().createCriteria(MicroMarket.class);
60 | cr.setProjection(Projections.property("zipCode"));
61 | return cr.list();
62 | }
63 |
64 | @Override
65 | public void delete(Customer c) {
66 | try {
67 | Query q = csf.getSf().openSession().createQuery("delete from Customer where customerId = :customerId");
68 | q.setParameter("customerId", c.getCustomerId());
69 | q.executeUpdate();
70 | config2.dialog(Alert.AlertType.INFORMATION, "Success Delete");
71 | } catch (Exception e) {
72 | config2.dialog(Alert.AlertType.INFORMATION, "Sorry, Can't Delete This Record");
73 | }
74 | }
75 |
76 | @Override
77 | public List select() {
78 | return csf.getSf().openSession().createCriteria(Customer.class).list();
79 | }
80 | }
81 |
--------------------------------------------------------------------------------
/src/herudi/implement/implMicro.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package herudi.implement;
7 |
8 | import herudi.config.config2;
9 | import herudi.interfaces.interMicro;
10 | import herudi.model.MicroMarket;
11 | import herudi.model.Product;
12 | import java.util.List;
13 | import javafx.scene.control.Alert;
14 | import org.hibernate.HibernateException;
15 | import org.hibernate.Query;
16 | import org.springframework.beans.factory.annotation.Autowired;
17 | import org.springframework.stereotype.Repository;
18 |
19 | @Repository
20 | public class implMicro implements interMicro {
21 | @Autowired
22 | configSessionFactory csf;
23 |
24 | @Override
25 | public List selectData() {
26 | return csf.getSf().openSession().createCriteria(MicroMarket.class).list();
27 | }
28 |
29 | @Override
30 | public void saveOrUpdate(MicroMarket m) {
31 | if (m.getZipCode()==null) {
32 | csf.create(m);
33 | }else{
34 | csf.update(m);
35 | }
36 | }
37 |
38 | @Override
39 | public void delete(MicroMarket m) {
40 | try {
41 | Query q = csf.getSf().openSession().createQuery("delete from MicroMarket where zipCode = :zipCode");
42 | q.setParameter("zipCode", m.getZipCode());
43 | q.executeUpdate();
44 | config2.dialog(Alert.AlertType.INFORMATION, "Success Delete");
45 | } catch (Exception e) {
46 | config2.dialog(Alert.AlertType.INFORMATION, "Sorry, Can't Delete This Record");
47 | }
48 | }
49 |
50 | @Override
51 | public Integer chekZip(String a) {
52 | Integer ret = null;
53 | try {
54 | Query q = csf.getSf().openSession().createQuery("select count(*) from MicroMarket where zipCode = '"+a+"'");
55 | Object o = q.uniqueResult();
56 | ret = Integer.parseInt(o.toString());
57 | } catch (HibernateException | NumberFormatException e) {
58 | }
59 | return ret;
60 | }
61 |
62 | }
63 |
--------------------------------------------------------------------------------
/src/herudi/implement/implProduct.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package herudi.implement;
7 |
8 | import herudi.config.config2;
9 | import herudi.interfaces.interProduct;
10 | import herudi.model.Manufacturer;
11 | import herudi.model.Product;
12 | import herudi.model.ProductCode;
13 | import java.util.List;
14 | import javafx.scene.control.Alert;
15 | import org.hibernate.Criteria;
16 | import org.hibernate.HibernateException;
17 | import org.hibernate.Query;
18 | import org.hibernate.criterion.Projections;
19 | import org.springframework.beans.factory.annotation.Autowired;
20 | import org.springframework.stereotype.Repository;
21 |
22 | @Repository
23 | public class implProduct implements interProduct {
24 | @Autowired
25 | configSessionFactory csf;
26 |
27 | @Override
28 | public List selectData() {
29 | return csf.getSf().openSession().createCriteria(Product.class).list();
30 | }
31 |
32 | @Override
33 | public void saveOrUpdate(Product p) {
34 | if (p.getProductId()==null) {
35 | csf.create(p);
36 | }else{
37 | csf.update(p);
38 | }
39 | }
40 |
41 | @Override
42 | public void delete(Product p) {
43 | try {
44 | Query q = csf.getSf().openSession().createQuery("delete from Product where productId = :productId");
45 | q.setParameter("productId", p.getProductId());
46 | q.executeUpdate();
47 | config2.dialog(Alert.AlertType.INFORMATION, "Success Delete");
48 | } catch (Exception e) {
49 | config2.dialog(Alert.AlertType.INFORMATION, "Sorry, Can't Delete This Record");
50 | }
51 | }
52 |
53 | @Override
54 | public Integer auto() {
55 | Integer ret = null;
56 | try {
57 | Query q = csf.getSf().openSession().createQuery("select max(t.productId) from Product t");
58 | Object o = q.uniqueResult();
59 | ret = Integer.parseInt(o.toString())+1;
60 | } catch (HibernateException | NumberFormatException e) {
61 | }
62 | return ret;
63 | }
64 |
65 | @Override
66 | public List selectManufacturerID() {
67 | Criteria cr = csf.getSf().openSession().createCriteria(Manufacturer.class);
68 | cr.setProjection(Projections.property("manufacturerId"));
69 | return cr.list();
70 | }
71 |
72 | @Override
73 | public List selectProductCode() {
74 | Criteria cr = csf.getSf().openSession().createCriteria(ProductCode.class);
75 | cr.setProjection(Projections.property("prodCode"));
76 | return cr.list();
77 | }
78 |
79 | }
80 |
--------------------------------------------------------------------------------
/src/herudi/interfaces/interCustomer.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package herudi.interfaces;
7 |
8 | import herudi.model.Customer;
9 | import herudi.model.DiscountCode;
10 | import herudi.model.MicroMarket;
11 | import java.util.List;
12 | import javafx.collections.ObservableList;
13 |
14 | /**
15 | *
16 | * @author Herudi
17 | */
18 | public interface interCustomer {
19 | List select();
20 | void saveOrUpdate(Customer c);
21 | void delete(Customer c);
22 | Integer auto();
23 | List selectCode();
24 | List selectZip();
25 | }
26 |
--------------------------------------------------------------------------------
/src/herudi/interfaces/interMicro.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package herudi.interfaces;
7 |
8 | import herudi.model.MicroMarket;
9 | import java.util.List;
10 |
11 | /**
12 | *
13 | * @author Herudi
14 | */
15 | public interface interMicro {
16 | List selectData();
17 | void saveOrUpdate(MicroMarket m);
18 | void delete(MicroMarket m);
19 | Integer chekZip(String a);
20 | }
21 |
--------------------------------------------------------------------------------
/src/herudi/interfaces/interProduct.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package herudi.interfaces;
7 |
8 | import herudi.model.Manufacturer;
9 | import herudi.model.Product;
10 | import herudi.model.ProductCode;
11 | import java.util.List;
12 |
13 | /**
14 | *
15 | * @author Herudi
16 | */
17 | public interface interProduct {
18 | List selectData();
19 | void saveOrUpdate(Product p);
20 | void delete(Product p);
21 | Integer auto();
22 | List selectManufacturerID();
23 | List selectProductCode();
24 | }
25 |
--------------------------------------------------------------------------------
/src/herudi/menu.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package herudi;
7 |
8 |
9 | import javafx.application.Application;
10 | import javafx.fxml.FXMLLoader;
11 | import javafx.scene.Parent;
12 | import javafx.scene.Scene;
13 | import javafx.stage.Stage;
14 | import javafx.stage.StageStyle;
15 |
16 | /**
17 | *
18 | * @author Herudi
19 | */
20 | public class menu extends Application {
21 |
22 | @Override
23 | public void start(Stage stage) throws Exception {
24 | Parent root = FXMLLoader.load(getClass().getResource("/herudi/view/formMenu.fxml"));
25 | Scene scene = new Scene(root);
26 | stage.setScene(scene);
27 | stage.initStyle(StageStyle.UNDECORATED);
28 | stage.show();
29 | }
30 |
31 | /**
32 | * @param args the command line arguments
33 | */
34 | public static void main(String[] args) {
35 | launch(args);
36 | }
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/src/herudi/model/Customer.hbm.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/src/herudi/model/Customer.java:
--------------------------------------------------------------------------------
1 | package herudi.model;
2 | // Generated Apr 9, 2015 6:12:42 PM by Hibernate Tools 4.3.1
3 |
4 |
5 |
6 | /**
7 | * Customer generated by hbm2java
8 | */
9 | public class Customer implements java.io.Serializable {
10 |
11 |
12 | private Integer customerId;
13 | private String discountCode;
14 | private String zip;
15 | private String name;
16 | private String addressline1;
17 | private String addressline2;
18 | private String city;
19 | private String state;
20 | private String phone;
21 | private String fax;
22 | private String email;
23 | private Integer creditLimit;
24 |
25 | public Customer() {
26 | }
27 |
28 | public Customer(Integer customerId) {
29 | this.customerId = customerId;
30 | }
31 |
32 | public Customer(Integer customerId, String discountCode, String zip) {
33 | this.customerId = customerId;
34 | this.discountCode = discountCode;
35 | this.zip = zip;
36 | }
37 | public Customer(Integer customerId, String discountCode, String zip, String name, String addressline1, String addressline2, String city, String state, String phone, String fax, String email, Integer creditLimit) {
38 | this.customerId = customerId;
39 | this.discountCode = discountCode;
40 | this.zip = zip;
41 | this.name = name;
42 | this.addressline1 = addressline1;
43 | this.addressline2 = addressline2;
44 | this.city = city;
45 | this.state = state;
46 | this.phone = phone;
47 | this.fax = fax;
48 | this.email = email;
49 | this.creditLimit = creditLimit;
50 | }
51 |
52 | public Integer getCustomerId() {
53 | return this.customerId;
54 | }
55 |
56 | public void setCustomerId(Integer customerId) {
57 | this.customerId = customerId;
58 | }
59 | public String getDiscountCode() {
60 | return this.discountCode;
61 | }
62 |
63 | public void setDiscountCode(String discountCode) {
64 | this.discountCode = discountCode;
65 | }
66 | public String getZip() {
67 | return this.zip;
68 | }
69 |
70 | public void setZip(String zip) {
71 | this.zip = zip;
72 | }
73 | public String getName() {
74 | return this.name;
75 | }
76 |
77 | public void setName(String name) {
78 | this.name = name;
79 | }
80 | public String getAddressline1() {
81 | return this.addressline1;
82 | }
83 |
84 | public void setAddressline1(String addressline1) {
85 | this.addressline1 = addressline1;
86 | }
87 | public String getAddressline2() {
88 | return this.addressline2;
89 | }
90 |
91 | public void setAddressline2(String addressline2) {
92 | this.addressline2 = addressline2;
93 | }
94 | public String getCity() {
95 | return this.city;
96 | }
97 |
98 | public void setCity(String city) {
99 | this.city = city;
100 | }
101 | public String getState() {
102 | return this.state;
103 | }
104 |
105 | public void setState(String state) {
106 | this.state = state;
107 | }
108 | public String getPhone() {
109 | return this.phone;
110 | }
111 |
112 | public void setPhone(String phone) {
113 | this.phone = phone;
114 | }
115 | public String getFax() {
116 | return this.fax;
117 | }
118 |
119 | public void setFax(String fax) {
120 | this.fax = fax;
121 | }
122 | public String getEmail() {
123 | return this.email;
124 | }
125 |
126 | public void setEmail(String email) {
127 | this.email = email;
128 | }
129 | public Integer getCreditLimit() {
130 | return this.creditLimit;
131 | }
132 |
133 | public void setCreditLimit(Integer creditLimit) {
134 | this.creditLimit = creditLimit;
135 | }
136 |
137 |
138 |
139 |
140 | }
141 |
142 |
143 |
--------------------------------------------------------------------------------
/src/herudi/model/DiscountCode.hbm.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/herudi/model/DiscountCode.java:
--------------------------------------------------------------------------------
1 | package herudi.model;
2 | // Generated Apr 9, 2015 6:12:42 PM by Hibernate Tools 4.3.1
3 |
4 |
5 | import java.math.BigDecimal;
6 |
7 | /**
8 | * DiscountCode generated by hbm2java
9 | */
10 | public class DiscountCode implements java.io.Serializable {
11 |
12 |
13 | private char discountCode;
14 | private BigDecimal rate;
15 |
16 | public DiscountCode() {
17 | }
18 |
19 |
20 | public DiscountCode(char discountCode) {
21 | this.discountCode = discountCode;
22 | }
23 | public DiscountCode(char discountCode, BigDecimal rate) {
24 | this.discountCode = discountCode;
25 | this.rate = rate;
26 | }
27 |
28 | public char getDiscountCode() {
29 | return this.discountCode;
30 | }
31 |
32 | public void setDiscountCode(char discountCode) {
33 | this.discountCode = discountCode;
34 | }
35 | public BigDecimal getRate() {
36 | return this.rate;
37 | }
38 |
39 | public void setRate(BigDecimal rate) {
40 | this.rate = rate;
41 | }
42 |
43 |
44 |
45 |
46 | }
47 |
48 |
49 |
--------------------------------------------------------------------------------
/src/herudi/model/Manufacturer.hbm.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/src/herudi/model/Manufacturer.java:
--------------------------------------------------------------------------------
1 | package herudi.model;
2 | // Generated Apr 9, 2015 6:12:42 PM by Hibernate Tools 4.3.1
3 |
4 |
5 |
6 | /**
7 | * Manufacturer generated by hbm2java
8 | */
9 | public class Manufacturer implements java.io.Serializable {
10 |
11 |
12 | private int manufacturerId;
13 | private String name;
14 | private String addressline1;
15 | private String addressline2;
16 | private String city;
17 | private String state;
18 | private String zip;
19 | private String phone;
20 | private String fax;
21 | private String email;
22 | private String rep;
23 |
24 | public Manufacturer() {
25 | }
26 |
27 |
28 | public Manufacturer(int manufacturerId) {
29 | this.manufacturerId = manufacturerId;
30 | }
31 | public Manufacturer(int manufacturerId, String name, String addressline1, String addressline2, String city, String state, String zip, String phone, String fax, String email, String rep) {
32 | this.manufacturerId = manufacturerId;
33 | this.name = name;
34 | this.addressline1 = addressline1;
35 | this.addressline2 = addressline2;
36 | this.city = city;
37 | this.state = state;
38 | this.zip = zip;
39 | this.phone = phone;
40 | this.fax = fax;
41 | this.email = email;
42 | this.rep = rep;
43 | }
44 |
45 | public int getManufacturerId() {
46 | return this.manufacturerId;
47 | }
48 |
49 | public void setManufacturerId(int manufacturerId) {
50 | this.manufacturerId = manufacturerId;
51 | }
52 | public String getName() {
53 | return this.name;
54 | }
55 |
56 | public void setName(String name) {
57 | this.name = name;
58 | }
59 | public String getAddressline1() {
60 | return this.addressline1;
61 | }
62 |
63 | public void setAddressline1(String addressline1) {
64 | this.addressline1 = addressline1;
65 | }
66 | public String getAddressline2() {
67 | return this.addressline2;
68 | }
69 |
70 | public void setAddressline2(String addressline2) {
71 | this.addressline2 = addressline2;
72 | }
73 | public String getCity() {
74 | return this.city;
75 | }
76 |
77 | public void setCity(String city) {
78 | this.city = city;
79 | }
80 | public String getState() {
81 | return this.state;
82 | }
83 |
84 | public void setState(String state) {
85 | this.state = state;
86 | }
87 | public String getZip() {
88 | return this.zip;
89 | }
90 |
91 | public void setZip(String zip) {
92 | this.zip = zip;
93 | }
94 | public String getPhone() {
95 | return this.phone;
96 | }
97 |
98 | public void setPhone(String phone) {
99 | this.phone = phone;
100 | }
101 | public String getFax() {
102 | return this.fax;
103 | }
104 |
105 | public void setFax(String fax) {
106 | this.fax = fax;
107 | }
108 | public String getEmail() {
109 | return this.email;
110 | }
111 |
112 | public void setEmail(String email) {
113 | this.email = email;
114 | }
115 | public String getRep() {
116 | return this.rep;
117 | }
118 |
119 | public void setRep(String rep) {
120 | this.rep = rep;
121 | }
122 |
123 |
124 |
125 |
126 | }
127 |
128 |
129 |
--------------------------------------------------------------------------------
/src/herudi/model/MicroMarket.hbm.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/src/herudi/model/MicroMarket.java:
--------------------------------------------------------------------------------
1 | package herudi.model;
2 | // Generated Apr 9, 2015 6:12:42 PM by Hibernate Tools 4.3.1
3 |
4 |
5 |
6 | /**
7 | * MicroMarket generated by hbm2java
8 | */
9 | public class MicroMarket implements java.io.Serializable {
10 |
11 |
12 | private String zipCode;
13 | private Double radius;
14 | private Double areaLength;
15 | private Double areaWidth;
16 |
17 | public MicroMarket() {
18 | }
19 |
20 |
21 | public MicroMarket(String zipCode) {
22 | this.zipCode = zipCode;
23 | }
24 | public MicroMarket(String zipCode, Double radius, Double areaLength, Double areaWidth) {
25 | this.zipCode = zipCode;
26 | this.radius = radius;
27 | this.areaLength = areaLength;
28 | this.areaWidth = areaWidth;
29 | }
30 |
31 | public String getZipCode() {
32 | return this.zipCode;
33 | }
34 |
35 | public void setZipCode(String zipCode) {
36 | this.zipCode = zipCode;
37 | }
38 | public Double getRadius() {
39 | return this.radius;
40 | }
41 |
42 | public void setRadius(Double radius) {
43 | this.radius = radius;
44 | }
45 | public Double getAreaLength() {
46 | return this.areaLength;
47 | }
48 |
49 | public void setAreaLength(Double areaLength) {
50 | this.areaLength = areaLength;
51 | }
52 | public Double getAreaWidth() {
53 | return this.areaWidth;
54 | }
55 |
56 | public void setAreaWidth(Double areaWidth) {
57 | this.areaWidth = areaWidth;
58 | }
59 |
60 |
61 |
62 |
63 | }
64 |
65 |
66 |
--------------------------------------------------------------------------------
/src/herudi/model/Product.hbm.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/src/herudi/model/Product.java:
--------------------------------------------------------------------------------
1 | package herudi.model;
2 | // Generated Apr 9, 2015 6:12:42 PM by Hibernate Tools 4.3.1
3 |
4 |
5 | import java.math.BigDecimal;
6 | import java.text.NumberFormat;
7 |
8 | /**
9 | * Product generated by hbm2java
10 | */
11 | public class Product implements java.io.Serializable {
12 |
13 |
14 | private Integer productId;
15 | private int manufacturerId;
16 | private String productCode;
17 | private BigDecimal purchaseCost;
18 | private Integer quantityOnHand;
19 | private BigDecimal markup;
20 | private String available;
21 | private String description;
22 | private String formatCost;
23 |
24 | public Product() {
25 | }
26 |
27 |
28 | public Product(Integer productId, int manufacturerId, String productCode) {
29 | this.productId = productId;
30 | this.manufacturerId = manufacturerId;
31 | this.productCode = productCode;
32 | }
33 |
34 | public Product(Integer productId, int manufacturerId, String productCode, BigDecimal purchaseCost, Integer quantityOnHand, BigDecimal markup, String available, String description, String fPurchaseCost) {
35 | this.productId = productId;
36 | this.manufacturerId = manufacturerId;
37 | this.productCode = productCode;
38 | this.purchaseCost = purchaseCost;
39 | this.quantityOnHand = quantityOnHand;
40 | this.markup = markup;
41 | this.available = available;
42 | this.description = description;
43 | this.formatCost = fPurchaseCost;
44 | }
45 |
46 |
47 | public Integer getProductId() {
48 | return this.productId;
49 | }
50 |
51 | public void setProductId(Integer productId) {
52 | this.productId = productId;
53 | }
54 | public int getManufacturerId() {
55 | return this.manufacturerId;
56 | }
57 |
58 | public void setManufacturerId(int manufacturerId) {
59 | this.manufacturerId = manufacturerId;
60 | }
61 | public String getProductCode() {
62 | return this.productCode;
63 | }
64 |
65 | public void setProductCode(String productCode) {
66 | this.productCode = productCode;
67 | }
68 | public BigDecimal getPurchaseCost() {
69 | return this.purchaseCost;
70 | }
71 |
72 | public void setPurchaseCost(BigDecimal purchaseCost) {
73 | this.purchaseCost = purchaseCost;
74 | }
75 | public Integer getQuantityOnHand() {
76 | return this.quantityOnHand;
77 | }
78 |
79 | public void setQuantityOnHand(Integer quantityOnHand) {
80 | this.quantityOnHand = quantityOnHand;
81 | }
82 | public BigDecimal getMarkup() {
83 | return this.markup;
84 | }
85 |
86 | public void setMarkup(BigDecimal markup) {
87 | this.markup = markup;
88 | }
89 | public String getAvailable() {
90 | return this.available;
91 | }
92 |
93 | public void setAvailable(String available) {
94 | this.available = available;
95 | }
96 | public String getDescription() {
97 | return this.description;
98 | }
99 |
100 | public void setDescription(String description) {
101 | this.description = description;
102 | }
103 |
104 | public String getFormatCost() {
105 | String format = "$ "+getPurchaseCost().toString();
106 | return format;
107 | }
108 |
109 | public void setFormatCost(String fPurchaseCost) {
110 | this.formatCost = fPurchaseCost;
111 | }
112 |
113 | }
114 |
115 |
116 |
--------------------------------------------------------------------------------
/src/herudi/model/ProductCode.hbm.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/herudi/model/ProductCode.java:
--------------------------------------------------------------------------------
1 | package herudi.model;
2 | // Generated Apr 9, 2015 6:12:42 PM by Hibernate Tools 4.3.1
3 |
4 |
5 |
6 | /**
7 | * ProductCode generated by hbm2java
8 | */
9 | public class ProductCode implements java.io.Serializable {
10 |
11 |
12 | private String prodCode;
13 | private char discountCode;
14 | private String description;
15 |
16 | public ProductCode() {
17 | }
18 |
19 |
20 | public ProductCode(String prodCode, char discountCode) {
21 | this.prodCode = prodCode;
22 | this.discountCode = discountCode;
23 | }
24 | public ProductCode(String prodCode, char discountCode, String description) {
25 | this.prodCode = prodCode;
26 | this.discountCode = discountCode;
27 | this.description = description;
28 | }
29 |
30 | public String getProdCode() {
31 | return this.prodCode;
32 | }
33 |
34 | public void setProdCode(String prodCode) {
35 | this.prodCode = prodCode;
36 | }
37 | public char getDiscountCode() {
38 | return this.discountCode;
39 | }
40 |
41 | public void setDiscountCode(char discountCode) {
42 | this.discountCode = discountCode;
43 | }
44 | public String getDescription() {
45 | return this.description;
46 | }
47 |
48 | public void setDescription(String description) {
49 | this.description = description;
50 | }
51 |
52 |
53 |
54 |
55 | }
56 |
57 |
58 |
--------------------------------------------------------------------------------
/src/herudi/model/PurchaseOrder.hbm.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/src/herudi/model/PurchaseOrder.java:
--------------------------------------------------------------------------------
1 | package herudi.model;
2 | // Generated Apr 9, 2015 6:12:42 PM by Hibernate Tools 4.3.1
3 |
4 |
5 | import java.math.BigDecimal;
6 | import java.util.Date;
7 |
8 | /**
9 | * PurchaseOrder generated by hbm2java
10 | */
11 | public class PurchaseOrder implements java.io.Serializable {
12 |
13 |
14 | private int orderNum;
15 | private int customerId;
16 | private int productId;
17 | private Short quantity;
18 | private BigDecimal shippingCost;
19 | private Date salesDate;
20 | private Date shippingDate;
21 | private String freightCompany;
22 |
23 | public PurchaseOrder() {
24 | }
25 |
26 |
27 | public PurchaseOrder(int orderNum, int customerId, int productId) {
28 | this.orderNum = orderNum;
29 | this.customerId = customerId;
30 | this.productId = productId;
31 | }
32 | public PurchaseOrder(int orderNum, int customerId, int productId, Short quantity, BigDecimal shippingCost, Date salesDate, Date shippingDate, String freightCompany) {
33 | this.orderNum = orderNum;
34 | this.customerId = customerId;
35 | this.productId = productId;
36 | this.quantity = quantity;
37 | this.shippingCost = shippingCost;
38 | this.salesDate = salesDate;
39 | this.shippingDate = shippingDate;
40 | this.freightCompany = freightCompany;
41 | }
42 |
43 | public int getOrderNum() {
44 | return this.orderNum;
45 | }
46 |
47 | public void setOrderNum(int orderNum) {
48 | this.orderNum = orderNum;
49 | }
50 | public int getCustomerId() {
51 | return this.customerId;
52 | }
53 |
54 | public void setCustomerId(int customerId) {
55 | this.customerId = customerId;
56 | }
57 | public int getProductId() {
58 | return this.productId;
59 | }
60 |
61 | public void setProductId(int productId) {
62 | this.productId = productId;
63 | }
64 | public Short getQuantity() {
65 | return this.quantity;
66 | }
67 |
68 | public void setQuantity(Short quantity) {
69 | this.quantity = quantity;
70 | }
71 | public BigDecimal getShippingCost() {
72 | return this.shippingCost;
73 | }
74 |
75 | public void setShippingCost(BigDecimal shippingCost) {
76 | this.shippingCost = shippingCost;
77 | }
78 | public Date getSalesDate() {
79 | return this.salesDate;
80 | }
81 |
82 | public void setSalesDate(Date salesDate) {
83 | this.salesDate = salesDate;
84 | }
85 | public Date getShippingDate() {
86 | return this.shippingDate;
87 | }
88 |
89 | public void setShippingDate(Date shippingDate) {
90 | this.shippingDate = shippingDate;
91 | }
92 | public String getFreightCompany() {
93 | return this.freightCompany;
94 | }
95 |
96 | public void setFreightCompany(String freightCompany) {
97 | this.freightCompany = freightCompany;
98 | }
99 |
100 |
101 |
102 |
103 | }
104 |
105 |
106 |
--------------------------------------------------------------------------------
/src/herudi/style/MetroPasswordFieldSkin.java:
--------------------------------------------------------------------------------
1 | package herudi.style;
2 |
3 | import javafx.scene.control.PasswordField;
4 | import javafx.scene.control.TextField;
5 |
6 | /**
7 | * Created by pedro_000 on 12/15/13.
8 | */
9 | public class MetroPasswordFieldSkin extends TextFieldWithButtonSkin{
10 | private boolean shouldMaskText = true;
11 |
12 | public MetroPasswordFieldSkin(TextField textField) {
13 | super(textField);
14 | }
15 |
16 | @Override
17 | protected void rightButtonPressed() {
18 | TextField textField = getSkinnable();
19 | shouldMaskText = false;
20 | textField.setText(textField.getText());
21 | shouldMaskText = true;
22 | }
23 |
24 | @Override
25 | protected void rightButtonReleased()
26 | {
27 | TextField textField = getSkinnable();
28 | textField.setText(textField.getText());
29 | textField.end();
30 | }
31 |
32 | @Override protected String maskText(String txt) {
33 | if (getSkinnable() instanceof PasswordField && shouldMaskText) {
34 | int n = txt.length();
35 | StringBuilder passwordBuilder = new StringBuilder(n);
36 | for (int i = 0; i < n; i++) {
37 | passwordBuilder.append(BULLET);
38 | }
39 |
40 | return passwordBuilder.toString();
41 | } else {
42 | return txt;
43 | }
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/src/herudi/style/MetroTextFieldSkin.java:
--------------------------------------------------------------------------------
1 | package herudi.style;
2 |
3 | import javafx.scene.control.TextField;
4 |
5 | /**
6 | * Created by pedro_000 on 12/5/13.
7 | */
8 | public class MetroTextFieldSkin extends TextFieldWithButtonSkin{
9 | public MetroTextFieldSkin(TextField textField) {
10 | super(textField);
11 | }
12 |
13 | @Override
14 | protected void rightButtonPressed()
15 | {
16 | getSkinnable().setText("");
17 | }
18 |
19 | }
--------------------------------------------------------------------------------
/src/herudi/style/TextFieldWithButtonSkin.java:
--------------------------------------------------------------------------------
1 | package herudi.style;
2 |
3 | import com.sun.javafx.scene.control.behavior.TextFieldBehavior;
4 | import com.sun.javafx.scene.control.skin.TextFieldSkin;
5 | import javafx.beans.value.ChangeListener;
6 | import javafx.beans.value.ObservableValue;
7 | import javafx.event.EventHandler;
8 | import javafx.geometry.HPos;
9 | import javafx.geometry.VPos;
10 | import javafx.scene.control.TextField;
11 | import javafx.scene.input.MouseEvent;
12 | import javafx.scene.layout.Region;
13 | import javafx.scene.layout.StackPane;
14 |
15 | /**
16 | * Created by pedro_000 on 12/15/13.
17 | */
18 | public class TextFieldWithButtonSkin extends TextFieldSkin{
19 | private StackPane rightButton;
20 | private Region rightButtonGraphic;
21 |
22 | protected TextField textField;
23 |
24 | public TextFieldWithButtonSkin(TextField textField) {
25 | super(textField);
26 |
27 | this.textField = textField;
28 |
29 | rightButton = new StackPane();
30 | rightButton.getStyleClass().setAll("right-button");
31 | rightButton.setFocusTraversable(false);
32 |
33 | rightButtonGraphic = new Region();
34 | rightButtonGraphic.getStyleClass().setAll("right-button-graphic");
35 | rightButtonGraphic.setFocusTraversable(false);
36 |
37 | rightButtonGraphic.setMaxWidth(Region.USE_PREF_SIZE);
38 | rightButtonGraphic.setMaxHeight(Region.USE_PREF_SIZE);
39 |
40 | rightButton.setVisible(false);
41 | rightButtonGraphic.setVisible(false);
42 |
43 | rightButton.getChildren().add(rightButtonGraphic);
44 | getChildren().add(rightButton);
45 |
46 | setupListeners();
47 | }
48 |
49 | private void setupListeners() {
50 |
51 | final TextField textField = getSkinnable();
52 | rightButton.setOnMousePressed(new EventHandler() {
53 | @Override
54 | public void handle(MouseEvent event) {
55 | rightButtonPressed();
56 | }
57 | });
58 | rightButton.setOnMouseReleased(new EventHandler() {
59 | @Override
60 | public void handle(MouseEvent event) {
61 | rightButtonReleased();
62 | }
63 | });
64 |
65 | textField.textProperty().addListener(new ChangeListener() {
66 | @Override
67 | public void changed(ObservableValue extends String> observable, String oldValue, String newValue) {
68 | textChanged();
69 | }
70 | });
71 | textField.focusedProperty().addListener(new ChangeListener() {
72 | @Override
73 | public void changed(ObservableValue extends Boolean> observable, Boolean oldValue, Boolean newValue) {
74 | focusChanged();
75 | }
76 | });
77 | }
78 |
79 | protected void textChanged()
80 | {
81 | if (textField.getText() == null)
82 | return;
83 |
84 | rightButton.setVisible(!textField.getText().isEmpty());
85 | rightButtonGraphic.setVisible(!textField.getText().isEmpty());
86 | }
87 |
88 | protected void focusChanged()
89 | {
90 | if (textField.getText() == null)
91 | return;
92 |
93 | rightButton.setVisible(textField.isFocused() && !textField.getText().isEmpty());
94 | rightButtonGraphic.setVisible(textField.isFocused() && !textField.getText().isEmpty());
95 | }
96 |
97 | @Override
98 | protected void layoutChildren(double x, double y, double w, double h) {
99 | super.layoutChildren(x, y, w, h);
100 |
101 | final double clearGraphicWidth = snapSize(rightButtonGraphic.prefWidth(-1));
102 | final double clearButtonWidth = rightButton.snappedLeftInset() + clearGraphicWidth + rightButton.snappedRightInset();
103 |
104 | rightButton.resize(clearButtonWidth, h);
105 | positionInArea(rightButton,
106 | (x+w) - clearButtonWidth, y,
107 | clearButtonWidth, h, 0, HPos.CENTER, VPos.CENTER);
108 | }
109 |
110 | protected void rightButtonPressed()
111 | {
112 | }
113 |
114 | protected void rightButtonReleased()
115 | {
116 |
117 | }
118 |
119 | }
120 |
--------------------------------------------------------------------------------
/src/herudi/view/formMenu.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
23 |
24 |
25 |
26 |
27 |
28 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
--------------------------------------------------------------------------------
/src/herudi/view/login.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/src/herudi/view/splash.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
49 |
50 |
51 |
52 |
53 |
--------------------------------------------------------------------------------
/src/herudi/view/test.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/src/hibernate.cfg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | org.hibernate.dialect.DerbyDialect
6 | org.apache.derby.jdbc.ClientDriver
7 | jdbc:derby://localhost:1527/sample
8 | app
9 | app
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/hibernate.reveng.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/src/jdbc.properties:
--------------------------------------------------------------------------------
1 | #This is an optional header comment string
2 | #Thu Dec 04 14:55:17 ICT 2014
3 | jdbc.url=jdbc\:derby\://localhost\:1527/sample
4 | jdbc.username=app
5 | jdbc.driver=org.apache.derby.jdbc.ClientDriver
6 | jdbc.password=app
7 |
--------------------------------------------------------------------------------