资源简介
Java fx实例教程,有这个实例,不用再买Java FX方面的书都够了
代码片段和文件信息
/*
* Copyright (c) 2010 2014 Oracle and/or its affiliates.
* All rights reserved. Use is subject to license terms.
*
* This file is available and licensed under the following license:
*
* Redistribution and use in source and binary forms with or without
* modification are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright
* notice this list of conditions and the following disclaimer.
* - Redistributions in binary form must reproduce the above copyright
* notice this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the distribution.
* - Neither the name of Oracle Corporation nor the names of its
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* “AS IS“ AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT
* LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL
* SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT
* LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE
* DATA OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package com.javafx.experiments.exporters.fxml;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.TreeSet;
import java.util.logging.Level;
import java.util.logging.Logger;
import javafx.collections.ObservableArray;
import javafx.geometry.Point3D;
import javafx.scene.Node;
import javafx.scene.Parent;
import javafx.scene.paint.Color;
import javafx.scene.paint.PhongMaterial;
import javafx.scene.shape.Box;
import javafx.scene.shape.MeshView;
import javafx.scene.shape.Shape3D;
import javafx.scene.shape.TriangleMesh;
import javafx.scene.transform.Affine;
import javafx.scene.transform.Rotate;
import javafx.scene.transform.Transform;
import javafx.scene.transform.Translate;
/** Export a 3D MeshView to Fxml file. */
public class FxmlExporter {
private PrintWriter printWriter;
private Set imports = new TreeSet<>();
private Map simpleNames = new HashMap<>();
public FxmlExporter(String filename) {
File file = new File(filena
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-02-13 18:36 javafx_samples\
目录 0 2016-12-13 04:04 javafx_samples\3DViewer\
文件 4135869 2016-12-13 04:04 javafx_samples\3DViewer\3DViewer.jar
目录 0 2016-12-13 04:04 javafx_samples\3DViewer\lib\
文件 1299495 2016-12-13 04:04 javafx_samples\3DViewer\lib\DaeImporter.jar
文件 1299498 2016-12-13 04:04 javafx_samples\3DViewer\lib\MaxLoader.jar
文件 1299495 2016-12-13 04:04 javafx_samples\3DViewer\lib\MayaImporter.jar
文件 1299502 2016-12-13 04:04 javafx_samples\3DViewer\lib\ObjOrPolyObjImporter.jar
文件 17405677 2016-12-13 04:04 javafx_samples\Ensemble8.jar
文件 52910 2016-12-13 04:04 javafx_samples\MandelbrotSet.jar
文件 313831 2016-12-13 04:04 javafx_samples\Modena.jar
文件 127548 2018-02-13 18:36 javafx_samples\Modena.zip
文件 4585 2016-12-13 04:04 javafx_samples\samples_readme.txt
目录 0 2016-12-13 04:04 javafx_samples\src\
目录 0 2016-12-13 04:04 javafx_samples\src\3DViewer\
文件 160 2016-12-13 04:04 javafx_samples\src\3DViewer\build.gradle
文件 7148 2016-12-13 04:04 javafx_samples\src\3DViewer\build.xm
目录 0 2016-12-13 04:04 javafx_samples\src\3DViewer\nbproject\
文件 79739 2016-12-13 04:04 javafx_samples\src\3DViewer\nbproject\build-impl.xm
文件 467 2016-12-13 04:04 javafx_samples\src\3DViewer\nbproject\genfiles.properties
文件 2493 2016-12-13 04:04 javafx_samples\src\3DViewer\nbproject\project.properties
文件 620 2016-12-13 04:04 javafx_samples\src\3DViewer\nbproject\project.xm
目录 0 2016-12-13 04:04 javafx_samples\src\3DViewer\src\
目录 0 2016-12-13 04:04 javafx_samples\src\3DViewer\src\main\
目录 0 2016-12-13 04:04 javafx_samples\src\3DViewer\src\main\java\
目录 0 2016-12-13 04:04 javafx_samples\src\3DViewer\src\main\java\com\
目录 0 2016-12-13 04:04 javafx_samples\src\3DViewer\src\main\java\com\javafx\
目录 0 2016-12-13 04:04 javafx_samples\src\3DViewer\src\main\java\com\javafx\experiments\
目录 0 2016-12-13 04:04 javafx_samples\src\3DViewer\src\main\java\com\javafx\experiments\exporters\
目录 0 2016-12-13 04:04 javafx_samples\src\3DViewer\src\main\java\com\javafx\experiments\exporters\fxm
文件 13647 2016-12-13 04:04 javafx_samples\src\3DViewer\src\main\java\com\javafx\experiments\exporters\fxm
............此处省略1337个文件信息
相关资源
- 数据结构与算法第二版
- jython-standalone-2.7.1.jar
- J2SE6.0 API 中文版(冷冬大雪)
- JAVA在线考试系统DEMO源码(毕业设计
- JAVA读写word
- JAVA办公OA源码
- 神经网络算法与实现—基于Java语言(
- 人事管理系统JavaWeb
- 配套网站资源.rar
- JAVA学生选课系统263137
- java程序设计梁勇.第十版全部补充材料
- Java服务器高级编程.pdf
- java图像处理毕业设计
- java坦克大战
- java毕业设计就业网站
- Big Java 6th Edition英文版
- 微信商城源码java
- nmap查找在线主机java demo
- java代码实现中国地图着色
- java 网上购物系统
- java源码包(包括sun包和具体导入步骤
- 最新JAVA微商城平台系统源码带数据库
- thinking in java第四版中文版+英文版
- java_指纹识别_源码
- Java 人力资源管理系统
- Java 2实用教程第5版耿祥义、张跃平课
- 个人家庭理财系统
- MyEclipse6 Java开发中文教程+全部源代码
- javaRSA加密C++RSA解密
- 实现Web项目导出word功能
评论
共有 条评论