svn commit: r1820364 - /pivot/trunk/wtk/src/org/apache/pivot/wtk/media/Image.java

2018-01-05 Thread rwhitcomb
Author: rwhitcomb Date: Fri Jan 5 22:32:00 2018 New Revision: 1820364 URL: http://svn.apache.org/viewvc?rev=1820364&view=rev Log: PIVOT-999: Use "forEach" in the ImageListener list methods. PIVOT-1012: Use "Utils.checkNull" in one applicable place. * Change the "toString" to just use the class' "

svn commit: r1820363 - in /pivot/trunk/wtk/src/org/apache/pivot/wtk/effects: DropShadowDecorator.java ShadeDecorator.java TagDecorator.java TranslationDecorator.java

2018-01-05 Thread rwhitcomb
Author: rwhitcomb Date: Fri Jan 5 22:29:48 2018 New Revision: 1820363 URL: http://svn.apache.org/viewvc?rev=1820363&view=rev Log: PIVOT-1012: Use Utils methods for parameter validation. Some other misc. cleanup in the "wtk/effects" directory: * Some decorators still had the default implementation

svn commit: r1820362 - /pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/WatermarkDecorator.java

2018-01-05 Thread rwhitcomb
Author: rwhitcomb Date: Fri Jan 5 22:24:49 2018 New Revision: 1820362 URL: http://svn.apache.org/viewvc?rev=1820362&view=rev Log: Use the new "wtk.FontUtilities" and "utils.class to move the common code to one place. Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/WatermarkDecora

svn commit: r1820359 - in /pivot/trunk/wtk/src/org/apache/pivot/wtk: skin/ComponentSkin.java text/Element.java

2018-01-05 Thread rwhitcomb
Author: rwhitcomb Date: Fri Jan 5 21:43:34 2018 New Revision: 1820359 URL: http://svn.apache.org/viewvc?rev=1820359&view=rev Log: Use the new "wtk.FontUtilities" class to move the common code to one place. Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ComponentSkin.java pivot/t

svn commit: r1820358 - /pivot/trunk/wtk/src/org/apache/pivot/wtk/text/ImageNode.java

2018-01-05 Thread rwhitcomb
Author: rwhitcomb Date: Fri Jan 5 21:41:18 2018 New Revision: 1820358 URL: http://svn.apache.org/viewvc?rev=1820358&view=rev Log: PIVOT-999: Update ImageNode to use "forEach" in the listener lists. Update to use the ImageUtils common code just created. Use "Utils" methods for parameter validation

svn commit: r1820357 - in /pivot/trunk/wtk/src/org/apache/pivot/wtk: ImageView.java content/BaseContent.java

2018-01-05 Thread rwhitcomb
Author: rwhitcomb Date: Fri Jan 5 21:39:39 2018 New Revision: 1820357 URL: http://svn.apache.org/viewvc?rev=1820357&view=rev Log: PIVOT-999: Update ImageView to use "forEach" in the listener lists. Update to use the ImageUtils common code just created. Reflow some comments that were wrapped stran

svn commit: r1820356 - in /pivot/trunk: core/src/org/apache/pivot/util/ImageUtils.java wtk/src/org/apache/pivot/wtk/FontUtilities.java

2018-01-05 Thread rwhitcomb
Author: rwhitcomb Date: Fri Jan 5 21:35:30 2018 New Revision: 1820356 URL: http://svn.apache.org/viewvc?rev=1820356&view=rev Log: Create two new classes: "wtk.FontUtilities" and "util.ImageUtils" to consolidate common code. Added: pivot/trunk/core/src/org/apache/pivot/util/ImageUtils.java

svn commit: r1820345 - /pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkin.java

2018-01-05 Thread rwhitcomb
Author: rwhitcomb Date: Fri Jan 5 18:57:51 2018 New Revision: 1820345 URL: http://svn.apache.org/viewvc?rev=1820345&view=rev Log: PIVOT-1012: Use Utils methods for parameter validation in TextPaneSkin. Add color name parameter to calls to GraphicsUtilities.decodeColor(). Unrelated changes: * Crea

svn commit: r1820344 - in /pivot/trunk/wtk/src/org/apache/pivot/wtk: TextPane.java text/Element.java text/Node.java

2018-01-05 Thread rwhitcomb
Author: rwhitcomb Date: Fri Jan 5 18:49:54 2018 New Revision: 1820344 URL: http://svn.apache.org/viewvc?rev=1820344&view=rev Log: PIVOT-1021: Fix the underlying problem with Undo after delete of a whole node: the Undo needs to put just exactly the nodes removed back into the original node they

svn commit: r1820341 - /pivot/trunk/wtk/src/org/apache/pivot/wtk/text/Node.java

2018-01-05 Thread rwhitcomb
Author: rwhitcomb Date: Fri Jan 5 18:38:37 2018 New Revision: 1820341 URL: http://svn.apache.org/viewvc?rev=1820341&view=rev Log: PIVOT-999: Use "forEach" in Node listener list. Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/text/Node.java Modified: pivot/trunk/wtk/src/org/apache/pivot/

svn commit: r1820340 - /pivot/trunk/wtk/src/org/apache/pivot/wtk/TextPane.java

2018-01-05 Thread rwhitcomb
Author: rwhitcomb Date: Fri Jan 5 18:25:51 2018 New Revision: 1820340 URL: http://svn.apache.org/viewvc?rev=1820340&view=rev Log: PIVOT-1012: Use Utils methods for more parameter validation in TextPane. Add some Javadoc and reflow some other comments. Modified: pivot/trunk/wtk/src/org/apach

svn commit: r1820338 - /pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextAreaSkin.java

2018-01-05 Thread rwhitcomb
Author: rwhitcomb Date: Fri Jan 5 18:01:19 2018 New Revision: 1820338 URL: http://svn.apache.org/viewvc?rev=1820338&view=rev Log: Changes to TextAreaSkin to use the new "getWidth" and "getHeight" methods of Insets to simplify the code. Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/

svn commit: r1820337 - /pivot/trunk/wtk/src/org/apache/pivot/wtk/text/Document.java

2018-01-05 Thread rwhitcomb
Author: rwhitcomb Date: Fri Jan 5 17:57:06 2018 New Revision: 1820337 URL: http://svn.apache.org/viewvc?rev=1820337&view=rev Log: PIVOT-1021: Add the node class name to the exception thrown from Document.insert() in order to better track down what is going wrong with the Undo operation after a de

svn commit: r1820336 - /pivot/trunk/wtk/src/org/apache/pivot/wtk/text/Element.java

2018-01-05 Thread rwhitcomb
Author: rwhitcomb Date: Fri Jan 5 17:55:12 2018 New Revision: 1820336 URL: http://svn.apache.org/viewvc?rev=1820336&view=rev Log: PIVOT-999, PIVOT-1012: * Use "forEach" in the element listeners list to iterate through the list. * Use Utils methods for parameter validation throughout the Element c

svn commit: r1820335 - in /pivot/trunk/wtk/src/org/apache/pivot/wtk: content/TreeBranch.java effects/TagDecorator.java

2018-01-05 Thread rwhitcomb
Author: rwhitcomb Date: Fri Jan 5 17:43:45 2018 New Revision: 1820335 URL: http://svn.apache.org/viewvc?rev=1820335&view=rev Log: PIVOT-1012: Update several classes to do their parameter validation using the Utils methods. Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TreeBranch

svn commit: r1820334 - in /pivot/trunk/wtk/src/org/apache/pivot/wtk/content: CalendarDateSpinnerData.java TableViewDateCellRenderer.java

2018-01-05 Thread rwhitcomb
Author: rwhitcomb Date: Fri Jan 5 17:42:10 2018 New Revision: 1820334 URL: http://svn.apache.org/viewvc?rev=1820334&view=rev Log: PIVOT-1012: Update several classes to do their parameter validation using the Utils methods. Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/content/CalendarD

svn commit: r1820330 - /pivot/trunk/wtk/src/org/apache/pivot/wtk/TextArea.java

2018-01-05 Thread rwhitcomb
Author: rwhitcomb Date: Fri Jan 5 17:38:47 2018 New Revision: 1820330 URL: http://svn.apache.org/viewvc?rev=1820330&view=rev Log: PIVOT-999, PIVOT-1012, PIVOT-1011: * Use Utils methods for parameter validation all through TextArea. * Change the paragraph listener list to use "forEach" to iterate

svn commit: r1820329 - /pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/tools/ComponentInspectorSkin.java

2018-01-05 Thread rwhitcomb
Author: rwhitcomb Date: Fri Jan 5 17:34:34 2018 New Revision: 1820329 URL: http://svn.apache.org/viewvc?rev=1820329&view=rev Log: PIVOT-999: Use the default "getColor" method from Dictionary in one more place. Modified: pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/tools/Com

svn commit: r1820327 - in /pivot/trunk: core/src/org/apache/pivot/util/ClassUtils.java core/src/org/apache/pivot/util/Utils.java wtk/src/org/apache/pivot/wtk/skin/TextPaneSkinTextNodeView.java

2018-01-05 Thread rwhitcomb
Author: rwhitcomb Date: Fri Jan 5 17:27:26 2018 New Revision: 1820327 URL: http://svn.apache.org/viewvc?rev=1820327&view=rev Log: Move the "defaultToString" and "simpleDefaultToString" methods out of Utils and into ClassUtils (because they make more sense there). Rename the longer method to just