branch develop updated (e17d998 -> d904f7d)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository jaxx. See https://gitlab.nuiton.org/nuiton/jaxx.git from e17d998 [jgitflow-maven-plugin]updating poms for 2.35-SNAPSHOT development new d904f7d Add fillWithZero on Coordinate editor (Fixes #4077) The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit d904f7dffc401676a9994a3deabcb7f17406cd7b Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Oct 26 19:48:55 2016 +0200 Add fillWithZero on Coordinate editor (Fixes #4077) Summary of changes: .../widgets/gis/absolute/CoordinatesEditorModel.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository jaxx. See https://gitlab.nuiton.org/nuiton/jaxx.git commit d904f7dffc401676a9994a3deabcb7f17406cd7b Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Oct 26 19:48:55 2016 +0200 Add fillWithZero on Coordinate editor (Fixes #4077) --- .../widgets/gis/absolute/CoordinatesEditorModel.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/jaxx-widgets-gis/src/main/java/org/nuiton/jaxx/widgets/gis/absolute/CoordinatesEditorModel.java b/jaxx-widgets-gis/src/main/java/org/nuiton/jaxx/widgets/gis/absolute/CoordinatesEditorModel.java index 6c87f68..42c18cd 100644 --- a/jaxx-widgets-gis/src/main/java/org/nuiton/jaxx/widgets/gis/absolute/CoordinatesEditorModel.java +++ b/jaxx-widgets-gis/src/main/java/org/nuiton/jaxx/widgets/gis/absolute/CoordinatesEditorModel.java @@ -50,6 +50,7 @@ public class CoordinatesEditorModel extends AbstractSerializableBean { public static final String PROPERTY_SHOW_RESET_BUTTON = "showResetButton"; public static final String PROPERTY_DISPLAY_ZERO_WHEN_NULL = "displayZeroWhenNull"; + public static final String PROPERTY_FILL_WITH_ZERO = "fillWithZero"; protected final AbsoluteCoordinateEditorModel latitudeModel = new AbsoluteCoordinateEditorModel(); @@ -78,6 +79,11 @@ public class CoordinatesEditorModel extends AbstractSerializableBean { */ protected boolean displayZeroWhenNull; + /** + * Prefix any none null value with some zero. + */ + protected boolean fillWithZero; + private boolean valueIsAdjusting; public CoordinatesEditorModel() { @@ -185,6 +191,16 @@ public class CoordinatesEditorModel extends AbstractSerializableBean { firePropertyChange(PROPERTY_DISPLAY_ZERO_WHEN_NULL, oldValue, displayZeroWhenNull); } + public boolean isFillWithZero() { + return fillWithZero; + } + + public void setFillWithZero(boolean fillWithZero) { + boolean oldValue = isFillWithZero(); + this.fillWithZero = fillWithZero; + firePropertyChange(PROPERTY_FILL_WITH_ZERO, oldValue, fillWithZero); + } + public boolean isShowResetButton() { return showResetButton; } -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
participants (1)
-
nuiton.org scm