From 4071e98ab5960587b242ca02a8c711c6ecb179aa Mon Sep 17 00:00:00 2001 From: Matt Jensen Date: Fri, 19 Dec 2008 01:14:20 +0000 Subject: [PATCH] Added some javadocs. --- src/java/com/threerings/getdown/data/Application.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/java/com/threerings/getdown/data/Application.java b/src/java/com/threerings/getdown/data/Application.java index 042ec4e..e185a98 100644 --- a/src/java/com/threerings/getdown/data/Application.java +++ b/src/java/com/threerings/getdown/data/Application.java @@ -1267,6 +1267,10 @@ public class Application return def; } + /** + * Takes a comma-separated String of four integers and returns a rectangle using those ints as + * the its x, y, width, and height. + */ public static Rectangle parseRect (String value) { if (!StringUtil.isBlank(value)) { @@ -1291,6 +1295,10 @@ public class Application return def; } + /** + * Parses the given hex color value (e.g. FFFFF) and returns a Color object with that value. If + * the given value is null of not a valid hexadecimal number, this will return null. + */ public static Color parseColor (String hexValue) { if (!StringUtil.isBlank(hexValue)) {