Debian Codegraph @

vendor/wikimedia/idle-dom/src/Stub/HTMLInputElement.php

raw
1 <?php
2
3 // AUTOMATICALLY GENERATED. DO NOT EDIT.
4 // Use `composer build` to regenerate.
5
6 namespace Wikimedia\IDLeDOM\Stub;
7
8 use Exception;
9 use Wikimedia\IDLeDOM\HTMLElement;
10 use Wikimedia\IDLeDOM\HTMLFormElement;
11 use Wikimedia\IDLeDOM\NodeList;
12 use Wikimedia\IDLeDOM\ValidityState;
13
14 trait HTMLInputElement {
15
16 // Underscore is used to avoid conflicts with DOM-reserved names
17 // phpcs:disable PSR2.Methods.MethodDeclaration.Underscore
18 // phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
19
20 /**
21 * @return Exception
22 */
23 abstract protected function _unimplemented(): Exception;
24
25 // phpcs:enable
26
27 /**
28 * @return bool
29 */
30 public function getChecked(): bool {
31 throw self::_unimplemented();
32 }
33
34 /**
35 * @param bool $val
36 */
37 public function setChecked( bool $val ): void {
38 throw self::_unimplemented();
39 }
40
41 /**
42 * @return HTMLFormElement|null
43 */
44 public function getForm() {
45 throw self::_unimplemented();
46 }
47
48 /**
49 * @return bool
50 */
51 public function getIndeterminate(): bool {
52 throw self::_unimplemented();
53 }
54
55 /**
56 * @param bool $val
57 */
58 public function setIndeterminate( bool $val ): void {
59 throw self::_unimplemented();
60 }
61
62 /**
63 * @return HTMLElement|null
64 */
65 public function getList() {
66 throw self::_unimplemented();
67 }
68
69 /**
70 * @return int
71 */
72 public function getMaxLength(): int {
73 throw self::_unimplemented();
74 }
75
76 /**
77 * @param int $val
78 */
79 public function setMaxLength( int $val ): void {
80 throw self::_unimplemented();
81 }
82
83 /**
84 * @return int
85 */
86 public function getMinLength(): int {
87 throw self::_unimplemented();
88 }
89
90 /**
91 * @param int $val
92 */
93 public function setMinLength( int $val ): void {
94 throw self::_unimplemented();
95 }
96
97 /**
98 * @return int
99 */
100 public function getSize(): int {
101 throw self::_unimplemented();
102 }
103
104 /**
105 * @param int $val
106 */
107 public function setSize( int $val ): void {
108 throw self::_unimplemented();
109 }
110
111 /**
112 * @return string
113 */
114 public function getSrc(): string {
115 throw self::_unimplemented();
116 }
117
118 /**
119 * @param string $val
120 */
121 public function setSrc( string $val ): void {
122 throw self::_unimplemented();
123 }
124
125 /**
126 * @return string
127 */
128 public function getValue(): string {
129 throw self::_unimplemented();
130 }
131
132 /**
133 * @param ?string $val
134 */
135 public function setValue( ?string $val ): void {
136 throw self::_unimplemented();
137 }
138
139 /**
140 * @return float
141 */
142 public function getValueAsNumber(): float {
143 throw self::_unimplemented();
144 }
145
146 /**
147 * @param float $val
148 */
149 public function setValueAsNumber( float $val ): void {
150 throw self::_unimplemented();
151 }
152
153 /**
154 * @param int $n
155 * @return void
156 */
157 public function stepUp( int $n = 1 ): void {
158 throw self::_unimplemented();
159 }
160
161 /**
162 * @param int $n
163 * @return void
164 */
165 public function stepDown( int $n = 1 ): void {
166 throw self::_unimplemented();
167 }
168
169 /**
170 * @return bool
171 */
172 public function getWillValidate(): bool {
173 throw self::_unimplemented();
174 }
175
176 /**
177 * @return ValidityState
178 */
179 public function getValidity() {
180 throw self::_unimplemented();
181 }
182
183 /**
184 * @return string
185 */
186 public function getValidationMessage(): string {
187 throw self::_unimplemented();
188 }
189
190 /**
191 * @return bool
192 */
193 public function checkValidity(): bool {
194 throw self::_unimplemented();
195 }
196
197 /**
198 * @return bool
199 */
200 public function reportValidity(): bool {
201 throw self::_unimplemented();
202 }
203
204 /**
205 * @param string $error
206 * @return void
207 */
208 public function setCustomValidity( string $error ): void {
209 throw self::_unimplemented();
210 }
211
212 /**
213 * @return NodeList|null
214 */
215 public function getLabels() {
216 throw self::_unimplemented();
217 }
218
219 /**
220 * @return void
221 */
222 public function select(): void {
223 throw self::_unimplemented();
224 }
225
226 /**
227 * @return ?int
228 */
229 public function getSelectionStart(): ?int {
230 throw self::_unimplemented();
231 }
232
233 /**
234 * @param ?int $val
235 */
236 public function setSelectionStart( ?int $val ): void {
237 throw self::_unimplemented();
238 }
239
240 /**
241 * @return ?int
242 */
243 public function getSelectionEnd(): ?int {
244 throw self::_unimplemented();
245 }
246
247 /**
248 * @param ?int $val
249 */
250 public function setSelectionEnd( ?int $val ): void {
251 throw self::_unimplemented();
252 }
253
254 /**
255 * @return ?string
256 */
257 public function getSelectionDirection(): ?string {
258 throw self::_unimplemented();
259 }
260
261 /**
262 * @param ?string $val
263 */
264 public function setSelectionDirection( ?string $val ): void {
265 throw self::_unimplemented();
266 }
267
268 /**
269 * @param string $replacement
270 * @return void
271 */
272 public function setRangeText( string $replacement ): void {
273 throw self::_unimplemented();
274 }
275
276 /**
277 * @param int $start
278 * @param int $end
279 * @param ?string $direction
280 * @return void
281 */
282 public function setSelectionRange( int $start, int $end, ?string $direction = null ): void {
283 throw self::_unimplemented();
284 }
285
286 }