1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.extremecomponents.table.bean;
17
18 import org.extremecomponents.table.InputAttributes;
19 import org.extremecomponents.table.model.TableModel;
20
21
22 /***
23 * @author jeff johnston
24 */
25 public class Input implements InputAttributes
26 {
27 public final static String HIDDEN = "hidden";
28 public final static String BUTTON = "button";
29 public final static String SUBMIT = "submit";
30
31 private TableModel model;
32
33 private String type;
34 private String name;
35 private String value;
36 private String onclick;
37
38 public Input(TableModel model)
39 {
40 this.model = model;
41 }
42
43 public String getType()
44 {
45 return type;
46 }
47
48 public void setType(String type)
49 {
50 this.type = type;
51 }
52
53 public String getName()
54 {
55 return name;
56 }
57
58 public void setName(String name)
59 {
60 this.name = name;
61 }
62
63 public String getValue()
64 {
65 return value;
66 }
67
68 public void setValue(String value)
69 {
70 this.value = value;
71 }
72
73 public String getOnclick()
74 {
75 return onclick;
76 }
77
78 public void setOnclick(String onclick)
79 {
80 this.onclick = onclick;
81 }
82 }