NumberAxis alignment of ticks to multiples of tickUnit
I've just been having fun with scrolling graphs in JavaFx. It seems that when using Number axis without autoRanging graphs must always start with a major tick, even if it is not a multiple of tickUnit. For example a graph with xAxis range 4 to 24 and tickUnit 10. I would expect major ticks at 10 and 20, however I see ticks at 4, 14 and 24 - this feels weird. To me aligning tick marks to multiples makes sense and should at least be a option, it's what you would have done in your Maths when drawing graphs by hand. * my question: http://stackoverflow.com/questions/25383566/scrolling-xychart-with-javafx/25397836 * another one I found later: http://stackoverflow.com/questions/13119597/javafx-2-x-how-to-move-line-grid-and-x-ticks-together I "solved" this by subclassing ValueAxis - see my own answer on stackoverflow link. There is also a project called jfxutils which contains a class called StableTickAxis which appears to do the same job along with duplicating a lot of the functionality in NumberAxis. https://github.com/gillius/jfxutils/blob/master/jfxutils/src/main/java/org/gillius/jfxutils/chart/StableTicksAxis.java So my question to the group is, would you consider including this functionality in the main NumberAxis class? - obviously making it configurable and defaulting to current behaviour. Regards, Adam.
hg: openjfx/8u-dev/rt: RT-38172: ClassCastException after TreeTableColumn setText(...)
Changeset: f92fde766ac3 Author:jgiles Date: 2014-08-20 13:31 +1200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/f92fde766ac3 RT-38172: ClassCastException after TreeTableColumn setText(...) ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableHeaderRow.java
hg: openjfx/8u-dev/rt: RT-38333: Missing @since tags in SpinnerValueFactory
Changeset: 1b66feb4577d Author:jgiles Date: 2014-08-20 13:26 +1200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/1b66feb4577d RT-38333: Missing @since tags in SpinnerValueFactory ! modules/controls/src/main/java/javafx/scene/control/SpinnerValueFactory.java
hg: openjfx/8u-dev/rt: Fix RT-38315: [Decora] Render bug with Lighting effect
Changeset: e6a0070b2865 Author:flar Date: 2014-08-19 18:16 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/e6a0070b2865 Fix RT-38315: [Decora] Render bug with Lighting effect Reviewed by: kcr ! modules/graphics/src/main/java/com/sun/scenario/effect/PhongLighting.java
hg: openjfx/8u-dev/rt: 2 new changesets
Changeset: e482cf3b4593 Author:jgiles Date: 2014-08-20 12:55 +1200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/e482cf3b4593 RT-38358: [Dialogs] Need to specify how Dialog.close() is handled ! modules/controls/src/main/java/javafx/scene/control/Dialog.java ! modules/controls/src/main/java/javafx/scene/control/FXDialog.java ! modules/controls/src/main/java/javafx/scene/control/HeavyweightDialog.java Changeset: eb55468a0a26 Author:jgiles Date: 2014-08-20 12:56 +1200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/eb55468a0a26 [TOYS ONLY] Clean up and add 'auto close' test functionality to HelloDialogs ! apps/toys/Hello/src/main/java/hello/HelloDialogs.java
hg: openjfx/8u-dev/rt: RT-37092: Updated fix to avoid NPE in unit tests.
Changeset: d8500a1bace1 Author:leifs Date: 2014-08-19 16:50 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/d8500a1bace1 RT-37092: Updated fix to avoid NPE in unit tests. ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/Utils.java
hg: openjfx/8u-dev/rt: RT-38306: [TableView] TableView selection problem with SHIFT (visuals not updated, but the selection model was correct)
Changeset: dc016eecc27e Author:jgiles Date: 2014-08-20 09:21 +1200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/dc016eecc27e RT-38306: [TableView] TableView selection problem with SHIFT (visuals not updated, but the selection model was correct) ! modules/controls/src/main/java/com/sun/javafx/scene/control/SelectedCellsMap.java ! modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/TreeTableCellBehavior.java ! modules/controls/src/test/java/javafx/scene/control/TableViewMouseInputTest.java ! modules/controls/src/test/java/javafx/scene/control/TreeTableViewMouseInputTest.java
hg: openjfx/8u-dev/rt: Fix to RT-29012: Add support for vertex normals for meshes, in addition to smoothing groups
Changeset: 1c84e8f0fda4 Author:Chien Yang Date: 2014-08-19 13:40 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/1c84e8f0fda4 Fix to RT-29012: Add support for vertex normals for meshes, in addition to smoothing groups Reviewed by kcr, vadim + apps/toys/FX8-3DFeatures/src/fx83dfeatures/MeshViewer.java + apps/toys/FX8-3DFeatures/src/fx83dfeatures/PNTBoxFlatViewer.java + apps/toys/FX8-3DFeatures/src/fx83dfeatures/PNTBoxSmoothViewer.java + apps/toys/FX8-3DFeatures/src/fx83dfeatures/PNTMeshViewer.java + apps/toys/FX8-3DFeatures/src/fx83dfeatures/ToysVec3f.java + apps/toys/FX8-3DFeatures/src/resources/cup_normalMap_1024.png ! modules/graphics/src/main/java/com/sun/javafx/geom/Quat4f.java ! modules/graphics/src/main/java/com/sun/javafx/scene/input/PickResultChooser.java ! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGTriangleMesh.java ! modules/graphics/src/main/java/com/sun/prism/Mesh.java ! modules/graphics/src/main/java/com/sun/prism/impl/BaseMesh.java ! modules/graphics/src/main/java/com/sun/prism/impl/MeshTempState.java ! modules/graphics/src/main/java/com/sun/prism/impl/MeshVertex.java ! modules/graphics/src/main/java/javafx/scene/input/PickResult.java ! modules/graphics/src/main/java/javafx/scene/shape/TriangleMesh.java ! modules/graphics/src/main/java/javafx/scene/shape/VertexFormat.java ! modules/graphics/src/test/java/com/sun/javafx/sg/prism/NGTriangleMeshTest.java
hg: openjfx/8u-dev/rt: RT-37092: When I use 'Arial' or 'Hiragino Sans GB' font in a TextArea, the arrow 'Down' is not working well
Changeset: 0bec451a41d1 Author:leifs Date: 2014-08-19 11:50 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/0bec451a41d1 RT-37092: When I use 'Arial' or 'Hiragino Sans GB' font in a TextArea, the arrow 'Down' is not working well Reviewed-by: fheidric ! modules/controls/src/main/java/com/sun/javafx/scene/control/skin/Utils.java
hg: openjfx/8u-dev/rt: [Unit Tests] Temporary excluding SwipeSimpleTest until RT-38349 will be fixed
Changeset: b96a3083c5ac Author:Elina Kleyman Date: 2014-08-19 20:46 +0300 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/b96a3083c5ac [Unit Tests] Temporary excluding SwipeSimpleTest until RT-38349 will be fixed ! tests/system/src/test/java/com/sun/glass/ui/monocle/SwipeSimpleTest.java
hg: openjfx/8u-dev/rt: RT-38352: [CSS] Warning messages in media Ensemble tests
Changeset: 96b2950a91e3 Author:David Grieve Date: 2014-08-19 12:52 -0400 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/96b2950a91e3 RT-38352: [CSS] Warning messages in media Ensemble tests ! apps/samples/Ensemble8/src/samples/java/ensemble/samples/media/streamingmediaplayer/PlayerPane.java ! apps/samples/Ensemble8/src/samples/resources/ensemble/samples/media/alphamediaplayer/AlphaMediaPlayer.css ! apps/samples/Ensemble8/src/samples/resources/ensemble/samples/media/overlaymediaplayer/OverlayMediaPlayer.css ! apps/samples/Ensemble8/src/samples/resources/ensemble/samples/media/streamingmediaplayer/StreamingMediaPlayer.css
hg: openjfx/8u-dev/rt: RT-37998: Java FX Unit tests improvements
Changeset: 0c8c5cd4ad4e Author:Dmitry Ginzburg Date: 2014-08-19 07:25 -0700 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/0c8c5cd4ad4e RT-37998: Java FX Unit tests improvements Reviewed-by: kcr ! build.gradle ! gradle.properties.template
hg: openjfx/8u-dev/rt: RT-38130 A node remains invisible if clip has been set while it was not visible
Changeset: 83f2a3753ad6 Author:Martin Sladecek Date: 2014-08-19 14:40 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/83f2a3753ad6 RT-38130 A node remains invisible if clip has been set while it was not visible ! modules/graphics/src/main/java/javafx/scene/Node.java
[API] RT-37785 Provide some useful TextInputControl.Formatter implementations
Hello, as RT-14000 (https://javafx-jira.kenai.com/browse/RT-14000) - text formatter for TextInputControl has been pushed recently, it's time to discuss what implementations of Text Formatter should be included in 8u40 release. I added some ideas to (https://javafx-jira.kenai.com/browse/RT-37785), where all the comments should go. Here's some short summary: * StringFormatter for converting between String and arbitrary object using toString and valueOf (or String constructor), which would do similar job as DefaultFormatter in swing. * MaskFormatter (similar to the class of the same name in swing) - it would support String mask, defining own placeholder character, escape character or even defining own map (as a MapUnaryOperator>), where the unary operator for the map either returns null (if not accepted) or the same/modified character if accepted. * A TextFormatter that takes java.text.Format and does the filtering and converting using the Format object. Thanks, -Martin
hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix for DTL-6749 CSS Panel: property values font size is smaller than SB 2.0
Changeset: e74cd136a22d Author:mchicharro Date: 2014-08-19 10:15 +0100 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/e74cd136a22d [SCENEBUILDER] Fix for DTL-6749 CSS Panel: property values font size is smaller than SB 2.0 ! apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/css/ThemeDark.css ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/css/Theme.css
hg: openjfx/8u-dev/rt: [SCENEBUILDER] Fix DTL-6814: Wrap in commands may keep unused properties
Changeset: 2ec456a947bf Author:slions Date: 2014-08-19 09:34 +0200 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/2ec456a947bf [SCENEBUILDER] Fix DTL-6814: Wrap in commands may keep unused properties ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/AbstractWrapInContentJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/AbstractWrapInJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/AbstractWrapInSubComponentJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/UnwrapJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInAnchorPaneJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInFlowPaneJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInGridPaneJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInGroupJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInHBoxJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInPaneJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInScrollPaneJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInSplitPaneJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInStackPaneJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInTabPaneJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInTilePaneJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInTitledPaneJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInToolBarJob.java ! apps/scenebuilder/SceneBuilderKit/src/com/oracle/javafx/scenebuilder/kit/editor/job/wrap/WrapInVBoxJob.java