JideFX Common Layer

Related tags

GUI jidefx-oss
Overview

Welcome to the JideFX Common Layer, a collection of various extensions and utilities for to JavaFX platform. The JideFX Common Layer is the equivalent to the JIDE Common Layer in the JIDE components for Swing.

Instead of packaging everything into one large jar, we decided to split it into several modules which each module creates its own jar. For now, under the same umbrella, we have six modules. Each module can be built and used independently. We may introduce more modules to the JideFX Common Layer in the future.

JideFX Common Layer at https://github.com/jidesoft/jidefx-oss.git

We use gradle to build this project. All you need to do is:

  1. install the gradle
  2. run "gradle" from the command line Each jar will be generated under the "dist" folder for binary, javadoc and source code respectively.

If you need a specific part, you just go to the specific sub-folder, then run "gradle".

In addition, there is a build folder that contains all the jars as well as the examples, developer guides and javadocs. Here is the structure:


Example Directory Structure


build
  |--release-x.x.x
       |-- .idea                 ; IntelliJ IDEA project folder
       |-- doc                   ; developer guides of modules in PDF format
       |-- examples              ; examples source code
       |-- javadoc               ; javadoc jars
       |-- lib                   ; required libs for examples
       |-- src                   ; source code jars
       |-- build.gradle          ; gradle build script for examples, TextFieldsDemo will be executed by default
       |-- jidefx-demo.iml       ; IntelliJ IDEA module file

Since JavaFX is still a work in progress, we built our products on top of JDK 8 and JavaFX 8 early access releases so that we can leverage the latest features from this new technology. So, in order to try out these products, you will have to download the latest EA release from https://jdk8.java.net/download.html. We will keep JideFX in sync with the latest JDK 8 EA so that the latest version will always work with the latest JDK 8 EA. The JDK 8 will be formally released in a couple of months which will give us enough time to complete our beta phase.

We have changed jidefx-oss release number format to follow the release number of JDK8. For example b109 is for JDK8 b109, b111 is for JDK b111.

Please search for jidefx in Maven center http://search.maven.org/ if you prefer to get a binary release.

Comments
  • No Such Method Error

    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.............

    opened by kuldeep3303 15
  • no decorator with DateField in TreeTableCell

    no decorator with DateField in TreeTableCell

    I just discovered your lib and I'm very impressed. I just want to edit a Date in a TreeTableView. I tried to use a DecoratorPane as a DateField container without success. Must be a rookie mistake. I know it's not an issue, but your forum at http://www.jidesoft.com doesn't seem open.

    enhancement 
    opened by oallouch 7
  • Neither decorations nor errors show up on controls

    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?

    opened by sk4rrjin 6
  • JDK 8u40 problems on building

    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.

    opened by ricardopieper 6
  • Error: and Editor"">

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

    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)

    enhancement 
    opened by pfurbacher 6
  • Can I remove the InputMask from the MaskTextField?

    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.

    opened by AurelioLM 5
  • Disable jar signing on local install

    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?

    opened by eiswind 3
  • java.lang.NullPointerException when trying to input text in FormattedTextField

    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.

    opened by alexmaig 3
  • LocalDateField doesn't behave like DateField, and some bugs

    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...

    opened by ricardopieper 3
  • DateField's calendar popup: No

    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.

    bug 
    opened by kroeberk 3
  • java.lang.NoSuchMethodError on scroll event in formatted text field

    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);

    opened by alexmaig 2
  • Cannot cast org.gradle.api.DefaultTask_Decorated to org.gradle.api.tasks.Delete">

    "gradle" => Cannot cast org.gradle.api.DefaultTask_Decorated to org.gradle.api.tasks.Delete

    hello, I used git to clone the project from github, installed the last jdk EA (1.8.0_192) and modified my JAVA_HOME, JDK_HOME and PATH accordingly. I'm on windows 10. then, I went to the directory "jidefx-oss", and ran gradle, but I get the error in the title of thir post. more precisely, I get this: result.txt What was wrong? thank you.

    opened by lowley 1
  • Not able to drag drop DoubleField

    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.

    opened by egrrohit 0
  • Efxclipse usage

    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.

    opened by tJeyhun 1
Releases(b111)
Owner
null
JFXNodeMapper - a simple library that focuses on mapping data from common data represntation formats to JavaFx Nodes

JFXNodeMapper - a simple library that focuses on mapping data from common data represntation formats to JavaFx Nodes. Our main focus is to build a library that,

Aby Kuruvilla 7 Oct 15, 2021
Java Abstracted Foreign Function Layer

jnr-ffi jnr-ffi is a Java library for loading native libraries without writing JNI code by hand, or using tools such as SWIG. Example package hellowor

The Java Native Runtime Project 1.1k Dec 31, 2022
Language-Natural Persistence Layer for Java

Permazen is a better persistence layer for Java Persistence is central to most applications. But there are many challenges involved in persistence pro

Permazen 322 Dec 12, 2022
N-Layer Architecture human resource management system project with Java.

HRMS Project Backend N-Layer Architecture human resource management system project with Java. Report Bug · Request Feature About The Project Built Wit

Ahmet Çetinkaya 78 Dec 26, 2022
Renders the player skin layer in 3d

3d Skin Layers Replaces the usually flat second layer of player skins with a 3d modeled version. Will automatically switch to the vanilla 2d rendering

tr7zw 95 Jan 8, 2023
Model Layer Implementation for a J2EE Pull MVC WebApp

Modality is a lightweight but hightly configurable Java ORM, with a companion set of tools docs home modality-core doc modality-webapp doc velocity-to

Claude Brisson 11 Jan 3, 2023
OBKV Table Client is Java Library that can be used to access table data from OceanBase storage layer.

OBKV Table Client OBKV Table Client is Java Library that can be used to access table data from OceanBase storage layer. Its access method is different

OceanBase 12 Dec 16, 2022
Ethylene is a open-source, lightweight, general-purpose compatibility layer standing between the developer and the chaotic world of configuration file formats.

Ethylene Ethylene is a open-source, lightweight, general-purpose compatibility layer standing between the developer and the chaotic world of configura

Steank 7 Aug 9, 2022
Apache Drill is a distributed MPP query layer for self describing data

Apache Drill Apache Drill is a distributed MPP query layer that supports SQL and alternative query languages against NoSQL and Hadoop data storage sys

The Apache Software Foundation 1.8k Jan 7, 2023
Simplifies the development of creating a JPA-based data access layer.

Spring Data JPA Spring Data JPA, part of the larger Spring Data family, makes it easy to easily implement JPA based repositories. This module deals wi

Spring 2.5k Jan 5, 2023
Koios Java Client Library is based on Koios Elastic Query Layer for Cardano Node by Cardano Community Guild Operators

Koios Java Client What is Koios? Koios Java Client Library is based on Koios Elastic Query Layer for Cardano Node by Cardano Community Guild Operators

Dudi Edri 13 Dec 4, 2022
An intelliJ plugin providing a UI layer for git-flow, which in itself is a collection of Git extensions to provide high-level repository operations for Vincent Driessen's branching model.

Git Flow Integration Plus for Intellij An intelliJ plugin providing a UI layer for git-flow, which in itself is a collection of Git extensions to prov

RubinCarter 35 Nov 8, 2022
Catch common Java mistakes as compile-time errors

Error Prone Error Prone is a static analysis tool for Java that catches common programming mistakes at compile-time. public class ShortSet { public

Google 6.3k Dec 31, 2022
Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.

Testcontainers Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium we

null 6.7k Jan 9, 2023
Implementation of various string similarity and distance algorithms: Levenshtein, Jaro-winkler, n-Gram, Q-Gram, Jaccard index, Longest Common Subsequence edit distance, cosine similarity ...

java-string-similarity A library implementing different string similarity and distance measures. A dozen of algorithms (including Levenshtein edit dis

Thibault Debatty 2.5k Dec 29, 2022
Catch common Java mistakes as compile-time errors

Error Prone Error Prone is a static analysis tool for Java that catches common programming mistakes at compile-time. public class ShortSet { public

Google 6.3k Dec 31, 2022
A distributed data integration framework that simplifies common aspects of big data integration such as data ingestion, replication, organization and lifecycle management for both streaming and batch data ecosystems.

Apache Gobblin Apache Gobblin is a highly scalable data management solution for structured and byte-oriented data in heterogeneous data ecosystems. Ca

The Apache Software Foundation 2.1k Jan 4, 2023
Solutions for some common algorithm problems written in Java.

Algorithms This repository contains my solution for common algorithms. I've created this repository to learn about algorithms and improve solutions to

Pedro Vicente Gómez Sánchez 2.8k Dec 30, 2022
A Common Criteria (CC) and FIDO certified FIDO U2F javacard applet.

de.fac2 - FIDO U2F Authenticator Applet v1.34 de.fac2 is a Javacard applet which implements a Fido U2F token. It was designed and implemented based on

Bundesamt für Sicherheit in der Informationstechnik 19 Nov 20, 2022