leewyatt 2021-10-21 23:39:26 +09:00
parent 129cbbb0e2
commit e765576255
17 changed files with 117 additions and 29 deletions

59
pom.xml
View File

@ -6,13 +6,39 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>8</maven.compiler.source> <maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target> <maven.compiler.target>11</maven.compiler.target>
</properties> </properties>
<groupId>com.github.leewyatt</groupId> <groupId>com.github.leewyatt</groupId>
<artifactId>rxcontrols</artifactId> <artifactId>rxcontrols</artifactId>
<version>8.0.0-alpha</version> <version>11.0.0-alpha</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>11</version>
</dependency>
<!-- test files use fxml -->
<!-- https://mvnrepository.com/artifact/org.openjfx/javafx-fxml -->
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>11</version>
<scope>test</scope>
</dependency>
<!-- test files use webview -->
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-web</artifactId>
<version>11</version>
<scope>test</scope>
</dependency>
</dependencies>
<build> <build>
<plugins> <plugins>
@ -22,11 +48,34 @@
<version>3.8.1</version> <version>3.8.1</version>
<configuration> <configuration>
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
<source>8</source> <source>11</source>
<target>8</target> <target>11</target>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<!-- <build>-->
<!-- <resources>-->
<!-- <resource>-->
<!-- <directory>src/main/resources</directory>-->
<!-- <includes>-->
<!-- <include>**/*</include>-->
<!-- </includes>-->
<!-- <filtering>false</filtering>-->
<!-- </resource>-->
<!-- </resources>-->
<!-- <plugins>-->
<!-- <plugin>-->
<!-- <groupId>org.apache.maven.plugins</groupId>-->
<!-- <artifactId>maven-compiler-plugin</artifactId>-->
<!-- <version>3.8.1</version>-->
<!-- <configuration>-->
<!-- <source>11</source>-->
<!-- <target>11</target>-->
<!-- </configuration>-->
<!-- </plugin>-->
<!-- </plugins>-->
<!-- </build>-->
</project> </project>

View File

@ -26,9 +26,6 @@ package com.leewyatt.rxcontrols.controls;
import com.leewyatt.rxcontrols.skins.RXAudioSpectrumSkin; import com.leewyatt.rxcontrols.skins.RXAudioSpectrumSkin;
import com.leewyatt.rxcontrols.utils.RXResources; import com.leewyatt.rxcontrols.utils.RXResources;
import com.sun.javafx.css.converters.EffectConverter;
import com.sun.javafx.css.converters.EnumConverter;
import com.sun.javafx.css.converters.ShapeConverter;
import javafx.beans.property.IntegerProperty; import javafx.beans.property.IntegerProperty;
import javafx.beans.property.ObjectProperty; import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleIntegerProperty; import javafx.beans.property.SimpleIntegerProperty;
@ -38,6 +35,9 @@ import javafx.css.CssMetaData;
import javafx.css.Styleable; import javafx.css.Styleable;
import javafx.css.StyleableObjectProperty; import javafx.css.StyleableObjectProperty;
import javafx.css.StyleableProperty; import javafx.css.StyleableProperty;
import javafx.css.converter.EffectConverter;
import javafx.css.converter.EnumConverter;
import javafx.css.converter.ShapeConverter;
import javafx.scene.control.Control; import javafx.scene.control.Control;
import javafx.scene.control.Skin; import javafx.scene.control.Skin;
import javafx.scene.effect.Effect; import javafx.scene.effect.Effect;

View File

@ -26,7 +26,6 @@ package com.leewyatt.rxcontrols.controls;
import com.leewyatt.rxcontrols.skins.RXAvatarSkin; import com.leewyatt.rxcontrols.skins.RXAvatarSkin;
import com.leewyatt.rxcontrols.utils.RXResources; import com.leewyatt.rxcontrols.utils.RXResources;
import com.sun.javafx.css.converters.EnumConverter;
import javafx.beans.property.ObjectProperty; import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleDoubleProperty; import javafx.beans.property.SimpleDoubleProperty;
import javafx.beans.property.SimpleObjectProperty; import javafx.beans.property.SimpleObjectProperty;
@ -34,6 +33,7 @@ import javafx.css.CssMetaData;
import javafx.css.Styleable; import javafx.css.Styleable;
import javafx.css.StyleableObjectProperty; import javafx.css.StyleableObjectProperty;
import javafx.css.StyleableProperty; import javafx.css.StyleableProperty;
import javafx.css.converter.EnumConverter;
import javafx.scene.control.Control; import javafx.scene.control.Control;
import javafx.scene.control.Skin; import javafx.scene.control.Skin;
import javafx.scene.image.Image; import javafx.scene.image.Image;

View File

@ -24,10 +24,10 @@
*/ */
package com.leewyatt.rxcontrols.controls; package com.leewyatt.rxcontrols.controls;
import com.sun.javafx.css.converters.DurationConverter;
import javafx.beans.property.ObjectProperty; import javafx.beans.property.ObjectProperty;
import javafx.beans.property.ObjectPropertyBase; import javafx.beans.property.ObjectPropertyBase;
import javafx.css.*; import javafx.css.*;
import javafx.css.converter.DurationConverter;
import javafx.event.ActionEvent; import javafx.event.ActionEvent;
import javafx.event.EventHandler; import javafx.event.EventHandler;
import javafx.scene.Node; import javafx.scene.Node;

View File

@ -29,13 +29,13 @@ import com.leewyatt.rxcontrols.animation.carousel.CarouselAnimation;
import com.leewyatt.rxcontrols.enums.DisplayMode; import com.leewyatt.rxcontrols.enums.DisplayMode;
import com.leewyatt.rxcontrols.pane.RXCarouselPane; import com.leewyatt.rxcontrols.pane.RXCarouselPane;
import com.leewyatt.rxcontrols.utils.RXResources; import com.leewyatt.rxcontrols.utils.RXResources;
import com.sun.javafx.css.converters.BooleanConverter;
import com.sun.javafx.css.converters.DurationConverter;
import com.sun.javafx.css.converters.EnumConverter;
import javafx.beans.property.*; import javafx.beans.property.*;
import javafx.collections.FXCollections; import javafx.collections.FXCollections;
import javafx.collections.ObservableList; import javafx.collections.ObservableList;
import javafx.css.*; import javafx.css.*;
import javafx.css.converter.BooleanConverter;
import javafx.css.converter.DurationConverter;
import javafx.css.converter.EnumConverter;
import javafx.scene.SubScene; import javafx.scene.SubScene;
import javafx.scene.control.Control; import javafx.scene.control.Control;
import javafx.scene.control.Skin; import javafx.scene.control.Skin;

View File

@ -25,9 +25,9 @@
package com.leewyatt.rxcontrols.controls; package com.leewyatt.rxcontrols.controls;
import com.leewyatt.rxcontrols.skins.RXDigitSkin; import com.leewyatt.rxcontrols.skins.RXDigitSkin;
import com.sun.javafx.css.converters.PaintConverter;
import javafx.beans.property.SimpleIntegerProperty; import javafx.beans.property.SimpleIntegerProperty;
import javafx.css.*; import javafx.css.*;
import javafx.css.converter.PaintConverter;
import javafx.scene.control.Control; import javafx.scene.control.Control;
import javafx.scene.control.Skin; import javafx.scene.control.Skin;
import javafx.scene.paint.Color; import javafx.scene.paint.Color;

View File

@ -27,12 +27,12 @@ package com.leewyatt.rxcontrols.controls;
import com.leewyatt.rxcontrols.animation.fillbutton.*; import com.leewyatt.rxcontrols.animation.fillbutton.*;
import com.leewyatt.rxcontrols.skins.RXFillButtonSkin; import com.leewyatt.rxcontrols.skins.RXFillButtonSkin;
import com.leewyatt.rxcontrols.utils.RXResources; import com.leewyatt.rxcontrols.utils.RXResources;
import com.sun.javafx.css.converters.EnumConverter;
import com.sun.javafx.css.converters.PaintConverter;
import javafx.beans.property.ObjectProperty; import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleObjectProperty; import javafx.beans.property.SimpleObjectProperty;
import javafx.beans.value.ChangeListener; import javafx.beans.value.ChangeListener;
import javafx.css.*; import javafx.css.*;
import javafx.css.converter.EnumConverter;
import javafx.css.converter.PaintConverter;
import javafx.geometry.Pos; import javafx.geometry.Pos;
import javafx.scene.Node; import javafx.scene.Node;
import javafx.scene.control.Skin; import javafx.scene.control.Skin;

View File

@ -25,10 +25,10 @@
package com.leewyatt.rxcontrols.controls; package com.leewyatt.rxcontrols.controls;
import com.leewyatt.rxcontrols.utils.RXResources; import com.leewyatt.rxcontrols.utils.RXResources;
import com.sun.javafx.css.converters.EnumConverter;
import com.sun.javafx.css.converters.SizeConverter;
import javafx.beans.property.*; import javafx.beans.property.*;
import javafx.css.*; import javafx.css.*;
import javafx.css.converter.EnumConverter;
import javafx.css.converter.SizeConverter;
import javafx.scene.control.Control; import javafx.scene.control.Control;
import javafx.scene.control.Skin; import javafx.scene.control.Skin;
import javafx.scene.text.TextAlignment; import javafx.scene.text.TextAlignment;

View File

@ -29,12 +29,12 @@ import com.leewyatt.rxcontrols.animation.lineButton.LineAnimRise;
import com.leewyatt.rxcontrols.animation.lineButton.LineAnimation; import com.leewyatt.rxcontrols.animation.lineButton.LineAnimation;
import com.leewyatt.rxcontrols.skins.RXLineButtonSkin; import com.leewyatt.rxcontrols.skins.RXLineButtonSkin;
import com.leewyatt.rxcontrols.utils.RXResources; import com.leewyatt.rxcontrols.utils.RXResources;
import com.sun.javafx.css.converters.EnumConverter;
import javafx.beans.property.ObjectProperty; import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleDoubleProperty; import javafx.beans.property.SimpleDoubleProperty;
import javafx.beans.property.SimpleObjectProperty; import javafx.beans.property.SimpleObjectProperty;
import javafx.beans.value.ChangeListener; import javafx.beans.value.ChangeListener;
import javafx.css.*; import javafx.css.*;
import javafx.css.converter.EnumConverter;
import javafx.geometry.Pos; import javafx.geometry.Pos;
import javafx.scene.Node; import javafx.scene.Node;
import javafx.scene.control.Skin; import javafx.scene.control.Skin;

View File

@ -27,15 +27,15 @@ package com.leewyatt.rxcontrols.controls;
import com.leewyatt.rxcontrols.pojo.LrcDoc; import com.leewyatt.rxcontrols.pojo.LrcDoc;
import com.leewyatt.rxcontrols.skins.RXLrcViewSkin; import com.leewyatt.rxcontrols.skins.RXLrcViewSkin;
import com.leewyatt.rxcontrols.utils.RXResources; import com.leewyatt.rxcontrols.utils.RXResources;
import com.sun.javafx.css.converters.DurationConverter;
import com.sun.javafx.css.converters.SizeConverter;
import com.sun.javafx.css.converters.StringConverter;
import javafx.beans.property.DoubleProperty; import javafx.beans.property.DoubleProperty;
import javafx.beans.property.ObjectProperty; import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleObjectProperty; import javafx.beans.property.SimpleObjectProperty;
import javafx.beans.property.StringProperty; import javafx.beans.property.StringProperty;
import javafx.beans.value.WritableValue; import javafx.beans.value.WritableValue;
import javafx.css.*; import javafx.css.*;
import javafx.css.converter.DurationConverter;
import javafx.css.converter.SizeConverter;
import javafx.css.converter.StringConverter;
import javafx.scene.control.Control; import javafx.scene.control.Control;
import javafx.scene.control.Skin; import javafx.scene.control.Skin;
import javafx.util.Duration; import javafx.util.Duration;

View File

@ -27,11 +27,11 @@ package com.leewyatt.rxcontrols.controls;
import com.leewyatt.rxcontrols.enums.DisplayMode; import com.leewyatt.rxcontrols.enums.DisplayMode;
import com.leewyatt.rxcontrols.skins.RXPasswordFieldSkin; import com.leewyatt.rxcontrols.skins.RXPasswordFieldSkin;
import com.leewyatt.rxcontrols.utils.RXResources; import com.leewyatt.rxcontrols.utils.RXResources;
import com.sun.javafx.css.converters.EnumConverter;
import com.sun.javafx.css.converters.StringConverter;
import javafx.beans.property.BooleanProperty; import javafx.beans.property.BooleanProperty;
import javafx.beans.property.SimpleBooleanProperty; import javafx.beans.property.SimpleBooleanProperty;
import javafx.css.*; import javafx.css.*;
import javafx.css.converter.EnumConverter;
import javafx.css.converter.StringConverter;
import javafx.scene.AccessibleAttribute; import javafx.scene.AccessibleAttribute;
import javafx.scene.AccessibleRole; import javafx.scene.AccessibleRole;
import javafx.scene.control.PasswordField; import javafx.scene.control.PasswordField;

View File

@ -28,13 +28,13 @@ import com.leewyatt.rxcontrols.enums.DisplayMode;
import com.leewyatt.rxcontrols.event.RXActionEvent; import com.leewyatt.rxcontrols.event.RXActionEvent;
import com.leewyatt.rxcontrols.skins.RXTextFieldSkin; import com.leewyatt.rxcontrols.skins.RXTextFieldSkin;
import com.leewyatt.rxcontrols.utils.RXResources; import com.leewyatt.rxcontrols.utils.RXResources;
import com.sun.javafx.css.converters.EnumConverter;
import javafx.beans.property.ObjectProperty; import javafx.beans.property.ObjectProperty;
import javafx.beans.property.ObjectPropertyBase; import javafx.beans.property.ObjectPropertyBase;
import javafx.css.CssMetaData; import javafx.css.CssMetaData;
import javafx.css.Styleable; import javafx.css.Styleable;
import javafx.css.StyleableObjectProperty; import javafx.css.StyleableObjectProperty;
import javafx.css.StyleableProperty; import javafx.css.StyleableProperty;
import javafx.css.converter.EnumConverter;
import javafx.event.EventHandler; import javafx.event.EventHandler;
import javafx.scene.control.Skin; import javafx.scene.control.Skin;
import javafx.scene.control.TextField; import javafx.scene.control.TextField;

View File

@ -26,11 +26,11 @@ package com.leewyatt.rxcontrols.controls;
import com.leewyatt.rxcontrols.skins.RXTranslationButtonSkin; import com.leewyatt.rxcontrols.skins.RXTranslationButtonSkin;
import com.leewyatt.rxcontrols.utils.RXResources; import com.leewyatt.rxcontrols.utils.RXResources;
import com.sun.javafx.css.converters.EnumConverter;
import javafx.css.CssMetaData; import javafx.css.CssMetaData;
import javafx.css.Styleable; import javafx.css.Styleable;
import javafx.css.StyleableObjectProperty; import javafx.css.StyleableObjectProperty;
import javafx.css.StyleableProperty; import javafx.css.StyleableProperty;
import javafx.css.converter.EnumConverter;
import javafx.scene.control.Label; import javafx.scene.control.Label;
import javafx.scene.control.Skin; import javafx.scene.control.Skin;

View File

@ -25,12 +25,12 @@
package com.leewyatt.rxcontrols.skins; package com.leewyatt.rxcontrols.skins;
import com.leewyatt.rxcontrols.controls.RXPagination; import com.leewyatt.rxcontrols.controls.RXPagination;
import com.sun.javafx.scene.control.skin.PaginationSkin;
import javafx.collections.ListChangeListener; import javafx.collections.ListChangeListener;
import javafx.scene.control.Button; import javafx.scene.control.Button;
import javafx.scene.control.Label; import javafx.scene.control.Label;
import javafx.scene.control.Pagination; import javafx.scene.control.Pagination;
import javafx.scene.control.TextField; import javafx.scene.control.TextField;
import javafx.scene.control.skin.PaginationSkin;
import javafx.scene.layout.HBox; import javafx.scene.layout.HBox;
/** /**

View File

@ -26,13 +26,13 @@ package com.leewyatt.rxcontrols.skins;
import com.leewyatt.rxcontrols.controls.RXPasswordField; import com.leewyatt.rxcontrols.controls.RXPasswordField;
import com.leewyatt.rxcontrols.enums.DisplayMode; import com.leewyatt.rxcontrols.enums.DisplayMode;
import com.sun.javafx.scene.control.skin.TextFieldSkin;
import javafx.beans.InvalidationListener; import javafx.beans.InvalidationListener;
import javafx.beans.property.SimpleBooleanProperty; import javafx.beans.property.SimpleBooleanProperty;
import javafx.beans.value.ChangeListener; import javafx.beans.value.ChangeListener;
import javafx.css.SimpleStyleableStringProperty; import javafx.css.SimpleStyleableStringProperty;
import javafx.scene.Cursor; import javafx.scene.Cursor;
import javafx.scene.control.TextField; import javafx.scene.control.TextField;
import javafx.scene.control.skin.TextFieldSkin;
import javafx.scene.input.MouseButton; import javafx.scene.input.MouseButton;
import javafx.scene.layout.Pane; import javafx.scene.layout.Pane;
import javafx.scene.layout.Region; import javafx.scene.layout.Region;

View File

@ -27,9 +27,9 @@ package com.leewyatt.rxcontrols.skins;
import com.leewyatt.rxcontrols.controls.RXTextField; import com.leewyatt.rxcontrols.controls.RXTextField;
import com.leewyatt.rxcontrols.enums.DisplayMode; import com.leewyatt.rxcontrols.enums.DisplayMode;
import com.leewyatt.rxcontrols.event.RXActionEvent; import com.leewyatt.rxcontrols.event.RXActionEvent;
import com.sun.javafx.scene.control.skin.TextFieldSkin;
import javafx.beans.value.ChangeListener; import javafx.beans.value.ChangeListener;
import javafx.scene.Cursor; import javafx.scene.Cursor;
import javafx.scene.control.skin.TextFieldSkin;
import javafx.scene.layout.Pane; import javafx.scene.layout.Pane;
import javafx.scene.layout.Region; import javafx.scene.layout.Region;
import javafx.scene.layout.StackPane; import javafx.scene.layout.StackPane;

View File

@ -0,0 +1,39 @@
/*
* MIT License
*
* Copyright (c) 2021 LeeWyatt
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/
module rxcontrols {
requires javafx.controls;
requires java.xml;
exports com.leewyatt.rxcontrols.animation.carousel;
exports com.leewyatt.rxcontrols.animation.fillbutton;
exports com.leewyatt.rxcontrols.animation.lineButton;
exports com.leewyatt.rxcontrols.controls;
exports com.leewyatt.rxcontrols.enums;
exports com.leewyatt.rxcontrols.event;
exports com.leewyatt.rxcontrols.pane;
exports com.leewyatt.rxcontrols.pojo;
exports com.leewyatt.rxcontrols.skins;
exports com.leewyatt.rxcontrols.utils;
}