diff options
Diffstat (limited to 'projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOResetButton.java')
| -rw-r--r-- | projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOResetButton.java | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOResetButton.java b/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOResetButton.java index 8428681..f4fb49f 100644 --- a/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOResetButton.java +++ b/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOResetButton.java @@ -21,30 +21,31 @@ package net.wotonomy.web; import net.wotonomy.foundation.NSDictionary; /** -* Implements a reset button with dynamic bindings. + * Implements a reset button with dynamic bindings. + * * @author michael@mpowers.net * @author $Author: cgruber $ * @version $Revision: 905 $ */ public class WOResetButton extends WOInput { - public WOResetButton() { - super(); - } + public WOResetButton() { + super(); + } - public WOResetButton(String n, NSDictionary m, WOElement t) { - super(n, m, t); - } + public WOResetButton(String n, NSDictionary m, WOElement t) { + super(n, m, t); + } - protected String inputType() { - return "RESET"; - } + protected String inputType() { + return "RESET"; + } - protected Object value(WOContext c) { - Object v = valueForProperty("value", c.component()); - if (v == null) - return "Reset"; - return v; - } + protected Object value(WOContext c) { + Object v = valueForProperty("value", c.component()); + if (v == null) + return "Reset"; + return v; + } } |
