├── README.md ├── images ├── Cron表达式生成器.png ├── Ftp服务器.png ├── Http调试工具.png ├── Mq调试工具.png ├── Redis连接工具.png ├── Time转换.png ├── json格式化编辑工具.png ├── 二维码生成工具.png ├── 加密解密.png ├── 图标生成工具.png ├── 字符串转换.png ├── 文件列表生成器.png ├── 文件复制.png ├── 正则表达式生成工具.png ├── 编码转换.png ├── 网址缩短.png └── 转义字符.png ├── libs └── xJavaFxPlugIn-0.0.1-SNAPSHOT.jar ├── pom.xml ├── src ├── main │ ├── java │ │ └── com │ │ │ └── xwintop │ │ │ └── xJavaFxTool │ │ │ ├── Main.java │ │ │ ├── common │ │ │ ├── ExCodec.java │ │ │ └── package-info.java │ │ │ ├── controller │ │ │ ├── IndexController.java │ │ │ ├── codeTools │ │ │ │ ├── EscapeCharacterController.java │ │ │ │ ├── IdCardGeneratorController.java │ │ │ │ ├── RegexTesterController.java │ │ │ │ ├── WebSourcesToolController.java │ │ │ │ └── package-info.java │ │ │ ├── debugTools │ │ │ │ ├── ActiveMqToolController.java │ │ │ │ ├── CmdToolController.java │ │ │ │ ├── FtpClientToolController.java │ │ │ │ ├── FtpServerController.java │ │ │ │ ├── HttpToolController.java │ │ │ │ ├── SwitchHostsToolController.java │ │ │ │ ├── package-info.java │ │ │ │ └── redisTool │ │ │ │ │ ├── RedisToolController.java │ │ │ │ │ ├── RedisToolDataTableController.java │ │ │ │ │ ├── RedisToolDataViewController.java │ │ │ │ │ ├── RedisToolDialogController.java │ │ │ │ │ └── package-info.java │ │ │ ├── developTools │ │ │ │ ├── DirectoryTreeToolController.java │ │ │ │ └── package-info.java │ │ │ ├── epmsTools │ │ │ │ ├── DebugEpmsController.java │ │ │ │ ├── GeneratingCodeController.java │ │ │ │ ├── MessageViewerController.java │ │ │ │ └── package-info.java │ │ │ ├── javaFxTools │ │ │ │ ├── JavaFxXmlToObjectCodeController.java │ │ │ │ └── package-info.java │ │ │ ├── littleTools │ │ │ │ ├── CharacterConverterController.java │ │ │ │ ├── CronExpBuilderController.java │ │ │ │ ├── EncryptAndDecryptController.java │ │ │ │ ├── FileCopyController.java │ │ │ │ ├── IconToolController.java │ │ │ │ ├── LinuxPathToWindowsPathController.java │ │ │ │ ├── PdfConvertToolController.java │ │ │ │ ├── QRCodeBuilderController.java │ │ │ │ ├── TimeToolController.java │ │ │ │ ├── ZHConverterController.java │ │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ └── webTools │ │ │ │ ├── ShortURLController.java │ │ │ │ └── package-info.java │ │ │ ├── fxmlView │ │ │ ├── IndexView.java │ │ │ ├── codeTools │ │ │ │ ├── EscapeCharacterView.java │ │ │ │ ├── IdCardGeneratorView.java │ │ │ │ ├── RegexTesterView.java │ │ │ │ ├── WebSourcesToolView.java │ │ │ │ └── package-info.java │ │ │ ├── debugTools │ │ │ │ ├── ActiveMqToolView.java │ │ │ │ ├── CmdToolView.java │ │ │ │ ├── FtpClientToolView.java │ │ │ │ ├── FtpServerView.java │ │ │ │ ├── HttpToolView.java │ │ │ │ ├── SwitchHostsToolView.java │ │ │ │ ├── package-info.java │ │ │ │ └── redisTool │ │ │ │ │ ├── RedisToolDataTableView.java │ │ │ │ │ ├── RedisToolDataViewView.java │ │ │ │ │ ├── RedisToolDialogView.java │ │ │ │ │ ├── RedisToolView.java │ │ │ │ │ └── package-info.java │ │ │ ├── developTools │ │ │ │ ├── DirectoryTreeToolView.java │ │ │ │ └── package-info.java │ │ │ ├── epmsTools │ │ │ │ ├── DebugEpmsView.java │ │ │ │ ├── GeneratingCodeView.java │ │ │ │ ├── MessageViewerView.java │ │ │ │ └── package-info.java │ │ │ ├── javaFxTools │ │ │ │ ├── JavaFxXmlToObjectCodeView.java │ │ │ │ └── package-info.java │ │ │ ├── littleTools │ │ │ │ ├── CharacterConverterView.java │ │ │ │ ├── CronExpBuilderView.java │ │ │ │ ├── EncryptAndDecryptView.java │ │ │ │ ├── FileCopyView.java │ │ │ │ ├── IconToolView.java │ │ │ │ ├── LinuxPathToWindowsPathView.java │ │ │ │ ├── PdfConvertToolView.java │ │ │ │ ├── QRCodeBuilderView.java │ │ │ │ ├── TimeToolView.java │ │ │ │ ├── ZHConverterView.java │ │ │ │ └── package-info.java │ │ │ └── webTools │ │ │ │ ├── ShortURLView.java │ │ │ │ └── package-info.java │ │ │ ├── job │ │ │ ├── ActiveMqToolJob.java │ │ │ ├── CmdToolJob.java │ │ │ ├── FileCopyJob.java │ │ │ ├── FtpClientToolJob.java │ │ │ └── package-info.java │ │ │ ├── main │ │ │ └── package-info.java │ │ │ ├── manager │ │ │ └── package-info.java │ │ │ ├── model │ │ │ ├── ActiveMqToolReceiverTableBean.java │ │ │ ├── ActiveMqToolTableBean.java │ │ │ ├── CmdToolTableBean.java │ │ │ ├── FileCopyTableBean.java │ │ │ ├── FtpClientToolTableBean.java │ │ │ ├── FtpServerTableBean.java │ │ │ ├── RedisToolDataTableBean.java │ │ │ ├── ToolFxmlLoaderConfiguration.java │ │ │ └── package-info.java │ │ │ ├── services │ │ │ ├── IndexService.java │ │ │ ├── codeTools │ │ │ │ ├── IdCardGenerator.java │ │ │ │ ├── WebSourcesToolService.java │ │ │ │ └── package-info.java │ │ │ ├── debugTools │ │ │ │ ├── ActiveMqToolService.java │ │ │ │ ├── CmdToolService.java │ │ │ │ ├── FtpClientToolService.java │ │ │ │ ├── FtpServerService.java │ │ │ │ ├── HttpToolService.java │ │ │ │ ├── SwitchHostsToolService.java │ │ │ │ ├── package-info.java │ │ │ │ └── redisTool │ │ │ │ │ ├── RedisToolDataTableService.java │ │ │ │ │ ├── RedisToolDataViewService.java │ │ │ │ │ ├── RedisToolService.java │ │ │ │ │ └── package-info.java │ │ │ ├── developTools │ │ │ │ ├── DirectoryTreeToolService.java │ │ │ │ └── package-info.java │ │ │ ├── epmsTools │ │ │ │ ├── TextToHibernateXmlService.java │ │ │ │ ├── XmlToBeanService.java │ │ │ │ ├── XmlToCodeService.java │ │ │ │ ├── XmlToSqlService.java │ │ │ │ └── package-info.java │ │ │ ├── javaFxTools │ │ │ │ ├── JavaFxXmlToObjectCodeService.java │ │ │ │ └── package-info.java │ │ │ ├── littleTools │ │ │ │ ├── FileCopyService.java │ │ │ │ ├── IconToolService.java │ │ │ │ ├── PdfConvertToolService.java │ │ │ │ ├── ZHConverterService.java │ │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ └── webTools │ │ │ │ ├── ShortURLService.java │ │ │ │ └── package-info.java │ │ │ ├── utils │ │ │ ├── AttributeConvertUtil.java │ │ │ ├── Config.java │ │ │ ├── ConfigureUtil.java │ │ │ ├── DirectoryTreeUtil.java │ │ │ ├── GuiUtils.java │ │ │ ├── ImgToolUtil.java │ │ │ ├── JavaFxViewUtil.java │ │ │ ├── QRCodeUtil.java │ │ │ ├── RadixUtils.java │ │ │ ├── ScreenShoter.java │ │ │ ├── SnapshotRectUtil.java │ │ │ ├── SpringUtil.java │ │ │ ├── XJavaFxSystemUtil.java │ │ │ └── package-info.java │ │ │ └── view │ │ │ ├── IndexView.java │ │ │ ├── codeTools │ │ │ ├── EscapeCharacterView.java │ │ │ ├── WebSourcesToolView.java │ │ │ └── package-info.java │ │ │ ├── debugTools │ │ │ ├── ActiveMqToolView.java │ │ │ ├── CmdToolView.java │ │ │ ├── FtpClientToolView.java │ │ │ ├── FtpServerView.java │ │ │ ├── HttpToolView.java │ │ │ ├── SwitchHostsToolView.java │ │ │ ├── package-info.java │ │ │ └── redisTool │ │ │ │ ├── RedisToolDataTableView.java │ │ │ │ ├── RedisToolDataViewView.java │ │ │ │ ├── RedisToolView.java │ │ │ │ └── package-info.java │ │ │ ├── developTools │ │ │ ├── DirectoryTreeToolView.java │ │ │ └── package-info.java │ │ │ ├── littleTools │ │ │ ├── CronExpBuilderView.java │ │ │ ├── FileCopyView.java │ │ │ ├── IconToolView.java │ │ │ ├── PdfConvertToolView.java │ │ │ ├── QRCodeBuilderView.java │ │ │ ├── ZHConverterView.java │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ └── webTools │ │ │ ├── ShortURLView.java │ │ │ └── package-info.java │ └── resources │ │ ├── application.yaml │ │ ├── banner.txt │ │ ├── com │ │ ├── melloware │ │ │ └── jintellitype │ │ │ │ ├── JIntellitype.dll │ │ │ │ └── JIntellitype64.dll │ │ └── xwintop │ │ │ └── xJavaFxTool │ │ │ └── fxmlView │ │ │ ├── Index.fxml │ │ │ ├── codeTools │ │ │ ├── EscapeCharacter.fxml │ │ │ ├── IdCardGenerator.fxml │ │ │ ├── RegexTester.fxml │ │ │ └── WebSourcesTool.fxml │ │ │ ├── debugTools │ │ │ ├── ActiveMqTool.fxml │ │ │ ├── CmdTool.fxml │ │ │ ├── FtpClientTool.fxml │ │ │ ├── FtpServer.fxml │ │ │ ├── HttpTool.fxml │ │ │ ├── SwitchHostsTool.fxml │ │ │ └── redisTool │ │ │ │ ├── RedisTool.fxml │ │ │ │ ├── RedisToolDataTable.fxml │ │ │ │ ├── RedisToolDataView.fxml │ │ │ │ └── RedisToolDialog.fxml │ │ │ ├── developTools │ │ │ └── DirectoryTreeTool.fxml │ │ │ ├── epmsTools │ │ │ ├── DebugEpms.fxml │ │ │ ├── GeneratingCode.fxml │ │ │ └── MessageViewer.fxml │ │ │ ├── javaFxTools │ │ │ └── JavaFxXmlToObjectCode.fxml │ │ │ ├── littleTools │ │ │ ├── CharacterConverter.fxml │ │ │ ├── CronExpBuilder.fxml │ │ │ ├── EncryptAndDecrypt.fxml │ │ │ ├── FileCopy.fxml │ │ │ ├── IconTool.fxml │ │ │ ├── LinuxPathToWindowsPath.fxml │ │ │ ├── PdfConvertTool.fxml │ │ │ ├── QRCodeBuilder.fxml │ │ │ ├── TimeTool.fxml │ │ │ └── ZHConverter.fxml │ │ │ └── webTools │ │ │ └── ShortURL.fxml │ │ ├── config │ │ ├── log4j.properties │ │ └── toolFxmlLoaderConfiguration.xml │ │ ├── css │ │ └── style.css │ │ ├── data │ │ ├── iosAppIcon │ │ │ └── Contents.json │ │ └── regexData.properties │ │ ├── images │ │ └── icon.jpg │ │ ├── locale │ │ ├── Menu.properties │ │ ├── Menu_en_US.properties │ │ └── epmsTools │ │ │ ├── Menu.properties │ │ │ └── Menu_en_US.properties │ │ └── web │ │ └── littleTools │ │ ├── cron │ │ ├── Cron │ │ │ ├── cron.js │ │ │ ├── icon.css │ │ │ ├── jquery-1.6.2.min.js │ │ │ ├── jquery.easyui.min.js │ │ │ └── themes │ │ │ │ ├── bootstrap │ │ │ │ ├── easyui.css │ │ │ │ ├── easyui.min.css │ │ │ │ └── images │ │ │ │ │ ├── panel_tools.png │ │ │ │ │ ├── spinner_arrows.png │ │ │ │ │ └── tabs_icons.png │ │ │ │ └── icon.css │ │ └── index.htm │ │ └── jsonEditor │ │ ├── app.min.css │ │ ├── app.min.js │ │ ├── header_background.png │ │ ├── index.html │ │ └── jsoneditor-icons.svg └── test │ ├── java │ └── com │ │ └── xwintop │ │ └── xJavaFxTool │ │ ├── AppTest.java │ │ ├── JavaFxMain.java │ │ ├── MyController.java │ │ ├── MyScene.fxml │ │ ├── apache │ │ ├── FtpServerTest.java │ │ ├── WebService │ │ │ ├── WebServiceI.java │ │ │ ├── WebServiceImpl.java │ │ │ ├── WebServiceMain.java │ │ │ └── package-info.java │ │ └── package-info.java │ │ ├── datafx │ │ ├── SimpleController.java │ │ ├── Tutorial1Main.java │ │ ├── flow2 │ │ │ ├── Tutorial2Main.java │ │ │ ├── View1Controller.java │ │ │ ├── View2Controller.java │ │ │ ├── package-info.java │ │ │ ├── view1.fxml │ │ │ └── view2.fxml │ │ ├── flow3 │ │ │ ├── AbstractWizardController.java │ │ │ ├── Tutorial3Main.java │ │ │ ├── Wizard1Controller.java │ │ │ ├── Wizard2Controller.java │ │ │ ├── Wizard3Controller.java │ │ │ ├── WizardDoneController.java │ │ │ ├── WizardStartController.java │ │ │ ├── actionBar.fxml │ │ │ ├── package-info.java │ │ │ ├── wizard1.fxml │ │ │ ├── wizard2.fxml │ │ │ ├── wizard3.fxml │ │ │ ├── wizardDone.fxml │ │ │ └── wizardStart.fxml │ │ ├── package-info.java │ │ ├── resource │ │ │ ├── FlowTest.java │ │ │ ├── ResourceBundleFlow.java │ │ │ ├── ResourceController.java │ │ │ └── package-info.java │ │ └── simpleView.fxml │ │ ├── java │ │ ├── MoneyUtil.java │ │ └── package-info.java │ │ ├── javafx │ │ ├── GlobleHotKeyDemo.java │ │ ├── LayoutSample.java │ │ ├── graphics │ │ │ ├── chart_1.png │ │ │ ├── chart_2.png │ │ │ ├── chart_3.png │ │ │ ├── chart_4.png │ │ │ ├── chart_5.png │ │ │ ├── chart_6.png │ │ │ ├── chart_7.png │ │ │ ├── chart_8.png │ │ │ ├── house.png │ │ │ ├── piechart-orig.png │ │ │ ├── piechart.png │ │ │ └── piechart2.png │ │ └── tool │ │ │ ├── TableBeanTool.java │ │ │ └── package-info.java │ │ ├── swing │ │ ├── SShoterConfig.java │ │ ├── ScreenShoter.java │ │ ├── Shoter.java │ │ ├── SnapshotTest.java │ │ └── TestRobot.java │ │ └── tools │ │ ├── DirectoryTreeTest.java │ │ ├── DirectoryTreeV1.java │ │ ├── HanLPTest.java │ │ ├── ImgToolTest.java │ │ ├── JpatchwatchTest.java │ │ ├── PdfboxTest.java │ │ ├── ThumbnailatorTest.java │ │ ├── WebmagicTest.java │ │ └── package-info.java │ └── resources │ ├── com │ └── melloware │ │ └── jintellitype │ │ ├── JIntellitype.dll │ │ └── JIntellitype64.dll │ ├── config │ └── log4j.properties │ ├── css │ └── style.css │ ├── fxml │ └── simpleView.fxml │ ├── images │ └── icon.jpg │ └── locale │ └── Dorian.properties └── xJavaFxTool-spring.jar /images/Cron表达式生成器.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwintop/xJavaFxTool-spring/8d6344656afcabf2d44e30b121df9fed6f2c0df5/images/Cron表达式生成器.png -------------------------------------------------------------------------------- /images/Ftp服务器.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwintop/xJavaFxTool-spring/8d6344656afcabf2d44e30b121df9fed6f2c0df5/images/Ftp服务器.png -------------------------------------------------------------------------------- /images/Http调试工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwintop/xJavaFxTool-spring/8d6344656afcabf2d44e30b121df9fed6f2c0df5/images/Http调试工具.png -------------------------------------------------------------------------------- /images/Mq调试工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwintop/xJavaFxTool-spring/8d6344656afcabf2d44e30b121df9fed6f2c0df5/images/Mq调试工具.png -------------------------------------------------------------------------------- /images/Redis连接工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwintop/xJavaFxTool-spring/8d6344656afcabf2d44e30b121df9fed6f2c0df5/images/Redis连接工具.png -------------------------------------------------------------------------------- /images/Time转换.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwintop/xJavaFxTool-spring/8d6344656afcabf2d44e30b121df9fed6f2c0df5/images/Time转换.png -------------------------------------------------------------------------------- /images/json格式化编辑工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwintop/xJavaFxTool-spring/8d6344656afcabf2d44e30b121df9fed6f2c0df5/images/json格式化编辑工具.png -------------------------------------------------------------------------------- /images/二维码生成工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwintop/xJavaFxTool-spring/8d6344656afcabf2d44e30b121df9fed6f2c0df5/images/二维码生成工具.png -------------------------------------------------------------------------------- /images/加密解密.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwintop/xJavaFxTool-spring/8d6344656afcabf2d44e30b121df9fed6f2c0df5/images/加密解密.png -------------------------------------------------------------------------------- /images/图标生成工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwintop/xJavaFxTool-spring/8d6344656afcabf2d44e30b121df9fed6f2c0df5/images/图标生成工具.png -------------------------------------------------------------------------------- /images/字符串转换.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwintop/xJavaFxTool-spring/8d6344656afcabf2d44e30b121df9fed6f2c0df5/images/字符串转换.png -------------------------------------------------------------------------------- /images/文件列表生成器.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwintop/xJavaFxTool-spring/8d6344656afcabf2d44e30b121df9fed6f2c0df5/images/文件列表生成器.png -------------------------------------------------------------------------------- /images/文件复制.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwintop/xJavaFxTool-spring/8d6344656afcabf2d44e30b121df9fed6f2c0df5/images/文件复制.png -------------------------------------------------------------------------------- /images/正则表达式生成工具.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwintop/xJavaFxTool-spring/8d6344656afcabf2d44e30b121df9fed6f2c0df5/images/正则表达式生成工具.png -------------------------------------------------------------------------------- /images/编码转换.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwintop/xJavaFxTool-spring/8d6344656afcabf2d44e30b121df9fed6f2c0df5/images/编码转换.png -------------------------------------------------------------------------------- /images/网址缩短.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwintop/xJavaFxTool-spring/8d6344656afcabf2d44e30b121df9fed6f2c0df5/images/网址缩短.png -------------------------------------------------------------------------------- /images/转义字符.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwintop/xJavaFxTool-spring/8d6344656afcabf2d44e30b121df9fed6f2c0df5/images/转义字符.png -------------------------------------------------------------------------------- /libs/xJavaFxPlugIn-0.0.1-SNAPSHOT.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwintop/xJavaFxTool-spring/8d6344656afcabf2d44e30b121df9fed6f2c0df5/libs/xJavaFxPlugIn-0.0.1-SNAPSHOT.jar -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/Main.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool; 2 | 3 | import com.xwintop.xJavaFxTool.fxmlView.IndexView; 4 | import com.xwintop.xJavaFxTool.utils.XJavaFxSystemUtil; 5 | 6 | import org.apache.log4j.Logger; 7 | import org.apache.log4j.PropertyConfigurator; 8 | import org.springframework.boot.autoconfigure.SpringBootApplication; 9 | 10 | import de.felixroske.jfxsupport.AbstractJavaFxApplicationSupport; 11 | 12 | /** 13 | * @ClassName: Main 14 | * @Description: 启动类 15 | * @author: xufeng 16 | * @date: 2017年11月10日 下午4:34:11 17 | */ 18 | @SpringBootApplication 19 | public class Main extends AbstractJavaFxApplicationSupport { 20 | private static Logger log = Logger.getLogger(Main.class); 21 | 22 | public static void main(String[] args) { 23 | PropertyConfigurator.configure(Main.class.getResource("/config/log4j.properties"));//加载日志配置 24 | XJavaFxSystemUtil.initSystemLocal();//初始化本地语言 25 | XJavaFxSystemUtil.addJarByLibs();//添加外部jar包 26 | // new Timer().schedule(new TimerTask() { 27 | // @Override 28 | // public void run() { 29 | // Platform.runLater(()->{ 30 | // ResourceBundle resourceBundle = ResourceBundle.getBundle("locale.Menu", Config.defaultLocale); 31 | // AbstractJavaFxApplicationSupport.setTitle(resourceBundle.getString("Title")); 32 | // }); 33 | // } 34 | // },5000); 35 | 36 | launchApp(Main.class, IndexView.class, args); 37 | } 38 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/common/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.common 7 | * @Description: 公共工具包 8 | * @author: xufeng 9 | * @date: 2017年8月3日 上午8:37:58 10 | * @version: V1.0 11 | */ 12 | package com.xwintop.xJavaFxTool.common; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/controller/codeTools/IdCardGeneratorController.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.controller.codeTools; 2 | 3 | import java.awt.Toolkit; 4 | import java.awt.datatransfer.StringSelection; 5 | 6 | import com.xwintop.xJavaFxTool.services.codeTools.IdCardGenerator; 7 | 8 | import de.felixroske.jfxsupport.FXMLController; 9 | import javafx.fxml.FXML; 10 | import javafx.scene.control.Button; 11 | import javafx.scene.control.Label; 12 | import javafx.scene.control.TextField; 13 | 14 | @FXMLController 15 | public class IdCardGeneratorController { 16 | @FXML 17 | private Button generator; 18 | @FXML 19 | private Button name_copy; 20 | @FXML 21 | private Button id_copy; 22 | @FXML 23 | private Button birthday_copy; 24 | @FXML 25 | private TextField name_text; 26 | @FXML 27 | private TextField id_text; 28 | @FXML 29 | private TextField birthday_text; 30 | @FXML 31 | private Label name_tip; 32 | @FXML 33 | private Label id_tip; 34 | @FXML 35 | private Label birthday_tip; 36 | 37 | 38 | @FXML 39 | protected void buttonClick() { 40 | clearData(); 41 | IdCardGenerator generator = new IdCardGenerator(); 42 | String id = generator.generate(); 43 | name_text.appendText("张三"); 44 | id_text.appendText(id); 45 | birthday_text.appendText(IdCardGenerator.getBirthday(id)); 46 | name_tip.setVisible(false); 47 | id_tip.setVisible(false); 48 | birthday_tip.setVisible(false); 49 | } 50 | 51 | @FXML 52 | protected void copyName() { 53 | StringSelection stsel = new StringSelection(name_text.getText()); 54 | Toolkit.getDefaultToolkit().getSystemClipboard().setContents(stsel, stsel); 55 | name_tip.setVisible(true); 56 | id_tip.setVisible(false); 57 | birthday_tip.setVisible(false); 58 | } 59 | 60 | @FXML 61 | protected void copyId() { 62 | StringSelection stsel = new StringSelection(id_text.getText()); 63 | Toolkit.getDefaultToolkit().getSystemClipboard().setContents(stsel, stsel); 64 | name_tip.setVisible(false); 65 | id_tip.setVisible(true); 66 | birthday_tip.setVisible(false); 67 | } 68 | 69 | @FXML 70 | protected void copyBirthday() { 71 | StringSelection stsel = new StringSelection(birthday_text.getText()); 72 | Toolkit.getDefaultToolkit().getSystemClipboard().setContents(stsel, stsel); 73 | name_tip.setVisible(false); 74 | id_tip.setVisible(false); 75 | birthday_tip.setVisible(true); 76 | } 77 | 78 | private void clearData() { 79 | name_text.clear(); 80 | id_text.clear(); 81 | birthday_text.clear(); 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/controller/codeTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.controller.codeTools 7 | * @Description: TODO 8 | * @author: Administrator 9 | * @date: 2017年8月13日 下午5:09:00 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: Administrator 16 | * @date: 2017年8月13日 下午5:09:00 17 | */ 18 | package com.xwintop.xJavaFxTool.controller.codeTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/controller/debugTools/SwitchHostsToolController.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.controller.debugTools; 2 | 3 | import com.xwintop.xJavaFxTool.services.debugTools.SwitchHostsToolService; 4 | import com.xwintop.xJavaFxTool.view.debugTools.SwitchHostsToolView; 5 | 6 | import java.net.URL; 7 | import java.util.ResourceBundle; 8 | 9 | import de.felixroske.jfxsupport.FXMLController; 10 | import javafx.event.ActionEvent; 11 | import javafx.fxml.FXML; 12 | import javafx.scene.control.TreeItem; 13 | import lombok.Getter; 14 | import lombok.Setter; 15 | import lombok.extern.log4j.Log4j; 16 | 17 | @Getter 18 | @Setter 19 | @Log4j 20 | @FXMLController 21 | public class SwitchHostsToolController extends SwitchHostsToolView { 22 | 23 | private SwitchHostsToolService switchHostsToolService = new SwitchHostsToolService(this); 24 | 25 | @Override 26 | public void initialize(URL location, ResourceBundle resources) { 27 | try { 28 | initView(); 29 | initEvent(); 30 | initService(); 31 | } catch (Exception e) { 32 | e.printStackTrace(); 33 | log.error(e.getMessage()); 34 | } 35 | } 36 | 37 | private void initView() { 38 | TreeItem treeItem = new TreeItem("Hosts"); 39 | treeItem.setExpanded(true); 40 | hostFileTreeView.setRoot(treeItem); 41 | TreeItem commonHostTreeItem = new TreeItem("公共Host"); 42 | TreeItem systemHostTreeItem = new TreeItem("系统当前Host"); 43 | TreeItem localHostTreeItem = new TreeItem("本地方案"); 44 | localHostTreeItem.setExpanded(true); 45 | TreeItem localHostTreeItem1 = new TreeItem("方案一"); 46 | TreeItem localHostTreeItem2 = new TreeItem("方案二"); 47 | localHostTreeItem.getChildren().add(localHostTreeItem1); 48 | localHostTreeItem.getChildren().add(localHostTreeItem2); 49 | TreeItem webTreeItem = new TreeItem("在线方案"); 50 | webTreeItem.setExpanded(true); 51 | treeItem.getChildren().add(commonHostTreeItem); 52 | treeItem.getChildren().add(systemHostTreeItem); 53 | treeItem.getChildren().add(localHostTreeItem); 54 | treeItem.getChildren().add(webTreeItem); 55 | } 56 | 57 | private void initEvent() { 58 | } 59 | 60 | private void initService() throws Exception { 61 | switchHostsToolService.reloadSystemHosts(); 62 | } 63 | 64 | @FXML 65 | private void addAction(ActionEvent event) { 66 | } 67 | 68 | @FXML 69 | private void reloadAction(ActionEvent event) { 70 | } 71 | 72 | @FXML 73 | private void editAction(ActionEvent event) { 74 | } 75 | 76 | @FXML 77 | private void deleteAction(ActionEvent event) { 78 | } 79 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/controller/debugTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.controller.debugTools 7 | * @Description: TODO 8 | * @author: xufeng 9 | * @date: 2017年8月21日 上午10:57:27 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年8月21日 上午10:57:27 17 | */ 18 | package com.xwintop.xJavaFxTool.controller.debugTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/controller/debugTools/redisTool/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.controller.debugTools.redisTool 7 | * @Description: TODO 8 | * @author: xufeng 9 | * @date: 2017年9月4日 下午10:10:26 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年9月4日 下午10:10:26 17 | */ 18 | package com.xwintop.xJavaFxTool.controller.debugTools.redisTool; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/controller/developTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.controller.developTools 7 | * @Description: 开发工具视图控制层包 8 | * @author: xufeng 9 | * @date: 2017年11月10日 下午4:26:31 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年11月10日 下午4:26:31 17 | */ 18 | package com.xwintop.xJavaFxTool.controller.developTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/controller/epmsTools/MessageViewerController.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.controller.epmsTools; 2 | 3 | import java.net.URL; 4 | import java.util.ResourceBundle; 5 | 6 | import com.xwintop.xcore.util.javafx.FileChooserUtil; 7 | 8 | import de.felixroske.jfxsupport.FXMLController; 9 | import javafx.event.ActionEvent; 10 | import javafx.fxml.FXML; 11 | import javafx.fxml.Initializable; 12 | import javafx.scene.control.Button; 13 | import javafx.scene.control.TextArea; 14 | import javafx.scene.control.TreeItem; 15 | import javafx.scene.control.TreeView; 16 | 17 | @FXMLController 18 | public class MessageViewerController implements Initializable { 19 | @FXML 20 | private TreeView treeViewMessageStructure; 21 | @FXML 22 | private TextArea textAreaMessageText; 23 | @FXML 24 | private Button buttonTreeViewToMessageText; 25 | @FXML 26 | private Button buttonMessageTextToTreeView; 27 | 28 | @Override 29 | public void initialize(URL location, ResourceBundle resources) { 30 | initView(); 31 | initEvent(); 32 | } 33 | 34 | private void initView() { 35 | TreeItem treeItem = new TreeItem("暂无数据"); 36 | 37 | treeViewMessageStructure.setRoot(treeItem); 38 | } 39 | 40 | private void initEvent() { 41 | FileChooserUtil.setOnDragByOpenFile(textAreaMessageText); 42 | } 43 | 44 | @FXML 45 | private void treeViewToMessageText(ActionEvent event){ 46 | } 47 | 48 | @FXML 49 | private void messageTextToTreeView(ActionEvent event){ 50 | TreeItem rootTreeItem = treeViewMessageStructure.getRoot(); 51 | rootTreeItem.setExpanded(true); 52 | rootTreeItem.getChildren().clear(); 53 | rootTreeItem.setValue(textAreaMessageText.getAccessibleText()); 54 | String textAreaMessageTextString = textAreaMessageText.getText(); 55 | String[] textAreaMessageTextStrings = textAreaMessageTextString.replace("\n", "").split("'"); 56 | for(int i=0;i treeItem = new TreeItem(i+"\t"+textStrings[0]); 59 | for(int j= 1;j treeItem2 = new TreeItem(j+"\t"+textStrings[j]); 61 | treeItem.getChildren().add(treeItem2); 62 | } 63 | rootTreeItem.getChildren().add(treeItem); 64 | } 65 | } 66 | 67 | } 68 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/controller/epmsTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.controller.epmsTools 7 | * @Description: TODO 8 | * @author: xufeng 9 | * @date: 2017年7月20日 上午11:10:05 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年7月20日 上午11:10:05 17 | */ 18 | package com.xwintop.xJavaFxTool.controller.epmsTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/controller/javaFxTools/JavaFxXmlToObjectCodeController.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.controller.javaFxTools; 2 | 3 | import java.net.URL; 4 | import java.util.ResourceBundle; 5 | 6 | import com.xwintop.xJavaFxTool.services.javaFxTools.JavaFxXmlToObjectCodeService; 7 | 8 | import de.felixroske.jfxsupport.FXMLController; 9 | import javafx.event.ActionEvent; 10 | import javafx.fxml.FXML; 11 | import javafx.fxml.Initializable; 12 | import javafx.scene.control.TextArea; 13 | 14 | @FXMLController 15 | public class JavaFxXmlToObjectCodeController implements Initializable { 16 | @FXML 17 | private TextArea textArea1; 18 | @FXML 19 | private TextArea textArea2; 20 | @FXML 21 | private TextArea textArea3; 22 | @FXML 23 | private TextArea textArea4; 24 | 25 | @Override 26 | public void initialize(URL location, ResourceBundle resources) { 27 | 28 | } 29 | 30 | @FXML 31 | private void xmlToCodeOnAction(ActionEvent event) throws Exception{ 32 | String[] string = JavaFxXmlToObjectCodeService.xmlToCode(textArea1.getText()); 33 | textArea2.setText(string[0]); 34 | textArea3.setText(string[1]); 35 | textArea4.setText(string[2]); 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/controller/javaFxTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.controller.javaFxTools 7 | * @Description: TODO 8 | * @author: xufeng 9 | * @date: 2017年7月24日 上午11:04:07 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年7月24日 上午11:04:07 17 | */ 18 | package com.xwintop.xJavaFxTool.controller.javaFxTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/controller/littleTools/LinuxPathToWindowsPathController.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.controller.littleTools; 2 | 3 | import java.io.File; 4 | import java.net.URL; 5 | import java.util.ResourceBundle; 6 | 7 | import de.felixroske.jfxsupport.FXMLController; 8 | import org.apache.commons.io.FileUtils; 9 | 10 | import com.xwintop.xcore.util.javafx.AlertUtil; 11 | 12 | import javafx.collections.ObservableList; 13 | import javafx.event.ActionEvent; 14 | import javafx.event.EventHandler; 15 | import javafx.fxml.FXML; 16 | import javafx.fxml.Initializable; 17 | import javafx.scene.control.Button; 18 | import javafx.scene.control.ChoiceBox; 19 | import javafx.scene.control.TextField; 20 | import javafx.scene.input.KeyCode; 21 | import javafx.scene.input.KeyEvent; 22 | 23 | @FXMLController 24 | public class LinuxPathToWindowsPathController implements Initializable { 25 | @FXML 26 | private TextField textFieldLinuxPath; 27 | @FXML 28 | private ChoiceBox choiceBoxChooseLUN; 29 | @FXML 30 | private Button buttonCreateWindowsPath; 31 | @FXML 32 | private TextField textFieldWindowsPath; 33 | @FXML 34 | private Button buttonCreateLinuxPath; 35 | 36 | @Override 37 | public void initialize(URL location, ResourceBundle resources) { 38 | initView(); 39 | initEvent(); 40 | } 41 | 42 | private void initView() { 43 | ObservableList observableList = choiceBoxChooseLUN.getItems(); 44 | for (char c = 'A'; c <= 'Z'; c++) { 45 | String dirName = c + ":/"; 46 | File win = new File(dirName); 47 | if (win.exists()) { 48 | observableList.add(dirName); 49 | } 50 | } 51 | choiceBoxChooseLUN.setValue(observableList.get(0)); 52 | } 53 | 54 | private void initEvent() { 55 | textFieldLinuxPath.setOnKeyReleased(new EventHandler() { 56 | @Override 57 | public void handle(KeyEvent event) { 58 | if(event.getCode() == KeyCode.ENTER){ 59 | createWindowsPath(null); 60 | } 61 | } 62 | }); 63 | } 64 | 65 | @FXML 66 | private void createWindowsPath(ActionEvent event){ 67 | try { 68 | String folderPath = choiceBoxChooseLUN.getValue()+textFieldLinuxPath.getText(); 69 | FileUtils.forceMkdir(new File(folderPath)); 70 | textFieldWindowsPath.setText(folderPath); 71 | } catch (Exception e) { 72 | AlertUtil.showWarnAlert("转换异常,请检查路径。"); 73 | } 74 | } 75 | 76 | @FXML 77 | private void createLinuxPath(ActionEvent event) { 78 | } 79 | 80 | } 81 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/controller/littleTools/ZHConverterController.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.controller.littleTools; 2 | 3 | import java.net.URL; 4 | import java.util.ResourceBundle; 5 | 6 | import com.xwintop.xJavaFxTool.services.littleTools.ZHConverterService; 7 | import com.xwintop.xJavaFxTool.view.littleTools.ZHConverterView; 8 | 9 | import de.felixroske.jfxsupport.FXMLController; 10 | import javafx.event.ActionEvent; 11 | import javafx.fxml.FXML; 12 | 13 | /** 14 | * @ClassName: ZHConverterController 15 | * @Description: 字符串转换 16 | * @author: xufeng 17 | * @date: 2017年8月20日 下午1:13:45 18 | */ 19 | @FXMLController 20 | public class ZHConverterController extends ZHConverterView { 21 | private ZHConverterService zhConverterService = new ZHConverterService(); 22 | private String[] codeTypes = new String[] { "拼音", "简-繁", "简体-臺灣正體", "简体-香港繁體", "繁體-臺灣正體", "繁體-香港繁體", "香港繁體-臺灣正體", "数字金额-大写金额"}; 23 | private String[] pinyinTypes = new String[] { "无音调", "数字音调", "符号音调", "声调", "声母", "韵母", "输入法头"}; 24 | 25 | @Override 26 | public void initialize(URL location, ResourceBundle resources) { 27 | initView(); 28 | initEvent(); 29 | initService(); 30 | } 31 | 32 | private void initView() { 33 | codeTypesChoiceBox.getItems().addAll(codeTypes); 34 | codeTypesChoiceBox.setValue(codeTypes[0]); 35 | pinyinTypeChoiceBox.getItems().addAll(pinyinTypes); 36 | pinyinTypeChoiceBox.setValue(pinyinTypes[0]); 37 | } 38 | 39 | private void initEvent() { 40 | } 41 | 42 | private void initService() { 43 | zhConverterService.setCodeTypes(codeTypes); 44 | zhConverterService.setPinyinTypes(pinyinTypes); 45 | } 46 | 47 | @FXML 48 | private void changeAction(ActionEvent event) { 49 | String codeTypeString = codeTypesChoiceBox.getValue(); 50 | String simplifiedString = simplifiedTextArea.getText(); 51 | String pinyinTypeString = pinyinTypeChoiceBox.getValue(); 52 | String pinyinTypeSpaceString = pinyinTypeTextField.getText(); 53 | String traditionalString = zhConverterService.changeAction(simplifiedString, codeTypeString, pinyinTypeString,pinyinTypeSpaceString); 54 | traditionalTextArea.setText(traditionalString); 55 | } 56 | 57 | @FXML 58 | private void restoreAction(ActionEvent event) { 59 | String codeTypeString = codeTypesChoiceBox.getValue(); 60 | String traditionalString = traditionalTextArea.getText(); 61 | String simplifiedString = zhConverterService.restoreAction(traditionalString, codeTypeString); 62 | simplifiedTextArea.setText(simplifiedString); 63 | } 64 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/controller/littleTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.controller.littleTools 7 | * @Description: TODO 8 | * @author: xufeng 9 | * @date: 2017年7月26日 上午8:55:47 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年7月26日 上午8:55:47 17 | */ 18 | package com.xwintop.xJavaFxTool.controller.littleTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/controller/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.controller 7 | * @Description: 视图控制层包 8 | * @author: xufeng 9 | * @date: 2017年7月20日 上午9:11:11 10 | * @version: V1.0 11 | */ 12 | package com.xwintop.xJavaFxTool.controller; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/controller/webTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.controller.webTools 7 | * @Description: TODO 8 | * @author: xufeng 9 | * @date: 2017年8月16日 下午5:14:18 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年8月16日 下午5:14:18 17 | */ 18 | package com.xwintop.xJavaFxTool.controller.webTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/IndexView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView; 2 | 3 | import com.xwintop.xJavaFxTool.utils.Config; 4 | 5 | import org.apache.commons.lang3.reflect.FieldUtils; 6 | import org.springframework.context.annotation.Scope; 7 | 8 | import java.util.Optional; 9 | import java.util.ResourceBundle; 10 | 11 | import de.felixroske.jfxsupport.AbstractFxmlView; 12 | import de.felixroske.jfxsupport.FXMLView; 13 | import de.felixroske.jfxsupport.GUIState; 14 | 15 | /** 16 | * @ClassName: IndexView 17 | * @Description: 18 | * @author: xufeng 19 | * @date: 2017/11/22 17:38 20 | */ 21 | @Scope("prototype") 22 | @FXMLView(value = "/fxml/Index.fxml", bundle = "locale.Menu") 23 | public class IndexView extends AbstractFxmlView { 24 | public IndexView() throws Exception { 25 | //反射修改默认语言 26 | ResourceBundle bundle = ResourceBundle.getBundle(this.getResourceBundle().get().getBaseBundleName(), Config.defaultLocale); 27 | FieldUtils.writeField(this,"bundle",Optional.ofNullable(bundle),true); 28 | GUIState.getStage().setTitle(bundle.getString("Title"));//修改标题国际化 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/codeTools/EscapeCharacterView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.codeTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import org.springframework.context.annotation.Scope; 6 | 7 | @Scope("prototype") 8 | @FXMLView 9 | public class EscapeCharacterView extends AbstractFxmlView { 10 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/codeTools/IdCardGeneratorView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.codeTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import org.springframework.context.annotation.Scope; 6 | 7 | @Scope("prototype") 8 | @FXMLView 9 | public class IdCardGeneratorView extends AbstractFxmlView { 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/codeTools/RegexTesterView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.codeTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import org.springframework.context.annotation.Scope; 6 | 7 | @Scope("prototype") 8 | @FXMLView 9 | public class RegexTesterView extends AbstractFxmlView { 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/codeTools/WebSourcesToolView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.codeTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import javafx.fxml.FXML; 6 | import javafx.fxml.Initializable; 7 | import javafx.scene.control.Button; 8 | import javafx.scene.control.TextField; 9 | import javafx.scene.web.WebView; 10 | import lombok.Getter; 11 | import lombok.Setter; 12 | import org.springframework.context.annotation.Scope; 13 | 14 | 15 | @Scope("prototype") 16 | @FXMLView 17 | public class WebSourcesToolView extends AbstractFxmlView { 18 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/codeTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.view.codeTools 7 | * @Description: TODO 8 | * @author: Administrator 9 | * @date: 2017年8月17日 下午8:07:08 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: Administrator 16 | * @date: 2017年8月17日 下午8:07:08 17 | */ 18 | package com.xwintop.xJavaFxTool.fxmlView.codeTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/debugTools/ActiveMqToolView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.debugTools; 2 | 3 | import com.xwintop.xJavaFxTool.model.ActiveMqToolReceiverTableBean; 4 | import com.xwintop.xJavaFxTool.model.ActiveMqToolTableBean; 5 | import com.xwintop.xcore.base.XProperty; 6 | import de.felixroske.jfxsupport.AbstractFxmlView; 7 | import de.felixroske.jfxsupport.FXMLView; 8 | import javafx.fxml.FXML; 9 | import javafx.fxml.Initializable; 10 | import javafx.scene.control.*; 11 | import javafx.scene.layout.AnchorPane; 12 | import lombok.Getter; 13 | import org.springframework.context.annotation.Scope; 14 | 15 | @Scope("prototype") 16 | @FXMLView 17 | public class ActiveMqToolView extends AbstractFxmlView { 18 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/debugTools/CmdToolView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.debugTools; 2 | 3 | import com.xwintop.xJavaFxTool.model.CmdToolTableBean; 4 | import de.felixroske.jfxsupport.AbstractFxmlView; 5 | import de.felixroske.jfxsupport.FXMLView; 6 | import javafx.fxml.FXML; 7 | import javafx.fxml.Initializable; 8 | import javafx.scene.control.*; 9 | import javafx.scene.layout.AnchorPane; 10 | import lombok.Getter; 11 | import lombok.Setter; 12 | import org.springframework.context.annotation.Scope; 13 | 14 | @Scope("prototype") 15 | @FXMLView 16 | public class CmdToolView extends AbstractFxmlView { 17 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/debugTools/FtpClientToolView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.debugTools; 2 | 3 | import com.xwintop.xJavaFxTool.model.FtpClientToolTableBean; 4 | import de.felixroske.jfxsupport.AbstractFxmlView; 5 | import de.felixroske.jfxsupport.FXMLView; 6 | import javafx.fxml.FXML; 7 | import javafx.fxml.Initializable; 8 | import javafx.scene.control.*; 9 | import javafx.scene.layout.AnchorPane; 10 | import lombok.Getter; 11 | import lombok.Setter; 12 | import org.springframework.context.annotation.Scope; 13 | 14 | @Scope("prototype") 15 | @FXMLView 16 | public class FtpClientToolView extends AbstractFxmlView { 17 | 18 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/debugTools/FtpServerView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.debugTools; 2 | 3 | import com.xwintop.xJavaFxTool.model.FtpServerTableBean; 4 | import de.felixroske.jfxsupport.AbstractFxmlView; 5 | import de.felixroske.jfxsupport.FXMLView; 6 | import javafx.fxml.FXML; 7 | import javafx.fxml.Initializable; 8 | import javafx.scene.control.*; 9 | import lombok.Getter; 10 | import lombok.Setter; 11 | import org.springframework.context.annotation.Scope; 12 | 13 | @Scope("prototype") 14 | @FXMLView 15 | public class FtpServerView extends AbstractFxmlView { 16 | 17 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/debugTools/HttpToolView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.debugTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import javafx.fxml.FXML; 6 | import javafx.fxml.Initializable; 7 | import javafx.scene.control.*; 8 | import javafx.scene.image.ImageView; 9 | import javafx.scene.web.WebView; 10 | import lombok.Getter; 11 | import org.springframework.context.annotation.Scope; 12 | 13 | import java.util.Map; 14 | 15 | @Scope("prototype") 16 | @FXMLView 17 | public class HttpToolView extends AbstractFxmlView { 18 | 19 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/debugTools/SwitchHostsToolView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.debugTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import javafx.fxml.FXML; 6 | import javafx.fxml.Initializable; 7 | import javafx.scene.control.Button; 8 | import javafx.scene.control.TextArea; 9 | import javafx.scene.control.TreeView; 10 | import lombok.Getter; 11 | import lombok.Setter; 12 | import org.springframework.context.annotation.Scope; 13 | 14 | @Scope("prototype") 15 | @FXMLView 16 | public class SwitchHostsToolView extends AbstractFxmlView { 17 | 18 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/debugTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.view.debugTools 7 | * @Description: TODO 8 | * @author: xufeng 9 | * @date: 2017年8月21日 上午10:57:48 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年8月21日 上午10:57:48 17 | */ 18 | package com.xwintop.xJavaFxTool.fxmlView.debugTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/debugTools/redisTool/RedisToolDataTableView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.debugTools.redisTool; 2 | 3 | import com.xwintop.xJavaFxTool.model.RedisToolDataTableBean; 4 | import de.felixroske.jfxsupport.AbstractFxmlView; 5 | import de.felixroske.jfxsupport.FXMLView; 6 | import javafx.fxml.FXML; 7 | import javafx.fxml.Initializable; 8 | import javafx.scene.control.TableColumn; 9 | import javafx.scene.control.TableView; 10 | import lombok.Getter; 11 | import lombok.Setter; 12 | import org.springframework.context.annotation.Scope; 13 | 14 | @Scope("prototype") 15 | @FXMLView 16 | public class RedisToolDataTableView extends AbstractFxmlView { 17 | 18 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/debugTools/redisTool/RedisToolDataViewView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.debugTools.redisTool; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import javafx.fxml.FXML; 6 | import javafx.fxml.Initializable; 7 | import javafx.scene.control.*; 8 | import javafx.scene.layout.HBox; 9 | import lombok.Getter; 10 | import lombok.Setter; 11 | import org.springframework.context.annotation.Scope; 12 | 13 | import java.util.Map; 14 | 15 | @Scope("prototype") 16 | @FXMLView 17 | public class RedisToolDataViewView extends AbstractFxmlView { 18 | 19 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/debugTools/redisTool/RedisToolDialogView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.debugTools.redisTool; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import org.springframework.context.annotation.Scope; 6 | 7 | @Scope("prototype") 8 | @FXMLView 9 | public class RedisToolDialogView extends AbstractFxmlView { 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/debugTools/redisTool/RedisToolView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.debugTools.redisTool; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import javafx.fxml.FXML; 6 | import javafx.fxml.Initializable; 7 | import javafx.scene.control.Button; 8 | import javafx.scene.control.TabPane; 9 | import javafx.scene.control.TreeView; 10 | import lombok.Getter; 11 | import lombok.Setter; 12 | import org.springframework.context.annotation.Scope; 13 | 14 | @Scope("prototype") 15 | @FXMLView 16 | public class RedisToolView extends AbstractFxmlView { 17 | 18 | } 19 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/debugTools/redisTool/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.view.debugTools.redisTool 7 | * @Description: TODO 8 | * @author: xufeng 9 | * @date: 2017年9月5日 上午12:10:34 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年9月5日 上午12:10:34 17 | */ 18 | package com.xwintop.xJavaFxTool.fxmlView.debugTools.redisTool; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/developTools/DirectoryTreeToolView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.developTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import javafx.fxml.FXML; 6 | import javafx.fxml.Initializable; 7 | import javafx.scene.control.*; 8 | import lombok.Getter; 9 | import lombok.Setter; 10 | import org.springframework.context.annotation.Scope; 11 | 12 | import java.util.Map; 13 | 14 | /** 15 | * @ClassName: DirectoryTreeToolView 16 | * @Description: 文件列表生成器工具 17 | * @author: xufeng 18 | * @date: 2017年11月13日 下午4:34:11 19 | */ 20 | @Scope("prototype") 21 | @FXMLView 22 | public class DirectoryTreeToolView extends AbstractFxmlView { 23 | 24 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/developTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.view.developTools 7 | * @Description: 开发工具视图包 8 | * @author: xufeng 9 | * @date: 2017年11月10日 下午4:30:17 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年11月10日 下午4:30:17 17 | */ 18 | package com.xwintop.xJavaFxTool.fxmlView.developTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/epmsTools/DebugEpmsView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.epmsTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import org.springframework.context.annotation.Scope; 6 | 7 | @Scope("prototype") 8 | @FXMLView 9 | public class DebugEpmsView extends AbstractFxmlView { 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/epmsTools/GeneratingCodeView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.epmsTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import org.springframework.context.annotation.Scope; 6 | 7 | @Scope("prototype") 8 | @FXMLView 9 | public class GeneratingCodeView extends AbstractFxmlView { 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/epmsTools/MessageViewerView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.epmsTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import org.springframework.context.annotation.Scope; 6 | 7 | @Scope("prototype") 8 | @FXMLView 9 | public class MessageViewerView extends AbstractFxmlView { 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/epmsTools/package-info.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.epmsTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/javaFxTools/JavaFxXmlToObjectCodeView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.javaFxTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import org.springframework.context.annotation.Scope; 6 | 7 | @Scope("prototype") 8 | @FXMLView 9 | public class JavaFxXmlToObjectCodeView extends AbstractFxmlView { 10 | 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/javaFxTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.controller.javaFxTools 7 | * @Description: TODO 8 | * @author: xufeng 9 | * @date: 2017年7月24日 上午11:04:07 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年7月24日 上午11:04:07 17 | */ 18 | package com.xwintop.xJavaFxTool.fxmlView.javaFxTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/littleTools/CharacterConverterView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.littleTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import org.springframework.context.annotation.Scope; 6 | 7 | @Scope("prototype") 8 | @FXMLView 9 | public class CharacterConverterView extends AbstractFxmlView { 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/littleTools/CronExpBuilderView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.littleTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import javafx.fxml.Initializable; 6 | import org.springframework.context.annotation.Scope; 7 | 8 | @Scope("prototype") 9 | @FXMLView 10 | public class CronExpBuilderView extends AbstractFxmlView { 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/littleTools/EncryptAndDecryptView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.littleTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import org.springframework.context.annotation.Scope; 6 | 7 | @Scope("prototype") 8 | @FXMLView 9 | public class EncryptAndDecryptView extends AbstractFxmlView { 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/littleTools/FileCopyView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.littleTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import org.springframework.context.annotation.Scope; 6 | 7 | @Scope("prototype") 8 | //@FXMLView(value = "/fxml/littleTools/FileCopy.fxml", bundle = "locale.Menu") 9 | @FXMLView 10 | public class FileCopyView extends AbstractFxmlView { 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/littleTools/IconToolView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.littleTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import javafx.fxml.FXML; 6 | import javafx.fxml.Initializable; 7 | import javafx.scene.control.*; 8 | import javafx.scene.image.ImageView; 9 | import javafx.scene.layout.FlowPane; 10 | import lombok.Data; 11 | import net.coobird.thumbnailator.geometry.Positions; 12 | import org.springframework.context.annotation.Scope; 13 | 14 | @Scope("prototype") 15 | @FXMLView 16 | public class IconToolView extends AbstractFxmlView { 17 | 18 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/littleTools/LinuxPathToWindowsPathView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.littleTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import org.springframework.context.annotation.Scope; 6 | 7 | @Scope("prototype") 8 | @FXMLView 9 | public class LinuxPathToWindowsPathView extends AbstractFxmlView { 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/littleTools/PdfConvertToolView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.littleTools; 2 | 3 | import com.jfoenix.controls.JFXComboBox; 4 | import de.felixroske.jfxsupport.AbstractFxmlView; 5 | import de.felixroske.jfxsupport.FXMLView; 6 | import javafx.fxml.FXML; 7 | import javafx.fxml.Initializable; 8 | import javafx.scene.control.Button; 9 | import javafx.scene.control.ChoiceBox; 10 | import javafx.scene.control.Label; 11 | import javafx.scene.control.TextField; 12 | import lombok.Getter; 13 | import lombok.Setter; 14 | import org.controlsfx.control.RangeSlider; 15 | import org.springframework.context.annotation.Scope; 16 | 17 | /** 18 | * @ClassName: PdfConvertToolView 19 | * @Description: pdf转换工具 20 | * @author: xufeng 21 | * @date: 2017年11月3日 下午6:13:04 22 | */ 23 | @Scope("prototype") 24 | @FXMLView 25 | public class PdfConvertToolView extends AbstractFxmlView { 26 | 27 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/littleTools/QRCodeBuilderView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.littleTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import javafx.fxml.Initializable; 6 | import org.springframework.context.annotation.Scope; 7 | 8 | @Scope("prototype") 9 | @FXMLView 10 | public class QRCodeBuilderView extends AbstractFxmlView { 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/littleTools/TimeToolView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.littleTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import org.springframework.context.annotation.Scope; 6 | 7 | @Scope("prototype") 8 | @FXMLView 9 | public class TimeToolView extends AbstractFxmlView { 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/littleTools/ZHConverterView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.littleTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import javafx.fxml.Initializable; 6 | import org.springframework.context.annotation.Scope; 7 | 8 | @Scope("prototype") 9 | @FXMLView 10 | public class ZHConverterView extends AbstractFxmlView { 11 | 12 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/littleTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.view.littleTools 7 | * @Description: TODO 8 | * @author: xufeng 9 | * @date: 2017年8月15日 下午3:40:52 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年8月15日 下午3:40:52 17 | */ 18 | package com.xwintop.xJavaFxTool.fxmlView.littleTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/webTools/ShortURLView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.fxmlView.webTools; 2 | 3 | import de.felixroske.jfxsupport.AbstractFxmlView; 4 | import de.felixroske.jfxsupport.FXMLView; 5 | import javafx.fxml.Initializable; 6 | import org.springframework.context.annotation.Scope; 7 | 8 | @Scope("prototype") 9 | @FXMLView 10 | public class ShortURLView extends AbstractFxmlView { 11 | } 12 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/fxmlView/webTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.view.webTools 7 | * @Description: TODO 8 | * @author: xufeng 9 | * @date: 2017年8月16日 下午5:14:42 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年8月16日 下午5:14:42 17 | */ 18 | package com.xwintop.xJavaFxTool.fxmlView.webTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/job/ActiveMqToolJob.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.job; 2 | 3 | import org.quartz.Job; 4 | import org.quartz.JobExecutionContext; 5 | import org.quartz.JobExecutionException; 6 | import org.quartz.JobKey; 7 | 8 | import com.xwintop.xJavaFxTool.services.debugTools.ActiveMqToolService; 9 | 10 | public class ActiveMqToolJob implements Job { 11 | 12 | @Override 13 | public void execute(JobExecutionContext context) throws JobExecutionException { 14 | ActiveMqToolService activeMqToolService = (ActiveMqToolService) context.getMergedJobDataMap().get("activeMqToolService"); 15 | try { 16 | activeMqToolService.sendAction(); 17 | } catch (Exception e) { 18 | e.printStackTrace(); 19 | } 20 | JobKey jobKey = context.getJobDetail().getKey(); 21 | System.out.println("执行了"+jobKey); 22 | } 23 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/job/CmdToolJob.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.job; 2 | 3 | import org.quartz.Job; 4 | import org.quartz.JobExecutionContext; 5 | import org.quartz.JobExecutionException; 6 | import org.quartz.JobKey; 7 | 8 | import com.xwintop.xJavaFxTool.services.debugTools.CmdToolService; 9 | 10 | /** 11 | * @ClassName: CmdToolJob 12 | * @Description: Cmd工具类Job 13 | * @author: xufeng 14 | * @date: 2017年10月26日 下午1:53:46 15 | */ 16 | public class CmdToolJob implements Job{ 17 | 18 | @Override 19 | public void execute(JobExecutionContext context) throws JobExecutionException { 20 | CmdToolService cmdToolService = (CmdToolService) context.getMergedJobDataMap().get("cmdToolService"); 21 | try { 22 | cmdToolService.runAllAction(); 23 | } catch (Exception e) { 24 | e.printStackTrace(); 25 | } 26 | JobKey jobKey = context.getJobDetail().getKey(); 27 | System.out.println("执行了"+jobKey); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/job/FileCopyJob.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.job; 2 | 3 | import org.quartz.Job; 4 | import org.quartz.JobExecutionContext; 5 | import org.quartz.JobExecutionException; 6 | 7 | import com.xwintop.xJavaFxTool.services.littleTools.FileCopyService; 8 | 9 | public class FileCopyJob implements Job{ 10 | 11 | @Override 12 | public void execute(JobExecutionContext context) throws JobExecutionException { 13 | FileCopyService fileCopyService = (FileCopyService) context.getMergedJobDataMap().get("fileCopyService"); 14 | try { 15 | fileCopyService.copyAction(); 16 | } catch (Exception e) { 17 | e.printStackTrace(); 18 | } 19 | // JobKey jobKey = context.getJobDetail().getKey(); 20 | // System.out.println("执行了"+jobKey); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/job/FtpClientToolJob.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.job; 2 | 3 | import org.quartz.Job; 4 | import org.quartz.JobExecutionContext; 5 | import org.quartz.JobExecutionException; 6 | import org.quartz.JobKey; 7 | 8 | import com.xwintop.xJavaFxTool.services.debugTools.FtpClientToolService; 9 | 10 | /** 11 | * @ClassName: CmdToolJob 12 | * @Description: Cmd工具类Job 13 | * @author: xufeng 14 | * @date: 2017年10月26日 下午1:53:46 15 | */ 16 | public class FtpClientToolJob implements Job{ 17 | 18 | @Override 19 | public void execute(JobExecutionContext context) throws JobExecutionException { 20 | FtpClientToolService ftpClientToolService = (FtpClientToolService) context.getMergedJobDataMap().get("ftpClientToolService"); 21 | try { 22 | ftpClientToolService.runAllAction(); 23 | } catch (Exception e) { 24 | e.printStackTrace(); 25 | } 26 | JobKey jobKey = context.getJobDetail().getKey(); 27 | System.out.println("执行了"+jobKey); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/job/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.job 7 | * @Description: job包 8 | * @author: xufeng 9 | * @date: 2017年8月21日 下午2:57:54 10 | * @version: V1.0 11 | */ 12 | package com.xwintop.xJavaFxTool.job; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/main/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.main 7 | * @Description: TODO 8 | * @author: xufeng 9 | * @date: 2017年7月20日 上午9:59:33 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年7月20日 上午9:59:33 17 | */ 18 | package com.xwintop.xJavaFxTool.main; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/manager/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.manager 7 | * @Description: manager层包 8 | * @author: Administrator 9 | * @date: 2017年7月21日 下午9:25:28 10 | * @version: V1.0 11 | */ 12 | package com.xwintop.xJavaFxTool.manager; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/model/FtpClientToolTableBean.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.model; 2 | 3 | import javafx.beans.property.BooleanProperty; 4 | import javafx.beans.property.SimpleBooleanProperty; 5 | import javafx.beans.property.SimpleStringProperty; 6 | 7 | public class FtpClientToolTableBean { 8 | private SimpleBooleanProperty isEnabled; 9 | private SimpleStringProperty localFile; 10 | private SimpleStringProperty serverFile; 11 | private SimpleStringProperty type; 12 | private SimpleStringProperty remarks; 13 | 14 | public FtpClientToolTableBean(Boolean isEnabled, String localFile, String serverFile, String type, String remarks) { 15 | this.isEnabled = new SimpleBooleanProperty(isEnabled); 16 | this.localFile = new SimpleStringProperty(localFile); 17 | this.serverFile = new SimpleStringProperty(serverFile); 18 | this.type = new SimpleStringProperty(type); 19 | this.remarks = new SimpleStringProperty(remarks); 20 | } 21 | 22 | public FtpClientToolTableBean(String propertys) { 23 | String[] strings = propertys.split("__",5); 24 | this.isEnabled = new SimpleBooleanProperty(Boolean.valueOf(strings[0])); 25 | this.localFile = new SimpleStringProperty(strings[1]); 26 | this.serverFile = new SimpleStringProperty(strings[2]); 27 | this.type = new SimpleStringProperty(strings[3]); 28 | this.remarks = new SimpleStringProperty(strings[4]); 29 | } 30 | 31 | public String getPropertys() { 32 | return isEnabled.get() + "__" + localFile.get() + "__" + serverFile.get() + "__" + type.get() + "__" 33 | + remarks.get(); 34 | } 35 | 36 | public BooleanProperty isEnabledProperty() { 37 | return isEnabled; 38 | } 39 | 40 | public Boolean getIsEnabled() { 41 | return isEnabled.get(); 42 | } 43 | 44 | public void setIsEnabled(Boolean isEnabled) { 45 | this.isEnabled.set(isEnabled); 46 | } 47 | 48 | public String getLocalFile() { 49 | return localFile.get(); 50 | } 51 | 52 | public void setLocalFile(String localFile) { 53 | this.localFile.set(localFile); 54 | } 55 | 56 | public String getServerFile() { 57 | return serverFile.get(); 58 | } 59 | 60 | public void setServerFile(String serverFile) { 61 | this.serverFile.set(serverFile); 62 | } 63 | 64 | public String getType() { 65 | return type.get(); 66 | } 67 | 68 | public void setType(String type) { 69 | this.type.set(type); 70 | } 71 | 72 | public String getRemarks() { 73 | return remarks.get(); 74 | } 75 | 76 | public void setRemarks(String remarks) { 77 | this.remarks.set(remarks); 78 | } 79 | 80 | } 81 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/model/RedisToolDataTableBean.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.model; 2 | 3 | import javafx.beans.property.SimpleStringProperty; 4 | 5 | public class RedisToolDataTableBean { 6 | private SimpleStringProperty name; 7 | private SimpleStringProperty type; 8 | private SimpleStringProperty size; 9 | private SimpleStringProperty time; 10 | 11 | public RedisToolDataTableBean(SimpleStringProperty name, SimpleStringProperty type, SimpleStringProperty size, 12 | SimpleStringProperty time) { 13 | super(); 14 | this.name = name; 15 | this.type = type; 16 | this.size = size; 17 | this.time = time; 18 | } 19 | 20 | public RedisToolDataTableBean(String name, String type, String size, String time) { 21 | super(); 22 | this.name = new SimpleStringProperty(name); 23 | this.type = new SimpleStringProperty(type); 24 | this.size = new SimpleStringProperty(size); 25 | this.time = new SimpleStringProperty(time); 26 | } 27 | 28 | public String getName() { 29 | return name.get(); 30 | } 31 | 32 | public void setName(String name) { 33 | this.name.set(name); 34 | } 35 | 36 | public String getType() { 37 | return type.get(); 38 | } 39 | 40 | public void setType(String type) { 41 | this.type.set(type); 42 | } 43 | 44 | public String getSize() { 45 | return size.get(); 46 | } 47 | 48 | public void setSize(String size) { 49 | this.size.set(size); 50 | } 51 | 52 | public String getTime() { 53 | return time.get(); 54 | } 55 | 56 | public void setTime(String time) { 57 | this.time.set(time); 58 | } 59 | 60 | } 61 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/model/ToolFxmlLoaderConfiguration.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.model; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | @Data 8 | @NoArgsConstructor 9 | @AllArgsConstructor 10 | public class ToolFxmlLoaderConfiguration { 11 | private String url;//资源url 12 | private String resourceBundleName;//国际化资源文件 13 | private String className;//class名称 14 | private String title;//标题(配合国际化资源文件,无着默认显示原字符) 15 | private String iconPath;//图标路径 16 | private Boolean isDefaultShow = false;// 是否默认打开 17 | private String menuId;// 菜单id 18 | private String menuParentId;// 菜单父id 19 | private Boolean isMenu = false;//是否为菜单 20 | private String controllerType = "Node";// 内容类型 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/model/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.model 7 | * @Description: model层包 8 | * @author: xufeng 9 | * @date: 2017年7月20日 上午9:08:17 10 | * @version: V1.0 11 | */ 12 | package com.xwintop.xJavaFxTool.model; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/services/IndexService.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.services; 2 | 3 | import java.io.File; 4 | import java.util.Locale; 5 | import java.util.Map; 6 | import java.util.ResourceBundle; 7 | 8 | import com.xwintop.xJavaFxTool.Main; 9 | import com.xwintop.xJavaFxTool.fxmlView.IndexView; 10 | import com.xwintop.xJavaFxTool.utils.Config; 11 | import org.apache.commons.configuration.PropertiesConfiguration; 12 | import org.apache.commons.io.FileUtils; 13 | 14 | import com.xwintop.xJavaFxTool.utils.ConfigureUtil; 15 | import com.xwintop.xcore.util.javafx.AlertUtil; 16 | 17 | import javafx.scene.control.ContextMenu; 18 | import javafx.scene.control.MenuItem; 19 | import lombok.Setter; 20 | 21 | @Setter 22 | public class IndexService { 23 | private ResourceBundle bundle; 24 | private Map menuItemMap; 25 | 26 | public void setLanguageAction(String languageType) throws Exception { 27 | File file = ConfigureUtil.getConfigureFile("systemConfigure.properties"); 28 | FileUtils.touch(file); 29 | PropertiesConfiguration xmlConfigure = new PropertiesConfiguration(file); 30 | if ("简体中文".equals(languageType)) { 31 | Config.defaultLocale = Locale.SIMPLIFIED_CHINESE; 32 | xmlConfigure.setProperty("Locale", Locale.SIMPLIFIED_CHINESE); 33 | } else if ("English".equals(languageType)) { 34 | Config.defaultLocale = Locale.US; 35 | xmlConfigure.setProperty("Locale", Locale.US); 36 | } 37 | xmlConfigure.save(); 38 | AlertUtil.showInfoAlert(bundle.getString("SetLanguageText")); 39 | Main.showView(IndexView.class); 40 | } 41 | 42 | public ContextMenu getSelectContextMenu(String selectText) { 43 | ContextMenu contextMenu = new ContextMenu(); 44 | for (MenuItem menuItem : menuItemMap.values()) { 45 | if (menuItem.getText().contains(selectText)) { 46 | MenuItem menu_tab = new MenuItem(menuItem.getText(),menuItem.getGraphic()); 47 | menu_tab.setOnAction(event1 -> { 48 | menuItem.fire(); 49 | }); 50 | contextMenu.getItems().add(menu_tab); 51 | } 52 | } 53 | return contextMenu; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/services/codeTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.services.codeTools 7 | * @Description: TODO 8 | * @author: Administrator 9 | * @date: 2017年8月13日 下午5:09:54 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: Administrator 16 | * @date: 2017年8月13日 下午5:09:54 17 | */ 18 | package com.xwintop.xJavaFxTool.services.codeTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/services/debugTools/SwitchHostsToolService.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.services.debugTools; 2 | 3 | import com.xwintop.xJavaFxTool.controller.debugTools.SwitchHostsToolController; 4 | 5 | import org.apache.commons.io.FileUtils; 6 | 7 | import java.io.File; 8 | 9 | import lombok.Getter; 10 | import lombok.Setter; 11 | import lombok.extern.log4j.Log4j; 12 | 13 | @Getter 14 | @Setter 15 | @Log4j 16 | public class SwitchHostsToolService { 17 | private SwitchHostsToolController switchHostsToolController; 18 | 19 | private String commonHostString = "# common\n" + 20 | "# 这儿是公用 hosts,其内容会插入到各个方案最前面"; 21 | private String systemHostString = ""; 22 | private String localHost1String = "# 方案一\n" + 23 | "# 什么也没有绑定\n" + 24 | "#\n" + 25 | "# 在这儿输入你需要绑定的 hosts"; 26 | private String localHost2String = "# 方案二\n"; 27 | 28 | public void reloadSystemHosts() throws Exception { 29 | String fileName = null; 30 | // 判断系统 31 | if ("linux".equalsIgnoreCase(System.getProperty("os.name"))) { 32 | fileName = "/etc/hosts"; 33 | } else { 34 | fileName = "C://WINDOWS//system32//drivers//etc//hosts"; 35 | } 36 | log.info("fileName:"+fileName); 37 | String systemHostString = FileUtils.readFileToString(new File(fileName),"utf-8"); 38 | switchHostsToolController.getHostTextArea().setText(systemHostString); 39 | 40 | } 41 | 42 | public SwitchHostsToolService(SwitchHostsToolController switchHostsToolController) { 43 | this.switchHostsToolController = switchHostsToolController; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/services/debugTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.services.debugTools 7 | * @Description: TODO 8 | * @author: xufeng 9 | * @date: 2017年8月21日 上午10:57:58 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年8月21日 上午10:57:58 17 | */ 18 | package com.xwintop.xJavaFxTool.services.debugTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/services/debugTools/redisTool/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.services.debugTools.redisTool 7 | * @Description: TODO 8 | * @author: xufeng 9 | * @date: 2017年9月5日 上午12:14:07 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年9月5日 上午12:14:07 17 | */ 18 | package com.xwintop.xJavaFxTool.services.debugTools.redisTool; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/services/developTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.services.developTools 7 | * @Description: 开发工具服务层包 8 | * @author: xufeng 9 | * @date: 2017年11月10日 下午4:30:56 10 | * @version: V1.0 11 | */ 12 | package com.xwintop.xJavaFxTool.services.developTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/services/epmsTools/XmlToBeanService.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.services.epmsTools; 2 | 3 | public class XmlToBeanService { 4 | public static String xmlTobean(String string) { 5 | StringBuilder sBuilder = new StringBuilder(); 6 | 7 | String[] strings = string.split("\n"); 8 | for(String str : strings){ 9 | String[] rawDataStrings = str.split("\t"); 10 | if("NUMBER".equals(rawDataStrings[1])){ 11 | sBuilder.append("private int "); 12 | }else if ("VARCHAR2".equals(rawDataStrings[1])) { 13 | sBuilder.append("private String "); 14 | }else if ("DATE".equals(rawDataStrings[1])) { 15 | sBuilder.append("private Date "); 16 | }else{ 17 | sBuilder.append("private String "); 18 | } 19 | sBuilder.append(rawDataStrings[0]).append(";\n"); 20 | } 21 | return sBuilder.toString(); 22 | } 23 | 24 | public static String sqlToJdbcInsert1(String string,String tableName) { 25 | StringBuilder sBuilder = new StringBuilder("insert into "+tableName+"("); 26 | StringBuilder sBuilder2 = new StringBuilder(); 27 | 28 | String[] strings = string.split("\n"); 29 | for(String str : strings){ 30 | String[] rawDataStrings = str.split(" "); 31 | sBuilder.append(rawDataStrings[0]).append(","); 32 | sBuilder2.append("?,"); 33 | } 34 | sBuilder.deleteCharAt(sBuilder.length()-1); 35 | sBuilder2.deleteCharAt(sBuilder2.length()-1); 36 | sBuilder.append(") values("+sBuilder2.toString()+")"); 37 | return sBuilder.toString(); 38 | } 39 | 40 | public static String sqlToJdbcInsert(String string,String tableName) { 41 | tableName = "insert into ODI_SRC.SHIP_AGENT_HS_CODE(id,HACODE_LEVEL,HSCODE,HSCODE_NAME) values ("; 42 | StringBuilder sBuilder = new StringBuilder(); 43 | String[] strings = string.split("\n"); 44 | int i = 1; 45 | for(String str : strings){ 46 | sBuilder.append(tableName).append(i++).append(",'"); 47 | String[] rawDataStrings = str.split("\t"); 48 | sBuilder.append(rawDataStrings[0]).append("','").append(rawDataStrings[1]).append("','").append(rawDataStrings[2]); 49 | sBuilder.append("');\n"); 50 | } 51 | return sBuilder.toString(); 52 | } 53 | 54 | public static String sqlToJdbcUpdate(String string,String tableName) { 55 | StringBuilder sBuilder = new StringBuilder("update "+tableName+" set "); 56 | 57 | String[] strings = string.split("\n"); 58 | for(String str : strings){ 59 | String[] rawDataStrings = str.split(" "); 60 | sBuilder.append(rawDataStrings[0]).append("=?, "); 61 | } 62 | sBuilder.deleteCharAt(sBuilder.length()-1); 63 | sBuilder.deleteCharAt(sBuilder.length()-1); 64 | sBuilder.append(" where name = ?"); 65 | return sBuilder.toString(); 66 | } 67 | } 68 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/services/epmsTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.services.epmsTools 7 | * @Description: TODO 8 | * @author: xufeng 9 | * @date: 2017年7月20日 下午1:09:26 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年7月20日 下午1:09:26 17 | */ 18 | package com.xwintop.xJavaFxTool.services.epmsTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/services/javaFxTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.services.javaFxTools 7 | * @Description: TODO 8 | * @author: xufeng 9 | * @date: 2017年7月24日 上午11:18:09 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年7月24日 上午11:18:09 17 | */ 18 | package com.xwintop.xJavaFxTool.services.javaFxTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/services/littleTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.services.littleTools 7 | * @Description: TODO 8 | * @author: Administrator 9 | * @date: 2017年8月13日 下午4:58:29 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: Administrator 16 | * @date: 2017年8月13日 下午4:58:29 17 | */ 18 | package com.xwintop.xJavaFxTool.services.littleTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/services/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.services 7 | * @Description: 服务层包 8 | * @author: xufeng 9 | * @date: 2017年7月20日 上午9:12:13 10 | * @version: V1.0 11 | */ 12 | package com.xwintop.xJavaFxTool.services; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/services/webTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.services.webTools 7 | * @Description: TODO 8 | * @author: Administrator 9 | * @date: 2017年8月16日 下午8:06:54 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: Administrator 16 | * @date: 2017年8月16日 下午8:06:54 17 | */ 18 | package com.xwintop.xJavaFxTool.services.webTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/utils/AttributeConvertUtil.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.utils; 2 | 3 | /** 4 | * @ClassName: AttributeConvertUtil 5 | * @Description: 类属性转换工具类 6 | * @author: xufeng 7 | * @date: 2017年7月11日 下午1:20:05 8 | */ 9 | public class AttributeConvertUtil { 10 | public static String getAttributeNameByXml(String str) { 11 | StringBuilder stringBuilder = new StringBuilder(); 12 | String[] strings = str.split("_"); 13 | for (int i = 0; i < strings.length; i++) { 14 | if (i == 0) { 15 | stringBuilder.append(Character.toLowerCase(strings[i].charAt(0))); 16 | } else { 17 | stringBuilder.append(Character.toUpperCase(strings[i].charAt(0))); 18 | } 19 | stringBuilder.append(strings[i].substring(1)); 20 | } 21 | return stringBuilder.toString(); 22 | } 23 | 24 | public static String getAttributeSetNameByXml(String str) { 25 | StringBuilder stringBuilder = new StringBuilder(); 26 | String[] strings = str.split("_"); 27 | for (int i = 0; i < strings.length; i++) { 28 | stringBuilder.append(Character.toUpperCase(strings[i].charAt(0))); 29 | stringBuilder.append(strings[i].substring(1)); 30 | } 31 | return stringBuilder.toString(); 32 | } 33 | 34 | /** 35 | * @Title: humpToLine 36 | * @Description: 驼峰转下横线写法互转 37 | */ 38 | public static String humpToLine(String param) { 39 | int len = param.length(); 40 | StringBuilder sb = new StringBuilder(len); 41 | sb.append(param.charAt(0)); 42 | for (int i = 1; i < len; i++) { 43 | char c = param.charAt(i); 44 | if (Character.isUpperCase(c) && Character.isLowerCase(param.charAt(i-1))) { 45 | sb.append("_"); 46 | } 47 | sb.append(c); 48 | } 49 | return sb.toString().toUpperCase(); 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/utils/Config.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.utils; 2 | 3 | import java.util.Locale; 4 | 5 | /* 6 | * 配置文件 7 | */ 8 | public class Config { 9 | public static Locale defaultLocale = Locale.getDefault();// 设置系统语言 10 | 11 | public static final String xJavaFxToolVersions = "V0.1.0";// xJavaFxTool版本信息 12 | public static final int xJavaFxToolVersionsInteger = 1;// xJavaFxTool更新信息 13 | } 14 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/utils/ConfigureUtil.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.utils; 2 | 3 | import java.io.File; 4 | 5 | public class ConfigureUtil { 6 | public static String getConfigurePath() { 7 | return System.getProperty("user.home") + "/xJavaFxTool/"; 8 | } 9 | 10 | public static String getConfigurePath(String fileName) { 11 | return System.getProperty("user.home") + "/xJavaFxTool/" + fileName; 12 | } 13 | 14 | public static File getConfigureFile(String fileName) { 15 | return new File(getConfigurePath(fileName)); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/utils/SpringUtil.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.utils; 2 | 3 | import org.apache.commons.beanutils.BeanUtils; 4 | import org.springframework.beans.BeansException; 5 | import org.springframework.context.ApplicationContext; 6 | import org.springframework.context.ApplicationContextAware; 7 | import org.springframework.stereotype.Component; 8 | 9 | import java.lang.reflect.InvocationTargetException; 10 | 11 | @Component 12 | public class SpringUtil implements ApplicationContextAware { 13 | 14 | private static ApplicationContext applicationContext = null; 15 | // 非@import显式注入,@Component是必须的,且该类必须与main同包或子包 16 | // 若非同包或子包,则需手动import 注入,有没有@Component都一样 17 | // 可复制到Test同包测试 18 | 19 | @Override 20 | public void setApplicationContext(ApplicationContext applicationContext) throws BeansException { 21 | if(SpringUtil.applicationContext == null){ 22 | SpringUtil.applicationContext = applicationContext; 23 | } 24 | System.out.println("---------------com.ilex.jiutou.util.Test.Main.SubPackage.SpringUtil---------------"); 25 | } 26 | 27 | //获取applicationContext 28 | public static ApplicationContext getApplicationContext() { 29 | return applicationContext; 30 | } 31 | 32 | //通过name获取 Bean. 33 | public static Object getBean(String name){ 34 | return getApplicationContext().getBean(name); 35 | 36 | } 37 | 38 | //通过class获取Bean. 39 | public static T getBean(Class clazz){ 40 | return getApplicationContext().getBean(clazz); 41 | } 42 | 43 | //通过name,以及Clazz返回指定的Bean 44 | public static T getBean(String name,Class clazz){ 45 | return getApplicationContext().getBean(name, clazz); 46 | } 47 | 48 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/utils/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.utils 7 | * @Description: 工具类包 8 | * @author: xufeng 9 | * @date: 2017年7月20日 上午9:08:01 10 | * @version: V1.0 11 | */ 12 | package com.xwintop.xJavaFxTool.utils; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/IndexView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.view; 2 | 3 | import java.util.ResourceBundle; 4 | 5 | import javafx.fxml.FXML; 6 | import javafx.fxml.Initializable; 7 | import javafx.scene.control.Button; 8 | import javafx.scene.control.Menu; 9 | import javafx.scene.control.MenuBar; 10 | import javafx.scene.control.TabPane; 11 | import javafx.scene.control.TextField; 12 | 13 | public abstract class IndexView implements Initializable { 14 | protected ResourceBundle bundle; 15 | @FXML 16 | protected Button myButton; 17 | 18 | @FXML 19 | protected TextField myTextField; 20 | 21 | @FXML 22 | protected TabPane tabPaneMain; 23 | 24 | @FXML 25 | protected MenuBar mainMenuBar; 26 | @FXML 27 | protected Menu fileMenu; 28 | @FXML 29 | protected Menu toolsMenu; 30 | @FXML 31 | protected Menu moreToolsMenu; 32 | @FXML 33 | protected Menu netWorkToolsMenu; 34 | @FXML 35 | protected Menu helpMenu; 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/codeTools/EscapeCharacterView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.view.codeTools; 2 | 3 | import javafx.fxml.FXML; 4 | import javafx.fxml.Initializable; 5 | import javafx.scene.control.Button; 6 | import javafx.scene.control.ChoiceBox; 7 | import javafx.scene.control.TextArea; 8 | 9 | public abstract class EscapeCharacterView implements Initializable { 10 | @FXML 11 | protected ChoiceBox characterTypesChoiceBox; 12 | @FXML 13 | protected Button switchButton; 14 | @FXML 15 | protected Button restoreButton; 16 | @FXML 17 | protected Button cleanAllButton; 18 | @FXML 19 | protected TextArea unescapeTextArea; 20 | @FXML 21 | protected TextArea escapeTextArea; 22 | @FXML 23 | protected TextArea helpTextArea; 24 | 25 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/codeTools/WebSourcesToolView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.view.codeTools; 2 | 3 | import javafx.fxml.FXML; 4 | import javafx.fxml.Initializable; 5 | import javafx.scene.control.Button; 6 | import javafx.scene.control.TextField; 7 | import javafx.scene.web.WebView; 8 | import lombok.Getter; 9 | import lombok.Setter; 10 | 11 | 12 | @Getter 13 | @Setter 14 | public abstract class WebSourcesToolView implements Initializable { 15 | @FXML 16 | protected TextField urlTextField; 17 | @FXML 18 | protected Button jumpButton; 19 | @FXML 20 | protected Button browserOpenButton; 21 | @FXML 22 | protected Button downloadButton; 23 | @FXML 24 | protected WebView showHrmlWebView; 25 | 26 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/codeTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.view.codeTools 7 | * @Description: TODO 8 | * @author: Administrator 9 | * @date: 2017年8月17日 下午8:07:08 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: Administrator 16 | * @date: 2017年8月17日 下午8:07:08 17 | */ 18 | package com.xwintop.xJavaFxTool.view.codeTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/debugTools/CmdToolView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.view.debugTools; 2 | 3 | import com.xwintop.xJavaFxTool.model.CmdToolTableBean; 4 | 5 | import javafx.fxml.FXML; 6 | import javafx.fxml.Initializable; 7 | import javafx.scene.control.Button; 8 | import javafx.scene.control.CheckBox; 9 | import javafx.scene.control.ChoiceBox; 10 | import javafx.scene.control.Spinner; 11 | import javafx.scene.control.TableColumn; 12 | import javafx.scene.control.TableView; 13 | import javafx.scene.control.TextField; 14 | import javafx.scene.layout.AnchorPane; 15 | import lombok.Getter; 16 | import lombok.Setter; 17 | 18 | @Getter 19 | @Setter 20 | public abstract class CmdToolView implements Initializable { 21 | @FXML 22 | protected CheckBox isEnabledCheckBox; 23 | @FXML 24 | protected TextField scriptTextField; 25 | @FXML 26 | protected ChoiceBox typeChoiceBox; 27 | @FXML 28 | protected TextField parameterTextField; 29 | @FXML 30 | protected Button addItemButton; 31 | @FXML 32 | protected ChoiceBox quartzChoiceBox; 33 | @FXML 34 | protected TextField cronTextField; 35 | @FXML 36 | protected AnchorPane simpleScheduleAnchorPane; 37 | @FXML 38 | protected Spinner intervalSpinner; 39 | @FXML 40 | protected Spinner repeatCountSpinner; 41 | @FXML 42 | protected Button runQuartzButton; 43 | @FXML 44 | protected Button runAllButton; 45 | @FXML 46 | protected TableView tableViewMain; 47 | @FXML 48 | protected TableColumn orderTableColumn; 49 | @FXML 50 | protected TableColumn isEnabledTableColumn; 51 | @FXML 52 | protected TableColumn scriptTableColumn; 53 | @FXML 54 | protected TableColumn viewScriptTableColumn; 55 | @FXML 56 | protected TableColumn typeTableColumn; 57 | @FXML 58 | protected TableColumn parameterTableColumn; 59 | @FXML 60 | protected TableColumn manualTableColumn; 61 | @FXML 62 | protected TableColumn isRunAfterActivateTableColumn; 63 | @FXML 64 | protected TableColumn runAfterActivateTableColumn; 65 | @FXML 66 | protected TableColumn remarksTableColumn; 67 | 68 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/debugTools/FtpClientToolView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.view.debugTools; 2 | 3 | import com.xwintop.xJavaFxTool.model.FtpClientToolTableBean; 4 | 5 | import javafx.fxml.FXML; 6 | import javafx.fxml.Initializable; 7 | import javafx.scene.control.Button; 8 | import javafx.scene.control.CheckBox; 9 | import javafx.scene.control.ChoiceBox; 10 | import javafx.scene.control.Spinner; 11 | import javafx.scene.control.TableColumn; 12 | import javafx.scene.control.TableView; 13 | import javafx.scene.control.TextField; 14 | import javafx.scene.layout.AnchorPane; 15 | import lombok.Getter; 16 | import lombok.Setter; 17 | 18 | @Getter 19 | @Setter 20 | public abstract class FtpClientToolView implements Initializable { 21 | @FXML 22 | protected CheckBox isEnabledCheckBox; 23 | @FXML 24 | protected TextField localFileTextField; 25 | @FXML 26 | protected Button localFileButton; 27 | @FXML 28 | protected TextField serverFileTextField; 29 | @FXML 30 | protected ChoiceBox typeChoiceBox; 31 | @FXML 32 | protected Button addItemButton; 33 | @FXML 34 | protected TextField urlTextField; 35 | @FXML 36 | protected TextField portTextField; 37 | @FXML 38 | protected TextField userNameTextField; 39 | @FXML 40 | protected TextField passwordTextField; 41 | @FXML 42 | protected ChoiceBox quartzChoiceBox; 43 | @FXML 44 | protected TextField cronTextField; 45 | @FXML 46 | protected AnchorPane simpleScheduleAnchorPane; 47 | @FXML 48 | protected Spinner intervalSpinner; 49 | @FXML 50 | protected Spinner repeatCountSpinner; 51 | @FXML 52 | protected Button runQuartzButton; 53 | @FXML 54 | protected Button runAllButton; 55 | @FXML 56 | protected TableView tableViewMain; 57 | @FXML 58 | protected TableColumn isEnabledTableColumn; 59 | @FXML 60 | protected TableColumn localFileTableColumn; 61 | @FXML 62 | protected TableColumn serverFileTableColumn; 63 | @FXML 64 | protected TableColumn typeTableColumn; 65 | @FXML 66 | protected TableColumn manualTableColumn; 67 | @FXML 68 | protected TableColumn remarksTableColumn; 69 | 70 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/debugTools/FtpServerView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.view.debugTools; 2 | 3 | import com.xwintop.xJavaFxTool.model.FtpServerTableBean; 4 | 5 | import javafx.fxml.FXML; 6 | import javafx.fxml.Initializable; 7 | import javafx.scene.control.Button; 8 | import javafx.scene.control.CheckBox; 9 | import javafx.scene.control.Spinner; 10 | import javafx.scene.control.TableColumn; 11 | import javafx.scene.control.TableView; 12 | import javafx.scene.control.TextField; 13 | import lombok.Getter; 14 | import lombok.Setter; 15 | 16 | @Getter 17 | @Setter 18 | public abstract class FtpServerView implements Initializable { 19 | @FXML 20 | protected TextField userNameTextField; 21 | @FXML 22 | protected TextField passwordTextField; 23 | @FXML 24 | protected TextField homeDirectoryTextField; 25 | @FXML 26 | protected Button chooseHomeDirectoryButton; 27 | @FXML 28 | protected CheckBox downFileCheckBox; 29 | @FXML 30 | protected CheckBox upFileCheckBox; 31 | @FXML 32 | protected CheckBox deleteFileCheckBox; 33 | @FXML 34 | protected Button buttonAddItem; 35 | @FXML 36 | protected TextField portTextField; 37 | @FXML 38 | protected CheckBox anonymousLoginEnabledCheckBox; 39 | @FXML 40 | protected TextField anonymousLoginEnabledTextField; 41 | @FXML 42 | protected Button anonymousLoginEnabledButton; 43 | @FXML 44 | protected Spinner maxConnectCountSpinner; 45 | @FXML 46 | protected Button startButton; 47 | @FXML 48 | protected TableView tableViewMain; 49 | @FXML 50 | protected TableColumn isEnabledTableColumn; 51 | @FXML 52 | protected TableColumn userNameTableColumn; 53 | @FXML 54 | protected TableColumn passwordTableColumn; 55 | @FXML 56 | protected TableColumn homeDirectoryTableColumn; 57 | @FXML 58 | protected TableColumn downFIleTableColumn; 59 | @FXML 60 | protected TableColumn upFileTableColumn; 61 | @FXML 62 | protected TableColumn deleteFileTableColumn; 63 | 64 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/debugTools/HttpToolView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.view.debugTools; 2 | 3 | import java.util.Map; 4 | 5 | import javafx.fxml.FXML; 6 | import javafx.fxml.Initializable; 7 | import javafx.scene.control.Button; 8 | import javafx.scene.control.CheckBox; 9 | import javafx.scene.control.ChoiceBox; 10 | import javafx.scene.control.TableColumn; 11 | import javafx.scene.control.TableView; 12 | import javafx.scene.control.TextArea; 13 | import javafx.scene.control.TextField; 14 | import javafx.scene.image.ImageView; 15 | import javafx.scene.web.WebView; 16 | import lombok.Getter; 17 | 18 | @Getter 19 | public abstract class HttpToolView implements Initializable { 20 | @FXML 21 | protected TextField urlTextField; 22 | @FXML 23 | protected ChoiceBox methodChoiceBox; 24 | @FXML 25 | protected Button sendButton; 26 | @FXML 27 | protected Button toBrowerButton; 28 | @FXML 29 | protected CheckBox paramsDataCheckBox; 30 | @FXML 31 | private Button addParamsDataButton; 32 | @FXML 33 | protected CheckBox paramsDataIsStringCheckBox; 34 | @FXML 35 | protected TextArea paramsDataTextArea; 36 | @FXML 37 | protected TableView> paramsDataTableView; 38 | @FXML 39 | protected TableColumn, String> paramsDataNameTableColumn; 40 | @FXML 41 | protected TableColumn, String> paramsDataValueTableColumn; 42 | @FXML 43 | protected TableColumn, String> paramsDataRemarkTableColumn; 44 | @FXML 45 | protected CheckBox paramsHeaderCheckBox; 46 | @FXML 47 | private Button addParamsHeaderButton; 48 | @FXML 49 | protected TableView> paramsHeaderTableView; 50 | @FXML 51 | protected TableColumn, String> paramsHeaderNameTableColumn; 52 | @FXML 53 | protected TableColumn, String> paramsHeaderValueTableColumn; 54 | @FXML 55 | protected TableColumn, String> paramsHeaderRemarkTableColumn; 56 | @FXML 57 | protected CheckBox paramsCookieCheckBox; 58 | @FXML 59 | private Button addParamsCookieButton; 60 | @FXML 61 | protected TableView> paramsCookieTableView; 62 | @FXML 63 | protected TableColumn, String> paramsCookieNameTableColumn; 64 | @FXML 65 | protected TableColumn, String> paramsCookieValueTableColumn; 66 | @FXML 67 | protected TableColumn, String> paramsCookieRemarkTableColumn; 68 | @FXML 69 | protected TextArea ResponseBodyTextArea; 70 | @FXML 71 | protected TextArea ResponseHeaderTextArea; 72 | @FXML 73 | protected WebView ResponseHtmlWebView; 74 | @FXML 75 | protected ImageView ResponseImgImageView; 76 | 77 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/debugTools/SwitchHostsToolView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.view.debugTools; 2 | 3 | import javafx.fxml.FXML; 4 | import javafx.fxml.Initializable; 5 | import javafx.scene.control.Button; 6 | import javafx.scene.control.TextArea; 7 | import javafx.scene.control.TreeView; 8 | import lombok.Getter; 9 | import lombok.Setter; 10 | 11 | @Getter 12 | @Setter 13 | public abstract class SwitchHostsToolView implements Initializable { 14 | @FXML 15 | protected Button addButton; 16 | @FXML 17 | protected Button reloadButton; 18 | @FXML 19 | protected Button editButton; 20 | @FXML 21 | protected Button deleteButton; 22 | @FXML 23 | protected TreeView hostFileTreeView; 24 | @FXML 25 | protected TextArea hostTextArea; 26 | 27 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/debugTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.view.debugTools 7 | * @Description: TODO 8 | * @author: xufeng 9 | * @date: 2017年8月21日 上午10:57:48 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年8月21日 上午10:57:48 17 | */ 18 | package com.xwintop.xJavaFxTool.view.debugTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/debugTools/redisTool/RedisToolDataTableView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.view.debugTools.redisTool; 2 | 3 | import com.xwintop.xJavaFxTool.model.RedisToolDataTableBean; 4 | 5 | import javafx.fxml.FXML; 6 | import javafx.fxml.Initializable; 7 | import javafx.scene.control.TableColumn; 8 | import javafx.scene.control.TableView; 9 | import lombok.Getter; 10 | import lombok.Setter; 11 | 12 | @Getter 13 | @Setter 14 | public abstract class RedisToolDataTableView implements Initializable { 15 | @FXML 16 | protected TableView dataTableView; 17 | @FXML 18 | protected TableColumn dataNameTableColumn; 19 | @FXML 20 | protected TableColumn dataTypeTableColumn; 21 | @FXML 22 | protected TableColumn dataSizeTableColumn; 23 | @FXML 24 | protected TableColumn dataTimeTableColumn; 25 | 26 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/debugTools/redisTool/RedisToolDataViewView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.view.debugTools.redisTool; 2 | 3 | import java.util.Map; 4 | 5 | import javafx.fxml.FXML; 6 | import javafx.fxml.Initializable; 7 | import javafx.scene.control.Button; 8 | import javafx.scene.control.CheckBox; 9 | import javafx.scene.control.Label; 10 | import javafx.scene.control.TableColumn; 11 | import javafx.scene.control.TableView; 12 | import javafx.scene.control.TextArea; 13 | import javafx.scene.control.TextField; 14 | import javafx.scene.layout.HBox; 15 | import lombok.Getter; 16 | import lombok.Setter; 17 | 18 | @Getter 19 | @Setter 20 | public abstract class RedisToolDataViewView implements Initializable { 21 | @FXML 22 | protected Label serverLabel; 23 | @FXML 24 | protected Label databaseLabel; 25 | @FXML 26 | protected CheckBox overdueCheckBox; 27 | @FXML 28 | protected TextField overdueTimeTextField; 29 | @FXML 30 | protected Button overdueEnterButton; 31 | @FXML 32 | protected Button overdueReloadButton; 33 | @FXML 34 | protected TextField redisKeyTextField; 35 | @FXML 36 | protected HBox valueMapHBox; 37 | @FXML 38 | protected HBox valueStringHBox; 39 | @FXML 40 | protected HBox valueListHBox; 41 | @FXML 42 | protected TableView> valueMapTableView; 43 | @FXML 44 | protected TableColumn,String> valueMapKeyTableColumn; 45 | @FXML 46 | protected TableColumn,String> valueMapValueTableColumn; 47 | @FXML 48 | protected Button valueMapAddButton; 49 | @FXML 50 | protected Button valueMapDeleteButton; 51 | @FXML 52 | protected Button valueMapEnterButton; 53 | @FXML 54 | protected Button valueMapCancelButton; 55 | @FXML 56 | protected Button valueMapReloadButton; 57 | @FXML 58 | protected Button valueMapShowButton; 59 | @FXML 60 | protected TextArea valueStringTextArea; 61 | @FXML 62 | protected Button valueStringEnterButton; 63 | @FXML 64 | protected Button valueStringCancelButton; 65 | @FXML 66 | protected Button valueStringReloadButton; 67 | @FXML 68 | protected Button valueStringShowButton; 69 | @FXML 70 | protected TableView> valueListTableView; 71 | @FXML 72 | protected TableColumn,String> valueListValueTableColumn; 73 | @FXML 74 | protected Button valueListInsertHeadButton; 75 | @FXML 76 | protected Button valueListAppendTailButton; 77 | @FXML 78 | protected Button valueListDeleteHeadButton; 79 | @FXML 80 | protected Button valueListDeleteTailButton; 81 | @FXML 82 | protected Button valueListDeleteButton; 83 | @FXML 84 | protected Button valueListEnterButton; 85 | @FXML 86 | protected Button valueListCancelButton; 87 | @FXML 88 | protected Button valueListReloadButton; 89 | @FXML 90 | protected Button valueListShowButton; 91 | 92 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/debugTools/redisTool/RedisToolView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.view.debugTools.redisTool; 2 | 3 | import javafx.fxml.FXML; 4 | import javafx.fxml.Initializable; 5 | import javafx.scene.control.Button; 6 | import javafx.scene.control.TabPane; 7 | import javafx.scene.control.TreeView; 8 | import lombok.Getter; 9 | import lombok.Setter; 10 | 11 | @Getter 12 | @Setter 13 | public abstract class RedisToolView implements Initializable { 14 | @FXML 15 | protected Button treeLeftButton; 16 | @FXML 17 | protected Button treeRightButton; 18 | @FXML 19 | protected Button treeUpButton; 20 | @FXML 21 | protected Button treeRefurbishButton; 22 | @FXML 23 | protected TreeView redisServiceTreeView; 24 | @FXML 25 | protected TabPane dataServiceTabPane; 26 | @FXML 27 | protected TabPane dataViewTabPane; 28 | 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/debugTools/redisTool/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.view.debugTools.redisTool 7 | * @Description: TODO 8 | * @author: xufeng 9 | * @date: 2017年9月5日 上午12:10:34 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年9月5日 上午12:10:34 17 | */ 18 | package com.xwintop.xJavaFxTool.view.debugTools.redisTool; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/developTools/DirectoryTreeToolView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.view.developTools; 2 | 3 | import java.util.Map; 4 | 5 | import javafx.fxml.FXML; 6 | import javafx.fxml.Initializable; 7 | import javafx.scene.control.Button; 8 | import javafx.scene.control.CheckBox; 9 | import javafx.scene.control.ChoiceBox; 10 | import javafx.scene.control.Label; 11 | import javafx.scene.control.Spinner; 12 | import javafx.scene.control.TableColumn; 13 | import javafx.scene.control.TableView; 14 | import javafx.scene.control.TextArea; 15 | import javafx.scene.control.TextField; 16 | import lombok.Getter; 17 | import lombok.Setter; 18 | 19 | /** 20 | * @ClassName: DirectoryTreeToolView 21 | * @Description: 文件列表生成器工具 22 | * @author: xufeng 23 | * @date: 2017年11月13日 下午4:34:11 24 | */ 25 | @Getter 26 | @Setter 27 | public abstract class DirectoryTreeToolView implements Initializable { 28 | 29 | @FXML 30 | protected TextField projectPathTextField; 31 | @FXML 32 | protected Button projectPathButton; 33 | @FXML 34 | protected CheckBox includeSubdirectoryCheckBox; 35 | @FXML 36 | protected CheckBox isFileCheckBox; 37 | @FXML 38 | protected CheckBox isDirCheckBox; 39 | @FXML 40 | protected CheckBox showHideFileCheckBox; 41 | @FXML 42 | protected CheckBox notShowEmptyListCheckBox; 43 | @FXML 44 | protected Button reloadButton; 45 | @FXML 46 | protected TextArea showDirectoryTreeTextArea; 47 | @FXML 48 | protected CheckBox showDirDepthCheckBox; 49 | @FXML 50 | protected Spinner showDirDepthSpinner; 51 | @FXML 52 | protected ChoiceBox filtrationTypeChoiceBox; 53 | @FXML 54 | protected ChoiceBox scopeTypeChoiceBox; 55 | @FXML 56 | protected TextField filtrationConditionTextField; 57 | @FXML 58 | protected Button filtrationAddButton; 59 | @FXML 60 | protected CheckBox filtrationUsingCheckBox; 61 | @FXML 62 | protected TableView> tableViewMain; 63 | @FXML 64 | protected TableColumn, String> filtrationTypeTableColumn; 65 | @FXML 66 | protected TableColumn, String> filtrationConditionTableColumn; 67 | @FXML 68 | protected TableColumn, String> scopeTypeTableColumn; 69 | @FXML 70 | protected CheckBox showFileLengthCheckBox; 71 | @FXML 72 | protected CheckBox showModifyCheckBox; 73 | @FXML 74 | protected CheckBox showPermissionCheckBox; 75 | @FXML 76 | protected Label totalDirNumLabel; 77 | @FXML 78 | protected Label totalFileNumLabel; 79 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/developTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.view.developTools 7 | * @Description: 开发工具视图包 8 | * @author: xufeng 9 | * @date: 2017年11月10日 下午4:30:17 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年11月10日 下午4:30:17 17 | */ 18 | package com.xwintop.xJavaFxTool.view.developTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/littleTools/FileCopyView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.view.littleTools; 2 | 3 | 4 | import com.xwintop.xJavaFxTool.model.FileCopyTableBean; 5 | 6 | import javafx.fxml.FXML; 7 | import javafx.fxml.Initializable; 8 | import javafx.scene.control.Button; 9 | import javafx.scene.control.CheckBox; 10 | import javafx.scene.control.ChoiceBox; 11 | import javafx.scene.control.Spinner; 12 | import javafx.scene.control.TableColumn; 13 | import javafx.scene.control.TableView; 14 | import javafx.scene.control.TextField; 15 | import javafx.scene.layout.AnchorPane; 16 | 17 | public abstract class FileCopyView implements Initializable { 18 | @FXML 19 | protected TextField textFieldCopyFileOriginalPath; 20 | @FXML 21 | protected TextField textFieldCopyFileTargetPath; 22 | @FXML 23 | protected Button buttonChooseOriginalPath; 24 | @FXML 25 | protected Button buttonChooseTargetPath; 26 | @FXML 27 | protected CheckBox checkBoxIsCopy; 28 | @FXML 29 | protected Button buttonCopy; 30 | @FXML 31 | protected Spinner spinnerCopyNumber; 32 | @FXML 33 | protected TableView tableViewMain; 34 | @FXML 35 | protected TableColumn tableColumnCopyFileOriginalPath; 36 | @FXML 37 | protected TableColumn tableColumnCopyFileTargetPath; 38 | @FXML 39 | protected TableColumn tableColumnCopyNumber; 40 | @FXML 41 | protected TableColumn tableColumnIsCopy; 42 | @FXML 43 | protected TableColumn tableColumnIsRename; 44 | @FXML 45 | protected TableColumn tableColumnIsDelete; 46 | @FXML 47 | protected CheckBox checkBoxIsDelete; 48 | @FXML 49 | protected CheckBox checkBoxIsRename; 50 | @FXML 51 | protected Button buttonAddItem; 52 | @FXML 53 | protected Button buttonSaveConfigure; 54 | @FXML 55 | protected Button buttonDeleteSelectRow; 56 | @FXML 57 | protected Button otherSaveConfigureButton; 58 | @FXML 59 | protected Button loadingConfigureButton; 60 | @FXML 61 | protected Button runQuartzButton; 62 | @FXML 63 | protected TextField cronTextField; 64 | @FXML 65 | protected ChoiceBox quartzChoiceBox; 66 | @FXML 67 | protected AnchorPane simpleScheduleAnchorPane; 68 | @FXML 69 | protected Spinner intervalSpinner; 70 | @FXML 71 | protected Spinner repeatCountSpinner; 72 | 73 | } 74 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/littleTools/IconToolView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.view.littleTools; 2 | 3 | import javafx.fxml.FXML; 4 | import javafx.fxml.Initializable; 5 | import javafx.scene.control.Button; 6 | import javafx.scene.control.CheckBox; 7 | import javafx.scene.control.ChoiceBox; 8 | import javafx.scene.control.Slider; 9 | import javafx.scene.control.Spinner; 10 | import javafx.scene.control.TextField; 11 | import javafx.scene.image.ImageView; 12 | import javafx.scene.layout.FlowPane; 13 | import lombok.Data; 14 | import net.coobird.thumbnailator.geometry.Positions; 15 | 16 | @Data 17 | public abstract class IconToolView implements Initializable { 18 | @FXML 19 | protected TextField iconFilePathTextField; 20 | @FXML 21 | protected Button chooseOriginalPathButton; 22 | @FXML 23 | protected TextField iconTargetPathTextField; 24 | @FXML 25 | protected Button chooseTargetPathButton; 26 | @FXML 27 | protected CheckBox isCornerCheckBox; 28 | @FXML 29 | protected Slider cornerSizeSlider; 30 | @FXML 31 | protected CheckBox isKeepAspectRatioCheckBox; 32 | @FXML 33 | protected Button buttonSaveConfigure; 34 | @FXML 35 | protected Button otherSaveConfigureButton; 36 | @FXML 37 | protected Button loadingConfigureButton; 38 | @FXML 39 | protected ChoiceBox iconFormatChoiceBox; 40 | @FXML 41 | protected TextField iconNameTextField; 42 | @FXML 43 | protected CheckBox iosIconCheckBox; 44 | @FXML 45 | protected CheckBox androidCheckBox; 46 | @FXML 47 | protected Button buildIconButton; 48 | @FXML 49 | protected ImageView iconImageView; 50 | @FXML 51 | protected Button buildIconTargetImageButton; 52 | @FXML 53 | protected ImageView iconTargetImageView; 54 | @FXML 55 | protected Spinner widthSpinner; 56 | @FXML 57 | protected Spinner heightSpinner; 58 | @FXML 59 | protected Button addSizeButton; 60 | @FXML 61 | protected Button resettingSizeButton; 62 | @FXML 63 | protected Button allSelectButton; 64 | @FXML 65 | protected Button inverseButton; 66 | @FXML 67 | protected Button allNotSelectButton; 68 | @FXML 69 | protected FlowPane iconSizeFlowPane; 70 | @FXML 71 | protected CheckBox isWatermarkCheckBox; 72 | @FXML 73 | protected TextField watermarkPathTextField; 74 | @FXML 75 | protected Button selectWatermarkButton; 76 | @FXML 77 | protected ImageView watermarkImageView; 78 | @FXML 79 | protected ChoiceBox watermarkPositionChoiceBox; 80 | @FXML 81 | protected Slider watermarkOpacitySlider; 82 | @FXML 83 | protected Slider outputQualitySlider; 84 | 85 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/littleTools/PdfConvertToolView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.view.littleTools; 2 | 3 | import com.jfoenix.controls.JFXComboBox; 4 | 5 | import org.controlsfx.control.RangeSlider; 6 | 7 | import javafx.fxml.FXML; 8 | import javafx.fxml.Initializable; 9 | import javafx.scene.control.Button; 10 | import javafx.scene.control.ChoiceBox; 11 | import javafx.scene.control.Label; 12 | import javafx.scene.control.TextField; 13 | import lombok.Getter; 14 | import lombok.Setter; 15 | 16 | /** 17 | * @ClassName: PdfConvertToolView 18 | * @Description: pdf转换工具 19 | * @author: xufeng 20 | * @date: 2017年11月3日 下午6:13:04 21 | */ 22 | @Getter 23 | @Setter 24 | public abstract class PdfConvertToolView implements Initializable { 25 | 26 | @FXML 27 | protected TextField fileOriginalPathTextField; 28 | @FXML 29 | protected Button fileOriginalPathButton; 30 | @FXML 31 | protected Label pdfVersionLabel; 32 | @FXML 33 | protected TextField fileTargetPathTextField; 34 | @FXML 35 | protected Button fileTargetPathButton; 36 | @FXML 37 | protected Label pageCountLabel; 38 | @FXML 39 | protected RangeSlider choosePageRangeSlider; 40 | @FXML 41 | protected JFXComboBox imageDpiComboBox; 42 | @FXML 43 | protected ChoiceBox imageTypeChoiceBox; 44 | @FXML 45 | protected Button pdfToImageButton; 46 | @FXML 47 | protected Button pdfToTxtButton; 48 | @FXML 49 | protected Button pdfToWordButton; 50 | @FXML 51 | protected Button wordToPdfButton; 52 | 53 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/littleTools/QRCodeBuilderView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.view.littleTools; 2 | 3 | import com.google.zxing.qrcode.decoder.ErrorCorrectionLevel; 4 | 5 | import javafx.fxml.FXML; 6 | import javafx.fxml.Initializable; 7 | import javafx.scene.control.Button; 8 | import javafx.scene.control.CheckBox; 9 | import javafx.scene.control.ChoiceBox; 10 | import javafx.scene.control.ColorPicker; 11 | import javafx.scene.control.Slider; 12 | import javafx.scene.control.TextField; 13 | import javafx.scene.image.ImageView; 14 | 15 | public abstract class QRCodeBuilderView implements Initializable { 16 | @FXML 17 | protected Button builderButton; 18 | @FXML 19 | protected Button snapshotButton; 20 | @FXML 21 | protected TextField contentTextField; 22 | @FXML 23 | protected ChoiceBox codeFormatChoiceBox; 24 | @FXML 25 | protected ImageView codeImageView; 26 | @FXML 27 | protected ImageView codeImageView1; 28 | @FXML 29 | protected ColorPicker onColorColorPicker; 30 | @FXML 31 | protected ColorPicker offColorColorPicker; 32 | @FXML 33 | protected ChoiceBox errorCorrectionLevelChoiceBox; 34 | @FXML 35 | protected Button saveButton; 36 | @FXML 37 | protected Button logoButton; 38 | @FXML 39 | protected Button snapshotDesktopButton; 40 | @FXML 41 | protected ChoiceBox marginChoiceBox; 42 | @FXML 43 | protected ChoiceBox formatImageChoiceBox; 44 | @FXML 45 | protected CheckBox logoCheckBox; 46 | @FXML 47 | protected Slider logoSlider; 48 | } 49 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/littleTools/ZHConverterView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.view.littleTools; 2 | 3 | import javafx.fxml.FXML; 4 | import javafx.fxml.Initializable; 5 | import javafx.scene.control.Button; 6 | import javafx.scene.control.ChoiceBox; 7 | import javafx.scene.control.TextArea; 8 | import javafx.scene.control.TextField; 9 | 10 | public abstract class ZHConverterView implements Initializable { 11 | @FXML 12 | protected ChoiceBox codeTypesChoiceBox; 13 | @FXML 14 | protected TextArea simplifiedTextArea; 15 | @FXML 16 | protected TextArea traditionalTextArea; 17 | @FXML 18 | protected Button changeButton; 19 | @FXML 20 | protected Button restoreButton; 21 | @FXML 22 | protected TextField pinyinTypeTextField; 23 | @FXML 24 | protected ChoiceBox pinyinTypeChoiceBox; 25 | 26 | } -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/littleTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.view.littleTools 7 | * @Description: TODO 8 | * @author: xufeng 9 | * @date: 2017年8月15日 下午3:40:52 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年8月15日 下午3:40:52 17 | */ 18 | package com.xwintop.xJavaFxTool.view.littleTools; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.view 7 | * @Description: 视图层包 8 | * @author: xufeng 9 | * @date: 2017年7月20日 上午9:11:37 10 | * @version: V1.0 11 | */ 12 | package com.xwintop.xJavaFxTool.view; -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/webTools/ShortURLView.java: -------------------------------------------------------------------------------- 1 | package com.xwintop.xJavaFxTool.view.webTools; 2 | 3 | import javafx.fxml.FXML; 4 | import javafx.fxml.Initializable; 5 | import javafx.scene.control.Button; 6 | import javafx.scene.control.CheckBox; 7 | import javafx.scene.control.ChoiceBox; 8 | import javafx.scene.control.TextArea; 9 | import javafx.scene.control.TextField; 10 | import javafx.scene.layout.AnchorPane; 11 | 12 | public abstract class ShortURLView implements Initializable{ 13 | @FXML 14 | protected AnchorPane mainAnchorPane; 15 | @FXML 16 | protected TextField longURLTextField; 17 | @FXML 18 | protected ChoiceBox shortURLServiceChoiceBox; 19 | @FXML 20 | protected Button longURLCopyButton; 21 | @FXML 22 | protected Button convertButton; 23 | @FXML 24 | protected TextField shortURLTextField; 25 | @FXML 26 | protected Button shortURLCopyButton; 27 | @FXML 28 | protected Button revertButton; 29 | @FXML 30 | protected TextField aliasUrlTextField; 31 | @FXML 32 | protected CheckBox aliasUrlCheckBox; 33 | @FXML 34 | protected TextArea resultTextArea; 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/com/xwintop/xJavaFxTool/view/webTools/package-info.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright © 2017 公司名. All rights reserved. 3 | * 4 | * @Title: package-info.java 5 | * @Prject: xJavaFxTool 6 | * @Package: com.xwintop.xJavaFxTool.view.webTools 7 | * @Description: TODO 8 | * @author: xufeng 9 | * @date: 2017年8月16日 下午5:14:42 10 | * @version: V1.0 11 | */ 12 | /** 13 | * @ClassName: package-info 14 | * @Description: TODO 15 | * @author: xufeng 16 | * @date: 2017年8月16日 下午5:14:42 17 | */ 18 | package com.xwintop.xJavaFxTool.view.webTools; -------------------------------------------------------------------------------- /src/main/resources/application.yaml: -------------------------------------------------------------------------------- 1 | spring: 2 | jmx: 3 | enabled: false 4 | 5 | javafx: 6 | # title: 我的javaFx工具集合 7 | appicons: /images/icon.jpg 8 | stage: 9 | resizable: true -------------------------------------------------------------------------------- /src/main/resources/com/melloware/jintellitype/JIntellitype.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwintop/xJavaFxTool-spring/8d6344656afcabf2d44e30b121df9fed6f2c0df5/src/main/resources/com/melloware/jintellitype/JIntellitype.dll -------------------------------------------------------------------------------- /src/main/resources/com/melloware/jintellitype/JIntellitype64.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xwintop/xJavaFxTool-spring/8d6344656afcabf2d44e30b121df9fed6f2c0df5/src/main/resources/com/melloware/jintellitype/JIntellitype64.dll -------------------------------------------------------------------------------- /src/main/resources/com/xwintop/xJavaFxTool/fxmlView/codeTools/EscapeCharacter.fxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |