@@ -35,7 +35,7 @@ class CheckBox extends Button {
3535 return this . _checked ;
3636 }
3737
38- protected set checked ( value : boolean ) {
38+ public set checked ( value : boolean ) {
3939 this . _checked = value ;
4040 }
4141
@@ -46,7 +46,7 @@ class CheckBox extends Button {
4646 return this . _backgroundUnhoveredUnchecked ;
4747 }
4848
49- protected set backgroundUnhoveredUnchecked (
49+ public set backgroundUnhoveredUnchecked (
5050 value : string | CanvasGradient | CanvasPattern
5151 ) {
5252 this . _backgroundUnhoveredUnchecked = value ;
@@ -59,7 +59,7 @@ class CheckBox extends Button {
5959 return this . _backgroundUnhoveredChecked ;
6060 }
6161
62- protected set backgroundUnhoveredChecked (
62+ public set backgroundUnhoveredChecked (
6363 value : string | CanvasGradient | CanvasPattern
6464 ) {
6565 this . _backgroundUnhoveredChecked = value ;
@@ -72,7 +72,7 @@ class CheckBox extends Button {
7272 return this . _backgroundHoverUnchecked ;
7373 }
7474
75- protected set backgroundHoverUnchecked (
75+ public set backgroundHoverUnchecked (
7676 value : string | CanvasGradient | CanvasPattern
7777 ) {
7878 this . _backgroundHoverUnchecked = value ;
@@ -82,7 +82,7 @@ class CheckBox extends Button {
8282 return this . _backgroundHoverChecked ;
8383 }
8484
85- protected set backgroundHoverChecked (
85+ public set backgroundHoverChecked (
8686 value : string | CanvasGradient | CanvasPattern
8787 ) {
8888 this . _backgroundHoverChecked = value ;
@@ -95,7 +95,7 @@ class CheckBox extends Button {
9595 return this . _foregroundUnhoveredUnchecked ;
9696 }
9797
98- protected set foregroundUnhoveredUnchecked (
98+ public set foregroundUnhoveredUnchecked (
9999 value : string | CanvasGradient | CanvasPattern
100100 ) {
101101 this . _foregroundUnhoveredUnchecked = value ;
@@ -108,7 +108,7 @@ class CheckBox extends Button {
108108 return this . _foregroundUnhoveredChecked ;
109109 }
110110
111- protected set foregroundUnhoveredChecked (
111+ public set foregroundUnhoveredChecked (
112112 value : string | CanvasGradient | CanvasPattern
113113 ) {
114114 this . _foregroundUnhoveredChecked = value ;
@@ -121,7 +121,7 @@ class CheckBox extends Button {
121121 return this . _foregroundHoverUnchecked ;
122122 }
123123
124- protected set foregroundHoverUnchecked (
124+ public set foregroundHoverUnchecked (
125125 value : string | CanvasGradient | CanvasPattern
126126 ) {
127127 this . _foregroundHoverUnchecked = value ;
@@ -131,7 +131,7 @@ class CheckBox extends Button {
131131 return this . _foregroundHoverChecked ;
132132 }
133133
134- protected set foregroundHoverChecked (
134+ public set foregroundHoverChecked (
135135 value : string | CanvasGradient | CanvasPattern
136136 ) {
137137 this . _foregroundHoverChecked = value ;
@@ -144,7 +144,7 @@ class CheckBox extends Button {
144144 return this . _borderUnhoveredUnchecked ;
145145 }
146146
147- protected set borderUnhoveredUnchecked (
147+ public set borderUnhoveredUnchecked (
148148 value : string | CanvasGradient | CanvasPattern
149149 ) {
150150 this . _borderUnhoveredUnchecked = value ;
@@ -154,7 +154,7 @@ class CheckBox extends Button {
154154 return this . _borderUnhoveredChecked ;
155155 }
156156
157- protected set borderUnhoveredChecked (
157+ public set borderUnhoveredChecked (
158158 value : string | CanvasGradient | CanvasPattern
159159 ) {
160160 this . _borderUnhoveredChecked = value ;
@@ -164,7 +164,7 @@ class CheckBox extends Button {
164164 return this . _borderHoverUnchecked ;
165165 }
166166
167- protected set borderHoverUnchecked (
167+ public set borderHoverUnchecked (
168168 value : string | CanvasGradient | CanvasPattern
169169 ) {
170170 this . _borderHoverUnchecked = value ;
@@ -174,7 +174,7 @@ class CheckBox extends Button {
174174 return this . _borderHoverChecked ;
175175 }
176176
177- protected set borderHoverChecked (
177+ public set borderHoverChecked (
178178 value : string | CanvasGradient | CanvasPattern
179179 ) {
180180 this . _borderHoverChecked = value ;
@@ -184,15 +184,15 @@ class CheckBox extends Button {
184184 return this . _textUnchecked ;
185185 }
186186
187- protected set textUnchecked ( value : string ) {
187+ public set textUnchecked ( value : string ) {
188188 this . _textUnchecked = value ;
189189 }
190190
191191 public get textChecked ( ) : string {
192192 return this . _textChecked ;
193193 }
194194
195- protected set textChecked ( value : string ) {
195+ public set textChecked ( value : string ) {
196196 this . _textChecked = value ;
197197 }
198198
0 commit comments