blob: 662cd93b69f5ff804e5f21848dc231d77da3a85f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package com.vaadin.tests.design.nested;
import com.vaadin.annotations.DesignRoot;
import com.vaadin.ui.HorizontalLayout;
import com.vaadin.ui.Label;
import com.vaadin.ui.declarative.Design;
/**
* Child design component
*
* @author Vaadin Ltd
*/
@DesignRoot("mychilddesign.html")
public class MyChildDesign extends HorizontalLayout {
public Label childLabel;
public MyChildDesignCustomComponent childCustomComponent;
public MyChildDesign() {
Design.read(this);
childLabel.setDescription("added in constructor");
}
}
|