JFXtras / jfxtras

A supporting library for JavaFX, containing helper classes, extended layouts, controls and other interesting widgets.
http://jfxtras.org
Other
599 stars 123 forks source link

Adding "pickerShowing" property on all TextFields in order to control mo... #24

Closed Maxoudela closed 9 years ago

Maxoudela commented 9 years ago

Adding "pickerShowing" property on all TextFields in order to control more closely the popup display.

I've added the property on all TextFields files.

The popup is created only when necessary.

I've added some Assert tests when the popup is displayed. I also added one test when I display the popup via the property. Is that allright?

tbee commented 9 years ago

Oh, and I forgot, but since this is JFXtras instead of labs there are already tests for the popup showing when the icon is clicked, but a test must be added for when the property is set. And the via-icon test should valid that the property is true.