rhwood / jinputvalidator Goto Github PK
View Code? Open in Web Editor NEWJava Swing InputVerifier that adds an icon and tooltip to the component for invalid states.
Home Page: https://rhwood.github.io/jinputvalidator/
License: Apache License 2.0
Java Swing InputVerifier that adds an icon and tooltip to the component for invalid states.
Home Page: https://rhwood.github.io/jinputvalidator/
License: Apache License 2.0
Should use the dependency:go-offline
maven goal to resolve this.
The return result of JInputValidator.verify(JComponent)
is the opposite of documented contract.
The validate currently replaces the component’s border, drawing the validation icon as part of the inherited border. It should use a CompoundBorder so the component’s border is untouched, and the validation only manipulates its own order.
Due to some change in a dependency or maven itself, the generation of test javadocs is failing. The cause needs to be tracked down and fixes monitored so this can be re-enabled.
The icons have jagged edges.
See JMRI/JMRI#7470
Calling JInputValidator.trimHtmlTags()
with a null input (like in new JTextField with no explicitly set tooltip text) causes an NPE.
Need to add helpers that would allow a JInputValidator to provide a getToolTipText()
that strips off <html>
and </html>
tags for inclusion in an expanded error message in a Validation. A helper that prepends or appends the error message to an existing tool tip would also help.
Using the Aqua Look and Feel, the validated component gets an extra 5px white border around the component when the ValidatorBorder is used. Other compound borders also appear to have this issue with this Look and Feel.
Validators
should always inherit the JInputValidatorPreferences
object from the containing JInputValidator
.
It became a problem when the string used as information about the Validation Type become more big. It takes along the lines but I want to wrap at somes part of string.
I tried HTML format string and Text Alignment, it doesn't work
And I also want to ask if there is no a library as yours but for android developers, I like it and I want to use it for android app
Currently the JInputValidatorPreferences
do not inherit from the default instance. They should, so that overriding preferences
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.