1 package fr.ifremer.quadrige3.ui.swing.component.number;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 import java.io.Serializable;
25
26
27
28
29
30
31
32
33
34 public class NumberEditorConfig implements Serializable {
35
36 private static final long serialVersionUID = 1L;
37
38
39
40
41 protected String property;
42
43
44
45
46 protected boolean useSign = true;
47
48
49
50
51 protected Boolean useDecimal;
52
53
54
55
56 protected Class<?> numberType;
57
58
59
60
61
62 protected boolean selectAllTextOnError;
63
64 public Class<?> getNumberType() {
65 return numberType;
66 }
67
68 public void setNumberType(Class<?> numberType) {
69 this.numberType = numberType;
70 }
71
72 public String getProperty() {
73 return property;
74 }
75
76 public void setProperty(String property) {
77 this.property = property;
78 }
79
80 public boolean isSelectAllTextOnError() {
81 return selectAllTextOnError;
82 }
83
84 public void setSelectAllTextOnError(boolean selectAllTextOnError) {
85 this.selectAllTextOnError = selectAllTextOnError;
86 }
87
88 public boolean isUseSign() {
89 return useSign;
90 }
91
92 public void setUseSign(boolean useSign) {
93 this.useSign = useSign;
94 }
95
96 public Boolean getUseDecimal() {
97 return useDecimal;
98 }
99
100 public void setUseDecimal(Boolean useDecimal) {
101 this.useDecimal = useDecimal;
102 }
103 }