GithubHelp home page GithubHelp logo

jidefx-oss's People

Contributors

aalmiray avatar fabiomorcillo avatar jidesoft avatar muminc avatar nonameplum avatar yangxiaoze avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jidefx-oss's Issues

Disable jar signing on local install

Well, I have no clue about gradle, but I had a hard time building the project locally as it wants to sign the jars on local install. Probably life would be easier when you do this on deploy only?

Is this project dead?

Like in title, Can you give some information about what are plans for this project or maybe it is already dead?

Best regards,
Lukas

Let DecoratorPane be used with FXML

The current design of DecoratorPane assumes that setting the content is an immutable operation, this it forces the content to be set on the constructor. However DecoratorPane may have its children rearranged at any time, thus the immutable condition is rendered moot. Providing an explicit no-args constructor hinders the usage of DecoratorPane with FXML.

Given that immutability of content cannot be enforced I say it's best to remove the explicit constructor and handle registration/deregistration of listeners whenever child content occurs. It could be the case that DecoratorPane enforces a single child in in it lists of children.

Cannot build examples

Followed the instructions and was able to produce a build, but I could not compile examples. See end of message for log.
JDK: jdk-8-ea-bin-b118-linux-x64-28_nov_2013.tar.gz

Also, setting JDK_HOME in gradle.settings had no effect - I had to override JAVA_HOME and put the new JDK into my PATH variable.
Can you try to build in a fresh environment please.

bbanner@bbanner-PC ~/work/jide/fx/jidefx-oss/build/release-b109 $ gradle
:compileJava
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/intellihints/IntelliHintsDemo.java:25: error: package jidefx.scene.control.hints does not exist
import jidefx.scene.control.hints.AbstractListIntelliHints;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/intellihints/IntelliHintsDemo.java:26: error: package jidefx.scene.control.hints does not exist
import jidefx.scene.control.hints.FileIntelliHints;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/intellihints/IntelliHintsDemo.java:27: error: package jidefx.scene.control.hints does not exist
import jidefx.scene.control.hints.ListDataIntelliHints;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/TextFieldsDemo.java:28: error: package jidefx.scene.control.decoration does not exist
import jidefx.scene.control.decoration.DecorationPane;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/TextFieldsDemo.java:29: error: package jidefx.scene.control.decoration does not exist
import jidefx.scene.control.decoration.DecorationUtils;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/TextFieldsDemo.java:30: error: package jidefx.scene.control.decoration does not exist
import jidefx.scene.control.decoration.Decorator;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/TextFieldsDemo.java:31: error: package jidefx.scene.control.field does not exist
import jidefx.scene.control.field._;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/TextFieldsDemo.java:32: error: package jidefx.scene.control.popup does not exist
import jidefx.scene.control.popup.TooltipEx;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/TextFieldsDemo.java:33: error: package jidefx.scene.control.validation does not exist
import jidefx.scene.control.validation.ValidationMode;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/TextFieldsDemo.java:34: error: package jidefx.scene.control.validation does not exist
import jidefx.scene.control.validation.ValidationUtils;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/TextFieldsDemo.java:35: error: package jidefx.utils does not exist
import jidefx.utils.FXUtils;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/TextFieldsDemo.java:463: error: cannot find symbol
private static void addDecoratorForMaskTextField(Label label, MaskTextField field) {
^
symbol: class MaskTextField
location: class TextFieldsDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/TextFieldsDemo.java:477: error: cannot find symbol
private static void addDecoratorForGroupBasedField(Label label, FormattedTextField field) { ^ symbol: class FormattedTextField location: class TextFieldsDemo /home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/SpinnerStyleDemo.java:22: error: package jidefx.scene.control.decoration does not exist import jidefx.scene.control.decoration.DecorationPane; ^ /home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/SpinnerStyleDemo.java:23: error: package jidefx.scene.control.field does not exist import jidefx.scene.control.field.DateField; ^ /home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/SpinnerStyleDemo.java:24: error: package jidefx.scene.control.field does not exist import jidefx.scene.control.field.FormattedTextField; ^ /home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/SpinnerStyleDemo.java:25: error: package jidefx.scene.control.field does not exist import jidefx.scene.control.field.SpinnerStyle; ^ /home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/SpinnerStyleDemo.java:26: error: package jidefx.utils does not exist import jidefx.utils.FXUtils; ^ /home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/SpinnerStyleDemo.java:37: error: cannot find symbol private DecorationPane _decorationPane; ^ symbol: class DecorationPane location: class SpinnerStyleDemo /home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/SpinnerStyleDemo.java:38: error: cannot find symbol private FormattedTextField _noBorderField; ^ symbol: class FormattedTextField location: class SpinnerStyleDemo /home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/SpinnerStyleDemo.java:39: error: cannot find symbol private FormattedTextField _borderedField; ^ symbol: class FormattedTextField location: class SpinnerStyleDemo /home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/SpinnerStyleDemo.java:40: error: cannot find symbol private FormattedTextField _customizedField; ^ symbol: class FormattedTextField location: class SpinnerStyleDemo /home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/SpinnerStyleDemo.java:114: error: cannot find symbol private static void addDecorator(Label label, FormattedTextField field) {
^
symbol: class FormattedTextField
location: class SpinnerStyleDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/animation/AnimationDemo.java:23: error: package jidefx.animation does not exist
import jidefx.animation.AnimationType;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/animation/AnimationDemo.java:24: error: package jidefx.animation does not exist
import jidefx.animation.AnimationUtils;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/animation/AnimationDemo.java:31: error: cannot find symbol
private ListView _animationTypeListView;
^
symbol: class AnimationType
location: class AnimationDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/popup/BalloonDemo.java:27: error: package jidefx.scene.control.decoration does not exist
import jidefx.scene.control.decoration.DecorationPane;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/popup/BalloonDemo.java:28: error: package jidefx.scene.control.field does not exist
import jidefx.scene.control.field.IntegerField;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/popup/BalloonDemo.java:29: error: package jidefx.scene.control.field does not exist
import jidefx.scene.control.field.NumberField;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/popup/BalloonDemo.java:30: error: package jidefx.scene.control.popup does not exist
import jidefx.scene.control.popup.BalloonPopupOutline;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/popup/BalloonDemo.java:31: error: package jidefx.scene.control.popup does not exist
import jidefx.scene.control.popup.ShapedPopup;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/popup/BalloonDemo.java:42: error: cannot find symbol
private IntegerField _roundedRadius;
^
symbol: class IntegerField
location: class BalloonDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/popup/BalloonDemo.java:43: error: cannot find symbol
private NumberField _arrowPosition;
^
symbol: class NumberField
location: class BalloonDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/popup/BalloonDemo.java:44: error: cannot find symbol
private NumberField _arrowBasePosition;
^
symbol: class NumberField
location: class BalloonDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/popup/BalloonDemo.java:45: error: cannot find symbol
private IntegerField _arrowHeight;
^
symbol: class IntegerField
location: class BalloonDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/popup/BalloonDemo.java:46: error: cannot find symbol
private IntegerField _arrowWidth;
^
symbol: class IntegerField
location: class BalloonDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/popup/BalloonDemo.java:47: error: cannot find symbol
private IntegerField xOffset;
^
symbol: class IntegerField
location: class BalloonDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/popup/BalloonDemo.java:48: error: cannot find symbol
private IntegerField yOffset;
^
symbol: class IntegerField
location: class BalloonDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/popup/BalloonDemo.java:51: error: cannot find symbol
private ShapedPopup shapedPopup;
^
symbol: class ShapedPopup
location: class BalloonDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/shapes/ShapesDemo.java:18: error: package jidefx.scene.control.field does not exist
import jidefx.scene.control.field.IntegerField;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/shapes/ShapesDemo.java:19: error: package jidefx.utils does not exist
import jidefx.utils.PredefinedShapes;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/combobox/ComboBoxesDemo.java:28: error: package jidefx.scene.control.combobox does not exist
import jidefx.scene.control.combobox.
;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/combobox/ComboBoxesDemo.java:29: error: package jidefx.scene.control.decoration does not exist
import jidefx.scene.control.decoration.DecorationPane;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/combobox/ComboBoxesDemo.java:30: error: package jidefx.scene.control.decoration does not exist
import jidefx.scene.control.decoration.DecorationUtils;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/combobox/ComboBoxesDemo.java:31: error: package jidefx.scene.control.decoration does not exist
import jidefx.scene.control.decoration.Decorator;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/combobox/ComboBoxesDemo.java:32: error: package jidefx.scene.control.field does not exist
import jidefx.scene.control.field.
;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/combobox/ComboBoxesDemo.java:33: error: package jidefx.scene.control.popup does not exist
import jidefx.scene.control.popup.TooltipEx;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/combobox/ComboBoxesDemo.java:34: error: package jidefx.utils does not exist
import jidefx.utils.FXUtils;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/combobox/ComboBoxesDemo.java:456: error: cannot find symbol
private static void addDecoratorForFormattedComboBox(Label label, FormattedComboBox field) { ^ symbol: class FormattedComboBox location: class ComboBoxesDemo /home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/combobox/ComboBoxesDemo.java:466: error: cannot find symbol private static void addDecoratorForPopupField(Label label, PopupField field) {
^
symbol: class PopupField
location: class ComboBoxesDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/searchable/SearchableDemo.java:21: error: package jidefx.scene.control.searchable does not exist
import jidefx.scene.control.searchable.
;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/searchable/SearchableDemo.java:58: error: cannot find symbol
List _searchables = new ArrayList<>();
^
symbol: class Searchable
location: class SearchableDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/ValidationDemo.java:22: error: package jidefx.scene.control.decoration does not exist
import jidefx.scene.control.decoration.DecorationPane;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/ValidationDemo.java:23: error: package jidefx.scene.control.decoration does not exist
import jidefx.scene.control.decoration.DecorationUtils;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/ValidationDemo.java:24: error: package jidefx.scene.control.decoration does not exist
import jidefx.scene.control.decoration.Decorator;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/ValidationDemo.java:25: error: package jidefx.scene.control.validation does not exist
import jidefx.scene.control.validation.*;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DateFormatValidator.java:9: error: package jidefx.scene.control.validation does not exist
import jidefx.scene.control.validation.ValidationEvent;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DateFormatValidator.java:10: error: package jidefx.scene.control.validation does not exist
import jidefx.scene.control.validation.ValidationObject;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DateFormatValidator.java:11: error: package jidefx.scene.control.validation does not exist
import jidefx.scene.control.validation.Validator;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DateFormatValidator.java:12: error: package jidefx.utils does not exist
import jidefx.utils.CommonUtils;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DateFormatValidator.java:17: error: cannot find symbol
public class DateFormatValidator implements Validator {
^
symbol: class Validator
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DateFormatValidator.java:32: error: cannot find symbol
public ValidationEvent call(ValidationObject param) {
^
symbol: class ValidationObject
location: class DateFormatValidator
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DateFormatValidator.java:32: error: cannot find symbol
public ValidationEvent call(ValidationObject param) {
^
symbol: class ValidationEvent
location: class DateFormatValidator
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/SimpleValidator.java:9: error: package jidefx.scene.control.validation does not exist
import jidefx.scene.control.validation.ValidationEvent;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/SimpleValidator.java:10: error: package jidefx.scene.control.validation does not exist
import jidefx.scene.control.validation.ValidationObject;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/SimpleValidator.java:11: error: package jidefx.scene.control.validation does not exist
import jidefx.scene.control.validation.Validator;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/SimpleValidator.java:12: error: package jidefx.utils does not exist
import jidefx.utils.ReflectionUtils;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/SimpleValidator.java:14: error: cannot find symbol
public class SimpleValidator implements Validator {
^
symbol: class Validator
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/SimpleValidator.java:22: error: cannot find symbol
public ValidationEvent call(ValidationObject param) {
^
symbol: class ValidationObject
location: class SimpleValidator
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/SimpleValidator.java:22: error: cannot find symbol
public ValidationEvent call(ValidationObject param) {
^
symbol: class ValidationEvent
location: class SimpleValidator
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DecorationDemo.java:34: error: package jidefx.animation does not exist
import jidefx.animation.AnimationType;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DecorationDemo.java:35: error: package jidefx.animation does not exist
import jidefx.animation.AnimationUtils;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DecorationDemo.java:38: error: package jidefx.scene.control.decoration does not exist
import jidefx.scene.control.decoration.DecorationPane;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DecorationDemo.java:39: error: package jidefx.scene.control.decoration does not exist
import jidefx.scene.control.decoration.DecorationUtils;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DecorationDemo.java:40: error: package jidefx.scene.control.decoration does not exist
import jidefx.scene.control.decoration.Decorator;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DecorationDemo.java:41: error: package jidefx.scene.control.decoration does not exist
import jidefx.scene.control.decoration.MutableDecorator;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DecorationDemo.java:42: error: package jidefx.scene.control.field does not exist
import jidefx.scene.control.field.NumberField;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DecorationDemo.java:43: error: package jidefx.utils does not exist
import jidefx.utils.FXUtils;
^
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DecorationDemo.java:59: error: cannot find symbol
private NumberField _offsetX;
^
symbol: class NumberField
location: class DecorationDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DecorationDemo.java:60: error: cannot find symbol
private NumberField _offsetY;
^
symbol: class NumberField
location: class DecorationDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DecorationDemo.java:65: error: cannot find symbol
private NumberField _paddingTop;
^
symbol: class NumberField
location: class DecorationDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DecorationDemo.java:66: error: cannot find symbol
private NumberField _paddingLeft;
^
symbol: class NumberField
location: class DecorationDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DecorationDemo.java:67: error: cannot find symbol
private NumberField _paddingRight;
^
symbol: class NumberField
location: class DecorationDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DecorationDemo.java:68: error: cannot find symbol
private NumberField _paddingBottom;
^
symbol: class NumberField
location: class DecorationDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/decoration/DecorationDemo.java:76: error: cannot find symbol
private ComboBox _animationTypes;
^
symbol: class AnimationType
location: class DecorationDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/intellihints/IntelliHintsDemo.java:88: error: cannot find symbol
ListDataIntelliHints intelliHints = new ListDataIntelliHints<>(urlTextField, urls);
^
symbol: class ListDataIntelliHints
location: class IntelliHintsDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/intellihints/IntelliHintsDemo.java:88: error: cannot find symbol
ListDataIntelliHints intelliHints = new ListDataIntelliHints<>(urlTextField, urls);
^
symbol: class ListDataIntelliHints
location: class IntelliHintsDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/intellihints/IntelliHintsDemo.java:92: error: cannot find symbol
FileIntelliHints fileIntelliHints = new FileIntelliHints(pathTextField);
^
symbol: class FileIntelliHints
location: class IntelliHintsDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/intellihints/IntelliHintsDemo.java:92: error: cannot find symbol
FileIntelliHints fileIntelliHints = new FileIntelliHints(pathTextField);
^
symbol: class FileIntelliHints
location: class IntelliHintsDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/intellihints/IntelliHintsDemo.java:103: error: cannot find symbol
new FileIntelliHints(fileTextField);
^
symbol: class FileIntelliHints
location: class IntelliHintsDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/intellihints/IntelliHintsDemo.java:107: error: cannot find symbol
new FileIntelliHints(fileTextArea);
^
symbol: class FileIntelliHints
location: class IntelliHintsDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/intellihints/IntelliHintsDemo.java:112: error: cannot find symbol
ListDataIntelliHints fontIntelliHints = new ListDataIntelliHints<>(fontTextField, fontNames);
^
symbol: class ListDataIntelliHints
location: class IntelliHintsDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/intellihints/IntelliHintsDemo.java:112: error: cannot find symbol
ListDataIntelliHints fontIntelliHints = new ListDataIntelliHints<>(fontTextField, fontNames);
^
symbol: class ListDataIntelliHints
location: class IntelliHintsDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/intellihints/IntelliHintsDemo.java:117: error: cannot find symbol
new AbstractListIntelliHints(textField) {
^
symbol: class AbstractListIntelliHints
location: class IntelliHintsDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/TextFieldsDemo.java:74: error: cannot find symbol
ValidationUtils.install(pane.lookup("#" + PREFIX_MASK_FIELD_FORM + "IP4Field"), new SimpleValidator(new RegexValidator(PATTERN_IP4)), ValidationMode.ON_FLY);
^
symbol: variable ValidationMode
location: class TextFieldsDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/TextFieldsDemo.java:74: error: cannot find symbol
ValidationUtils.install(pane.lookup("#" + PREFIX_MASK_FIELD_FORM + "IP4Field"), new SimpleValidator(new RegexValidator(PATTERN_IP4)), ValidationMode.ON_FLY);
^
symbol: variable ValidationUtils
location: class TextFieldsDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/TextFieldsDemo.java:75: error: cannot find symbol
ValidationUtils.install(pane.lookup("#" + PREFIX_MASK_FIELD_FORM + "IP6Field"), new SimpleValidator(new RegexValidator(PATTERN_IP6)), ValidationMode.ON_FLY);
^
symbol: variable ValidationMode
location: class TextFieldsDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/TextFieldsDemo.java:75: error: cannot find symbol
ValidationUtils.install(pane.lookup("#" + PREFIX_MASK_FIELD_FORM + "IP6Field"), new SimpleValidator(new RegexValidator(PATTERN_IP6)), ValidationMode.ON_FLY);
^
symbol: variable ValidationUtils
location: class TextFieldsDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/TextFieldsDemo.java:76: error: cannot find symbol
ValidationUtils.install(pane.lookup("#" + PREFIX_MASK_FIELD_FORM + "MacAddressField"), new SimpleValidator(new RegexValidator(PATTERN_MAC_ADDRESS)), ValidationMode.ON_FLY);
^
symbol: variable ValidationMode
location: class TextFieldsDemo
/home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/fields/TextFieldsDemo.java:76: error: cannot find symbol
ValidationUtils.install(pane.lookup("#" + PREFIX_MASK_FIELD_FORM + "MacAddressField"), new SimpleValidator(new RegexValidator(PATTERN_MAC_ADDRESS)), ValidationMode.ON_FLY);
^
symbol: variable ValidationUtils
location: class TextFieldsDemo
Note: /home/bbanner/work/jide/fx/jidefx-oss/build/release-b109/examples/src/jidefx/examples/demo/DemoData.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
100 errors
:compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':compileJava'.

    Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 5.461 secs
bbanner@bbanner-PC ~/work/jide/fx/jidefx-oss/build/release-b109 $

Error: "Duplicate methods named getValue with the parameters () and () are inherited from the types ComboBoxBase<T> and Editor<T>"

Problems reported in STS/Eclipse upon compiling module_fields:

Duplicate methods named getValue with the parameters () and () are inherited from the types ChoiceBox<T> and Editor<T>  ChoiceBoxEditor.java
Duplicate methods named getValue with the parameters () and () are inherited from the types ComboBoxBase<T> and Editor<T>   ComboBoxEditor.java
Duplicate methods named getValue with the parameters () and () are inherited from the types ChoiceBox<T> and Editor<T>  EnumChoiceBoxEditor.java
Duplicate methods named getValue with the parameters () and () are inherited from the types ComboBoxBase<T> and Editor<T>   EnumComboBoxEditor.java

Both the interface jidefx.scene.control.editor.Editor, and superclasses of controls like ChoiceBoxEditor, ComboBoxEditor, and their "Enum" companions in the package jidefx.scene.control.editor, define getValue(). This compile-time error occurs, at least for me, in STS/Eclipse (nightly build incorporating Eclipse BETA_8).

My environment:

$ java -version
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b106)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b48, mixed mode)

JDK 8u40 problems on building

I saw another problem when compiling with the last JDK.

I think the JavaFX team added a new (or changed the method signature) of this method:

javafx.scene.control.TextInputControl#cancelEdit (public final void)

It cant be overriden (its final) and the return type is void. I think this is new in JDK 8u40.

The class jidefx.scene.control.field.FormattedTextField<T> has its own method called cancelEdit that returns a boolean value. There is some kind of conflict there (sorry, i'm just learning java!).

I changed the name of the method to cancelEditing and renamed every occurrence . Now the project compiles, but when I import the JARs in Scene Builder 2, only few components can be dragged.

Problem building with Gradle 2.1

I was trying to use Gradle to build the jars (because there is some problems with the binary jars in the Maven repo) using the version 2.1.

When one tries to build it, a problem appears in the build.gradle file, line 15:

tasks.withType(Compile) {
      ... code 

This message appears:

* What went wrong:
A problem occurred evaluating root project 'jidefx-oss-master'.
Could not find property 'compile' on root project 'jidefx-oss-master'.

As Mathias Braun and Peter Niederwieser (http://stackoverflow.com/questions/24668746/after-upgrading-to-gradle-2-0-could-not-find-property-compile-on-root-project) said, the Compile property has been deprecated in those new versions of Gradle.

And he suggests replacing this line with this:

tasks.withType(JavaCompile) {

Perhaps it solves the problem, I couldn't finish the build (because I had some proxy error) but the error disappeared.

I'm submitting this issue so people can see how they can solve it.

JideFX and Scene Builder

G'day,
Would anyone able to point me in the right direction. I have been trying to use JideFX with Scene Builder 2 generated FXML files.

It is probably a stupid question... but I'll ask anyway. Sorry if it is out of order.

What is the best method to enable JideFX validation and decoration on a textfield added using SB2?

I understand you need to use "new DecorationPane(pane)" , however, if the pane is generated within SB2, and embedded within other Pane's how would one go about called the DecorationPane method?

I can easily embed the validation within the fxml's controller and I know this works well.

And, If I load the FXML file manually, and wrap the pane within DecorationPane it works and the decorations show when fields are invalid,

Where I am coming unstuck, is I would like to be able to design the GUI within SB2.

Any pointers would be very appreciated.

Thanks in advance.

PS:Understand if it is not easy, and I have to revert to manually coding the GUI, but it would be so much easier if there was a simple way to do this within SB2.

Cheers.

Maven SNAPSHOT release

I would like to use JideFX-oss (specifically the validation framework) in a Maven-based project.
I am also using MigPane.
I do not need to modify any of jidefx-oss code (I managed to overcome deficencies "just" subclassing ValidationUtils).
Problem is jidefx--0.9.1-b128 (the latest release I found on maven repositories) is based on (buggy) miglayout--4.1, while I am using miglayout-javafx-5.0-SNAPSHOT
This leads to a conflict forcing me to compile jidefx from sources.
Would it be possible to get a maven version (e.g.: jidefx-*-1.0-SNAPSHOT) with updated dependencies somewhere (e.g.: sonatype)?
I would really like to avoid tracking sources.
Thanks in Advance

No Such Method Error

this error generate on runtime execution with a masktextfield when i tried to add a newInputmask................
earlier i installed jdk 8 because it had a version 52 problem.............

TooltipEx causes stackoverflow

I am trying to run the examples.

TooltipEx tooltip = new TooltipEx(...); in method addDecoratorForMaskTextField(Label label, MaskTextField field) of class TextFieldsDemo causes the following problem.

Exception in Application start method
Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:875)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$147(LauncherImpl.java:157)
at com.sun.javafx.application.LauncherImpl$$Lambda$1/2084435065.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.StackOverflowError
at javafx.beans.property.StringPropertyBase.get(StringPropertyBase.java:49)
at javafx.beans.binding.StringExpression.getValue(StringExpression.java:51)
at javafx.beans.binding.StringExpression.getValue(StringExpression.java:47)
at javafx.beans.property.StringPropertyBase.get(StringPropertyBase.java:130)

Write down usage guide

Current guides are supplied in PDF format and unfortunately are not available from this repository. A new guide can be created using Asciidoctor.

Rename refactoring of ValidationUtils and its methods to follow "Bindings" precedent in JavaFX

ValidationUtils, and its methods, install() and uninstall(), don't seem to be suitable names to me. I would prefer that the naming follow the JavaFX naming in this regard -- Bindings, bind, and unbind. The renaming refactoring (this is still a beta release?) would result in the following names:

ValidationBindings [replaces "ValidationUtils"]
bind(...) [replaces "install()"]
unbind(...) [replaces "uninstall()"]

I'm not familiar with Jide Swing libraries, but if the argument is that "we used the names 'Utils' and 'install/uninstall' in those libraries", it doesn't fly with me. Naming is always a touchy subject, but consider this: JideFX is a new library; it's for JavaFX, not Swing, and it's time for more appropriate naming, one which follows the Binding naming precedent in JavaFX. Because, essentially, that's what you are doing here -- binding and unbinding, not installing and uninstalling.

java.lang.NoSuchMethodError on scroll event in formatted text field

Exception in thread "JavaFX Application Thread" java.lang.NoSuchMethodError: com.sun.javafx.scene.control.skin.TextFieldSkin.getIndex(Ljavafx/scene/input/MouseEvent;)Lcom/sun/javafx/scene/text/HitInfo;
at jidefx.scene.control.field.FormattedTextField$2.handle(FormattedTextField.java:180)
at jidefx.scene.control.field.FormattedTextField$2.handle(FormattedTextField.java:171)
at com.sun.javafx.event.CompositeEventHandler$NormalEventFilterRecord.handleCapturingEvent(Unknown Source)
at com.sun.javafx.event.CompositeEventHandler.dispatchCapturingEvent(Unknown Source)
at com.sun.javafx.event.EventHandlerManager.dispatchCapturingEvent(Unknown Source)
at com.sun.javafx.event.EventHandlerManager.dispatchCapturingEvent(Unknown Source)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchCapturingEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)

Tested on JDK8 Update 20. The only method in TextFieldSkin is:
public HitInfo getIndex(double x, double y);

Add gradle wrapper configuration

The gradle wrapper allows running the build without having a pre-installed gradle. It'll also help running the build on CI environments.

Using FormattedTextField for US Phone Number validation

JideFX looks like a real gift to the JavaFX community! So many controls that should have been part of the JavaFX core but were not.

The application I am working on is primarily data entry with lots of form fields. As part of the application, I need to collect phone numbers. All of the phone numbers will be in US format (###-###-####). I have read through the users guide for FormattedTextField but I can't figure out how to set the NumberRangePatternVerifier correctly. Could you provide me an example?

Configure Travis-CI

Travis-CI is free for OSS projects and works great with oraclejdk8/openjdk8.

MaskTextField input mask with space

I'm not sure I allowed post this but couldn't find any other place I can post question.

I'm not sure it is problem but, the mask input mask does not seem work well with space. For example, with input mask "999-999-9999", user can enter only numbers and the field take care of the format but if the mask has space like "(999) 999-9999", it stops at the space and user have to enter the space.

I think user should be able to enter only numbers with space.

Thanks.

java.lang.NullPointerException when trying to input text in FormattedTextField

Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
at jidefx.scene.control.field.FormattedTextField.replaceText(FormattedTextField.java:1442)
at com.sun.javafx.scene.control.skin.TextFieldSkin.replaceText(Unknown Source)
at com.sun.javafx.scene.control.behavior.TextFieldBehavior.replaceText(Unknown Source)
at com.sun.javafx.scene.control.behavior.TextInputControlBehavior.defaultKeyTyped(Unknown Source)
at com.sun.javafx.scene.control.behavior.TextInputControlBehavior.callAction(Unknown Source)
at com.sun.javafx.scene.control.behavior.BehaviorBase.callActionForEvent(Unknown Source)
at com.sun.javafx.scene.control.behavior.TextInputControlBehavior.callActionForEvent(Unknown Source)
at com.sun.javafx.scene.control.behavior.BehaviorBase.lambda$new$74(Unknown Source)
at com.sun.javafx.scene.control.behavior.BehaviorBase$$Lambda$101/1823028109.handle(Unknown Source)
at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(Unknown Source)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
at javafx.event.Event.fireEvent(Unknown Source)
at javafx.scene.Scene$KeyHandler.process(Unknown Source)
at javafx.scene.Scene$KeyHandler.access$1800(Unknown Source)
at javafx.scene.Scene.impl_processKeyEvent(Unknown Source)
at javafx.scene.Scene$ScenePeerListener.keyEvent(Unknown Source)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(Unknown Source)
at com.sun.javafx.tk.quantum.GlassViewEventHandler$KeyEventNotification.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleKeyEvent(Unknown Source)
at com.sun.glass.ui.View.handleKeyEvent(Unknown Source)
at com.sun.glass.ui.View.notifyKey(Unknown Source)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$141(Unknown Source)
at com.sun.glass.ui.win.WinApplication$$Lambda$37/1109371569.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Tested on JDK8 Update 20.

Can I remove the InputMask from the MaskTextField?

Hello, thank you for the awesome library!

I'm trying to remove the InputMask from the field, but I'm not getting it, for example, I have a ComboBox with some contact types and when I select one I give a different mask to the field, but some don't have mask.

Thanks.

Neither decorations nor errors show up on controls

I compiled the current jidefx-oss trunk and got "release-b128" in the build directory; I imported jidefx-common-b128, jidefx-decoration-b128, jidefx-validation-b128, miglayout-core-4.2 and miglayout-javafx-4.2 in my current netbeans project. I am using netbeans 8.0.1 and JDK 1.8.0_25

I have a FXML with a javafx BorderPane and a few javafx TextFields and ComboBoxes, in the associated Controller in initialize() I use ValidationUtils.install() on the controls and pass a very simple Validator:

public class SimpleValidator implements Validator {
    @Override
    public ValidationEvent call(ValidationObject param) {
        System.out.println("newValue: " + param.getNewValue());
        return new ValidationEvent(ValidationEvent.VALIDATION_ERROR, 1, "is empty");
    }
}

When a button is pressed I call ValidationUtils.validateOnDemand().

It does not matter whether the validations are ON_DEMAND or ON_FOCUS_LOST, not a single error message or decoration appears on my controls, not when I press the button nor when I click through them so they gain and lose focus.
However, I do see the println() from my SimpleValidator and validateOnDemand() does return false, so the Validation-Errors I am forcing are there - I just don't get any visual confirmation, no nice red decorations or visible errors or anything!

Did I miss something or do something wrong?

Not able to drag drop DoubleField

DoubleField is getting shown in the Custom section of SceneBuilder on importing jidefx libraries into scenebuilder. I have created a view in scenebuilder with AnchorPane as root node. I am not able to drag drop DoubleField onto the AnchorPane.

BubblingValidator proposal

I am interested in expanding ValidationUtils to include something like a "bubble Validator"; this would work installing handlers to all validated child of the given node to monitor them and calling a defined CallBack (or firing an event) whenever overall Validation status (defined as the most severe of all monitored statuses) changes.

One possible Usage Case is to automatically enable/disable a "submit" button based on Validation status of the whole form.

I can contribute such a thing, if deemed useful.
Am I missing some obvious method to implement the above without touching ValidationUtils?

DateField Popup Button is only visible if I add the control "asSpinner"

Using the version 9.0.1 from here: http://mvnrepository.com/artifact/com.jidesoft/jidefx-fields

Code-example:
fromDateField = new DateField(i18nService.getDateFormat());
fromDateField.setId(FROM_DATE_FIELD_ID);
fromDateField.setPopupButtonVisible(true);
dateSelectorGridPane.add(fromDateField, 1, 0);

The popup button which opens the calendar-control should be visisble, it isn't though. If I add the control using this:

dateSelectorGridPane.add(fromDateField.asSpinner(), 1, 0);

The popup button is visible. However, the popup opens with a slight delay and flashes white before opening fully.

DateField's calendar popup: No "next month" button, no week numbers

When creating a date field and opening it's calendar popup there is the possibility to go to the previous month via clicking an arrow button left of the month. There is no button to go to the next month, though. (or perhaps it is invisible)

When right-clicking, there is the option to select "show week numbers". When selecting this option, there is an empty column inserted left of the calendar.

Sadly I can't provide a screenshot, because the popup closes on focus lost.

Visible property not honored by decorations

It seems Visible property for TextField is not honored by the associated Decorators.
I have the following code snippet:

    MigPane root = new MigPane("fill, hidemode 3", "", "[grow 0][grow]");
    ...
    TextField tf = new TextField();
    tf.setPromptText("enter password");
    ValidationUtils.install(tf, pw);
    root.add(tf);
    tf.setVisible(false);

    PasswordField pf = new PasswordField();
    pf.setPromptText("enter password");
    ValidationUtils.install(pf, pw);
    root.add(pf);
    cbu.addEventHandler(ActionEvent.ACTION, new EventHandler<ActionEvent>() {
        @Override
        public void handle(ActionEvent event) {
            pf.setText(null);
            tf.setText(null);
        }
    });

    ToggleButton hb = new ToggleButton("Show");
    hb.addEventHandler(ActionEvent.ACTION, new EventHandler<ActionEvent>() {
        @Override
        public void handle(ActionEvent event) {
            if (hb.isSelected()) {
                hb.setText("Show");
                pf.setVisible(false);
                tf.setText(pf.getText());
                tf.setVisible(true);
            } else {
                hb.setText("Hide");
                tf.setVisible(false);
                pf.setText(tf.getText());
                pf.setVisible(true);
            }
        }
    });
    root.add(hb, "wrap");
    ...
    Scene s = new Scene(new DecorationPane(root));
        s.getStylesheets().add(getClass().getResource("application.css").toExternalForm());

    primaryStage.setScene(s);
    primaryStage.sizeToScene();
    primaryStage.show();

Intended effect is,obviously, to have aTextField and a PasswordField sharing the same space, with a ToggleButton to toggle between them.
Unfortunately the decoration icons on the top-right corner are both visible all the time since they do not overlap completely (at least error==circle/Warning==triangle).
Worse yet at program start (before I hit the ToggleButton for the first time) the "invisible" TextField decoration is in a completely bogus (and very visible) position.

Is there any workaround?
Am I missing something?
Thanks in Advance

Unable to compile using jdk 1.8.0_40-ea

Dear All,

I tried cloning the project and adjusted the jdk 8 path in gradle.properties and triggered the build on the root project folder (jidefx-oss). However, I get the following error.

/home/sriraman/jidefx-oss/module-fields/src/main/java/jidefx/scene/control/field/FormattedTextField.java:180: error: method getIndex in class TextFieldSkin cannot be applied to given types;
HitInfo hitInfo = ((TextFieldSkin) getSkin()).getIndex(e);
^
required: double,double
found: MouseEvent
reason: actual and formal argument lists differ in length
/home/sriraman/jidefx-oss/module-fields/src/main/java/jidefx/scene/control/field/FormattedTextField.java:366: error: cancelEdit() in FormattedTextField cannot override cancelEdit() in TextInputControl
public boolean cancelEdit() {
^
overridden method is final
Note: /home/sriraman/jidefx-oss/module-fields/src/main/java/jidefx/scene/control/field/popup/AbstractDatePopupContent.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
:module-fields:compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':module-fields:compileJava'.

    Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

My Java Version:

java version "1.8.0_40-ea"
Java(TM) SE Runtime Environment (build 1.8.0_40-ea-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b15, mixed mode)

My Gradle Version:


Gradle 2.1

Build time: 2014-09-08 10:40:39 UTC
Build number: none
Revision: e6cf70745ac11fa943e19294d19a2c527a669a53

Groovy: 2.3.6
Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM: 1.8.0_40-ea (Oracle Corporation 25.40-b15)
OS: Linux 3.13.0-37-generic amd64

Can somebody please let me know what the issue is?

best regards
Sriraman.

Efxclipse usage

Hi

Did someone use JideFX in Efxclipse RCP application?

What is the right way of using JideFX within Efxclipse RCP application? I have tried osgify from maven with help of p2-maven-plugin. I have added com.sun.* packages to org.osgi.framework.system.packages.extra. Failed. It works if I add jars to Bundle-Classpath. But fields like LocalDateTimeField do not respond to keyboard input and icons of inner buttons are lost.

NumberField with currency decimals doesn't PositiveOnly.

Hello, here's me again, If I'm bothering you too much just let me know...

Look, I'm using this:
NumberField tfValor = new NumberField();
DecimalFormat currencyFormat = (DecimalFormat) NumberFormat.getCurrencyInstance();
currencyFormat.setMinimumIntegerDigits(1);
currencyFormat.setMaximumIntegerDigits(5);
currencyFormat.setMinimumFractionDigits(2);
currencyFormat.setMaximumFractionDigits(2);
tfValor.setDecimalFormat(currencyFormat);
tfValor.setPositiveOnly(true);
tfValor.setValue(0.00);
tfValor.setSpinnersVisible(false);

When I press keyboard arrow down or mouse scroll down at the decimal places the field let me go to negative value even though I have setPositiveOnly(true), it seems to work only at the integer place.

LocalDateField doesn't behave like DateField, and some bugs

Hello!

I created a LocalDateField, a DateField and a LocalDateTimeField to compare they behaviors. I believe that the LocalDateField uses the new java.time API.

The DateField works very well, if I type "3" in the first digit of the month, it jumps to the first digit of the year. Very smart! It works just perfectly.

But the LocalDateField doesn't have a very smart behavior. When I delete all the text inside the field and start typing some date, the caret jumps to the end and doesn't allow me to type anything.

The DateField handles it like a master.

Also, when I click the calendar (it happens with LocalDateField and DateField as well) without having any text inside it (of course, only with the //), an exception throws:

java.lang.NoSuchMethodError: jidefx.scene.control.field.PopupField.cancelEdit()V
    at jidefx.scene.control.field.PopupField.show(PopupField.java:139)
    at jidefx.scene.control.field.PopupField.togglePopup(PopupField.java:119)
    at jidefx.scene.control.field.PopupField$2.handle(PopupField.java:97)
    at jidefx.scene.control.field.PopupField$2.handle(PopupField.java:94)

Perhaps the new JDK 8u40 messed up everything, but I have already pointed out in another issue about this new cancelEdit thing.

If I had more time, I could fork the project and correct it myself, but...

Is FailBehavior handling implemented?

I could find neither reference to FailBehavior nor to getProposedValue() in the whole code (aside for its declaration and initialization, of course).
I also could not find an easy way to implement it in Validator (when Validator is called value is already changed in upstream Property).
Can someone point me in the right direction, please?

gradle build failure

C:\mydrive\documents\JavaFx\jidefx-oss-master>gradle
Defining custom æbuildÆ task is deprecated when using standard lifecycle plugin has been deprecated and is scheduled to be removed in Gradle 3.0
:initExamples UP-TO-DATE
:initProjectFiles UP-TO-DATE
:jidefx-common:compileJava
C:\mydrive\documents\JavaFx\jidefx-oss-master\module-common\src\main\java\jidefx\utils\FXUtils.java:23: error: cannot find symbol
import com.sun.javafx.Utils;
^
symbol: class Utils
location: package com.sun.javafx
C:\mydrive\documents\JavaFx\jidefx-oss-master\module-common\src\main\java\jidefx\utils\FXUtils.java:42: error: cannot find symbol
final Screen currentScreen = Utils.getScreenForPoint(point.getX(), point.getY());
^
symbol: variable Utils
location: class FXUtils
C:\mydrive\documents\JavaFx\jidefx-oss-master\module-common\src\main\java\jidefx\utils\FXUtils.java:43: error: cannot find symbol
return Utils.hasFullScreenStage(currentScreen) ? currentScreen.getBounds() : currentScreen.getVisualBounds();
^
symbol: variable Utils
location: class FXUtils
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
:jidefx-common:compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':jidefx-common:compileJava'.

    Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 11.858 secs

C:\mydrive\documents\JavaFx\jidefx-oss-master>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.