Skip to content

Commit d41621e

Browse files
author
privatejava
committed
ListView Animation
1 parent 9146bbe commit d41621e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+5698
-0
lines changed

build.xml

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<?xml version="1.0" encoding="UTF-8"?><!-- You may freely edit this file. See commented blocks below for --><!-- some examples of how to customize the build. --><!-- (If you delete it and reopen the project it will be recreated.) --><!-- By default, only the Clean and Build commands use this build script. --><project name="ListViewAnimation" default="default" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
2+
<description>Builds, tests, and runs the project ListViewAnimation.</description>
3+
<import file="nbproject/build-impl.xml"/>
4+
<!--
5+
6+
There exist several targets which are by default empty and which can be
7+
used for execution of your tasks. These targets are usually executed
8+
before and after some main targets. Those of them relevant for JavaFX project are:
9+
10+
-pre-init: called before initialization of project properties
11+
-post-init: called after initialization of project properties
12+
-pre-compile: called before javac compilation
13+
-post-compile: called after javac compilation
14+
-pre-compile-test: called before javac compilation of JUnit tests
15+
-post-compile-test: called after javac compilation of JUnit tests
16+
-pre-jfx-jar: called before FX SDK specific <fx:jar> task
17+
-post-jfx-jar: called after FX SDK specific <fx:jar> task
18+
-pre-jfx-deploy: called before FX SDK specific <fx:deploy> task
19+
-post-jfx-deploy: called after FX SDK specific <fx:deploy> task
20+
-pre-jfx-native: called just after -pre-jfx-deploy if <fx:deploy> runs in native packaging mode
21+
-post-jfx-native: called just after -post-jfx-deploy if <fx:deploy> runs in native packaging mode
22+
-post-clean: called after cleaning build products
23+
24+
(Targets beginning with '-' are not intended to be called on their own.)
25+
26+
Example of inserting a HTML postprocessor after javaFX SDK deployment:
27+
28+
<target name="-post-jfx-deploy">
29+
<basename property="jfx.deployment.base" file="${jfx.deployment.jar}" suffix=".jar"/>
30+
<property name="jfx.deployment.html" location="${jfx.deployment.dir}${file.separator}${jfx.deployment.base}.html"/>
31+
<custompostprocess>
32+
<fileset dir="${jfx.deployment.html}"/>
33+
</custompostprocess>
34+
</target>
35+
36+
Example of calling an Ant task from JavaFX SDK. Note that access to JavaFX SDK Ant tasks must be
37+
initialized; to ensure this is done add the dependence on -check-jfx-sdk-version target:
38+
39+
<target name="-post-jfx-jar" depends="-check-jfx-sdk-version">
40+
<echo message="Calling jar task from JavaFX SDK"/>
41+
<fx:jar ...>
42+
...
43+
</fx:jar>
44+
</target>
45+
46+
For more details about JavaFX SDK Ant tasks go to
47+
http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm
48+
49+
For list of available properties check the files
50+
nbproject/build-impl.xml and nbproject/jfx-impl.xml.
51+
52+
-->
53+
</project>

build/built-jar.properties

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#Sat, 07 Sep 2013 16:15:30 +0545
2+
3+
4+
C\:\\Users\\Lenovo\\Documents\\NetBeansProjects\\ListViewAnimation=
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
.anim-list-cell {
2+
-fx-font-size:45px;
3+
-fx-font-family: 'Segoe Script';
4+
}
5+
.anim-list-cell:selected,.anim-list-cell:selected:hover{
6+
-fx-border-color:linear-gradient(to bottom,transparent,rgb(22,22,22,1));
7+
-fx-border-width:2 2 2 10px;
8+
-fx-effect:innershadow( three-pass-box,#764b0c,30,0.3,0,0);
9+
}
10+
.anim-list-cell:hover{
11+
-fx-border-color:rgb(255,255,255,0.7);
12+
-fx-border-width:1 1 1 10px;
13+
}
14+
.anim-list-cell{
15+
-fx-background-image: url('../img/wooden.png') ,url('../img/gloss.png');
16+
-fx-background-repeat: repeat,no-repeat;
17+
-fx-background-position:left top;
18+
-fx-background-size: auto,100% 40%;
19+
}
20+
.anim-list-cell:odd{
21+
22+
-fx-background-image: url('../img/wooden2.png') ,url('../img/gloss.png');
23+
-fx-background-repeat: repeat,no-repeat;
24+
}
606 KB
Binary file not shown.
3.5 KB
Binary file not shown.
429 Bytes
Loading
1.18 KB
Loading
932 Bytes
Loading

build/nb-jfx.jks

1.09 KB
Binary file not shown.

dist/ListViewAnimation.html

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<html><head>
2+
<SCRIPT src="./web-files/dtjava.js"></SCRIPT>
3+
<script>
4+
function launchApplication(jnlpfile) {
5+
dtjava.launch( {
6+
url : 'ListViewAnimation.jnlp',
7+
jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxqbmxwIHNwZWM9IjEuMCIgeG1sbnM6amZ4PSJodHRwOi8vamF2YWZ4LmNvbSIgaHJlZj0iTGlzdFZpZXdBbmltYXRpb24uam5scCI+DQogIDxpbmZvcm1hdGlvbj4NCiAgICA8dGl0bGU+TGlzdFZpZXdBbmltYXRpb248L3RpdGxlPg0KICAgIDx2ZW5kb3I+TGVub3ZvPC92ZW5kb3I+DQogICAgPGRlc2NyaXB0aW9uPlNhbXBsZSBKYXZhRlggMi4wIGFwcGxpY2F0aW9uLjwvZGVzY3JpcHRpb24+DQogICAgPG9mZmxpbmUtYWxsb3dlZC8+DQogIDwvaW5mb3JtYXRpb24+DQogIDxyZXNvdXJjZXM+DQogICAgPGpmeDpqYXZhZngtcnVudGltZSB2ZXJzaW9uPSIyLjIrIiBocmVmPSJodHRwOi8vamF2YWRsLnN1bi5jb20vd2ViYXBwcy9kb3dubG9hZC9HZXRGaWxlL2phdmFmeC1sYXRlc3Qvd2luZG93cy1pNTg2L2phdmFmeDIuam5scCIvPg0KICA8L3Jlc291cmNlcz4NCiAgPHJlc291cmNlcz4NCiAgICA8ajJzZSB2ZXJzaW9uPSIxLjYrIiBocmVmPSJodHRwOi8vamF2YS5zdW4uY29tL3Byb2R1Y3RzL2F1dG9kbC9qMnNlIi8+DQogICAgPGphciBocmVmPSJMaXN0Vmlld0FuaW1hdGlvbi5qYXIiIHNpemU9IjQwNDQ1MSIgZG93bmxvYWQ9ImVhZ2VyIiAvPg0KICA8L3Jlc291cmNlcz4NCjxzZWN1cml0eT4NCiAgPGFsbC1wZXJtaXNzaW9ucy8+DQo8L3NlY3VyaXR5Pg0KICA8YXBwbGV0LWRlc2MgIHdpZHRoPSI4MDAiIGhlaWdodD0iNjAwIiBtYWluLWNsYXNzPSJjb20uamF2YWZ4Lm1haW4uTm9KYXZhRlhGYWxsYmFjayIgIG5hbWU9Ikxpc3RWaWV3QW5pbWF0aW9uIiA+DQogICAgPHBhcmFtIG5hbWU9InJlcXVpcmVkRlhWZXJzaW9uIiB2YWx1ZT0iMi4yKyIvPg0KICA8L2FwcGxldC1kZXNjPg0KICA8amZ4OmphdmFmeC1kZXNjICB3aWR0aD0iODAwIiBoZWlnaHQ9IjYwMCIgbWFpbi1jbGFzcz0ibnAuY29tLm5nb3BhbC5MaXN0Vmlld0FuaW1hdGlvbiIgIG5hbWU9Ikxpc3RWaWV3QW5pbWF0aW9uIiAvPg0KICA8dXBkYXRlIGNoZWNrPSJhbHdheXMiLz4NCjwvam5scD4NCg=='
8+
},
9+
{
10+
javafx : '2.2+'
11+
},
12+
{}
13+
);
14+
return false;
15+
}
16+
</script>
17+
18+
<script>
19+
function javafxEmbed() {
20+
dtjava.embed(
21+
{
22+
url : 'ListViewAnimation.jnlp',
23+
placeholder : 'javafx-app-placeholder',
24+
width : 800,
25+
height : 600,
26+
jnlp_content : 'PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxqbmxwIHNwZWM9IjEuMCIgeG1sbnM6amZ4PSJodHRwOi8vamF2YWZ4LmNvbSIgaHJlZj0iTGlzdFZpZXdBbmltYXRpb24uam5scCI+DQogIDxpbmZvcm1hdGlvbj4NCiAgICA8dGl0bGU+TGlzdFZpZXdBbmltYXRpb248L3RpdGxlPg0KICAgIDx2ZW5kb3I+TGVub3ZvPC92ZW5kb3I+DQogIC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KICA8dXBkYXRlIGNoZWNrPSJhbHdheXMiLz4NCjwvam5scD4NCg=='
27+
},
28+
{
29+
javafx : '2.2+'
30+
},
31+
{}
32+
);
33+
}
34+
<!-- Embed FX application into web page once page is loaded -->
35+
dtjava.addOnloadCallback(javafxEmbed);
36+
</script>
37+
38+
</head><body>
39+
<h2>Test page for <b>ListViewAnimation</b></h2>
40+
<b>Webstart:</b> <a href='ListViewAnimation.jnlp' onclick="return launchApplication('ListViewAnimation.jnlp');">click to launch this app as webstart</a><br><hr><br>
41+
42+
<!-- Applet will be inserted here -->
43+
<div id='javafx-app-placeholder'></div>
44+
</body></html>

dist/ListViewAnimation.jar

395 KB
Binary file not shown.

dist/ListViewAnimation.jnlp

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="ListViewAnimation.jnlp">
3+
<information>
4+
<title>ListViewAnimation</title>
5+
<vendor>Lenovo</vendor>
6+
<description>Sample JavaFX 2.0 application.</description>
7+
<offline-allowed/>
8+
</information>
9+
<resources>
10+
<jfx:javafx-runtime version="2.2+" href="http://javadl.sun.com/webapps/download/GetFile/javafx-latest/windows-i586/javafx2.jnlp"/>
11+
</resources>
12+
<resources>
13+
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
14+
<jar href="ListViewAnimation.jar" size="404451" download="eager" />
15+
</resources>
16+
<security>
17+
<all-permissions/>
18+
</security>
19+
<applet-desc width="800" height="600" main-class="com.javafx.main.NoJavaFXFallback" name="ListViewAnimation" >
20+
<param name="requiredFXVersion" value="2.2+"/>
21+
</applet-desc>
22+
<jfx:javafx-desc width="800" height="600" main-class="np.com.ngopal.ListViewAnimation" name="ListViewAnimation" />
23+
<update check="always"/>
24+
</jnlp>

dist/web-files/dtjava.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/web-files/error.png

725 Bytes
Loading

dist/web-files/get_java.png

9.65 KB
Loading

dist/web-files/get_javafx.png

10.8 KB
Loading

dist/web-files/javafx-chrome.png

11.1 KB
Loading
17.5 KB
Loading
2.38 KB
Loading

dist/web-files/upgrade_java.png

10.7 KB
Loading

dist/web-files/upgrade_javafx.png

13.3 KB
Loading

manifest.mf

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Manifest-Version: 1.0
2+
X-COMMENT: Main-Class will be added automatically by build
3+

0 commit comments

Comments
 (0)