summaryrefslogtreecommitdiff
path: root/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOResetButton.java
diff options
context:
space:
mode:
authorBenjamin Culkin <scorpress@gmail.com>2024-05-20 17:58:16 -0400
committerBenjamin Culkin <scorpress@gmail.com>2024-05-20 17:58:16 -0400
commit40a9d99496e098562f090fb7ffce9e749011b131 (patch)
tree437df24d65470582e943e494a52db8ed65a881ae /projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOResetButton.java
parentff072dfe782f6f22123cd4ba050828d35c0d0fbd (diff)
Formatting pass
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.java33
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;
+ }
}