--- title: Component Extensions order: 6 layout: page --- [[components.extensions]] = Component Extensions Components and UIs can have extensions which are attached to the component dynamically. Especially, many add-ons are extensions. How a component is extended depends on the extension. Typically, they have an [methodname]#extend()# method that takes the component to be extended as the parameter. [source, java] ---- TextField tf = new TextField("Hello"); layout.addComponent(tf); // Add a simple extension new CapsLockWarning().extend(tf); // Add an extension that requires some parameters CSValidator validator = new CSValidator(); validator.setRegExp("[0-9]*"); validator.setErrorMessage("Must be a number"); validator.extend(tf); ---- Development of custom extensions is described in <>. s-diet'>3rdparty-aws-diet Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/command/fileaccess.php
blob: b4af557153eaba23e339a08fffbd82ef3cac1902 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35