File tree 1 file changed +24
-0
lines changed
src/test/java/com/flowingcode/vaadin/addons/applayout
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ package com .flowingcode .vaadin .addons .applayout ;
2
+
3
+ import com .flowingcode .vaadin .addons .demo .DemoSource ;
4
+ import com .vaadin .flow .component .html .Div ;
5
+ import com .vaadin .flow .component .html .IFrame ;
6
+ import com .vaadin .flow .router .PageTitle ;
7
+ import com .vaadin .flow .router .Route ;
8
+
9
+ @ DemoSource ("/src/test/java/com/flowingcode/addons/applayout/CustomAppLayout.java" )
10
+ @ DemoSource ("/src/test/java/com/flowingcode/addons/applayout/SampleView.java" )
11
+ @ PageTitle ("Extending AppLayout Demo" )
12
+ @ SuppressWarnings ("serial" )
13
+ @ Route (value = "applayout/extending-applayout-demo" , layout = AppLayoutDemoView .class )
14
+ public class ExtendingAppLayoutDemo extends Div {
15
+
16
+ public ExtendingAppLayoutDemo () {
17
+ setClassName ("wrap-iframe" );
18
+ IFrame iframe = new IFrame ("/view" );
19
+ iframe .setClassName ("frame" );
20
+ iframe .setSizeFull ();
21
+ iframe .getElement ().setAttribute ("frameBorder" , "0" );
22
+ add (iframe );
23
+ }
24
+ }
You can’t perform that action at this time.
0 commit comments