-
Notifications
You must be signed in to change notification settings - Fork 5
/
GSComposite.java
53 lines (45 loc) · 2.03 KB
/
GSComposite.java
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package org.genericsystem.reactor.az3;
import org.genericsystem.reactor.annotations.ForEach.ParentForEach;
import org.genericsystem.reactor.annotations.ReactorDependencies;
import org.genericsystem.reactor.annotations.ReactorDependencies.ChildReactorDependencies;
import org.genericsystem.reactor.annotations.Styles.ChildFlexDirection;
import org.genericsystem.reactor.annotations.Styles.Flex;
import org.genericsystem.reactor.annotations.Styles.Overflow;
import org.genericsystem.reactor.annotations.Styles.ParentFlexDirection;
import org.genericsystem.reactor.az3.GSComposite.GSContentComponent;
import org.genericsystem.reactor.az3.GSComposite.GSFooterComponent;
import org.genericsystem.reactor.az3.GSComposite.GSFooterComponent.GSFooterComponentLabel;
import org.genericsystem.reactor.az3.GSComposite.GSHeaderComponent;
import org.genericsystem.reactor.az3.GSComposite.GSHeaderComponent.GSHeaderComponentLabel;
import org.genericsystem.reactor.gstag.HtmlLabel.GSLabelDisplayer;
@Flex("1 1 0%")
@Overflow("hidden")
@ReactorDependencies({ GSComposite.GSContentComponent.class })
@ChildFlexDirection("column")
@ChildReactorDependencies(GSContentComponent.GSContentComponentLabel.class)
@ChildReactorDependencies(decorate = GSHeaderComponent.class, value = GSHeaderComponentLabel.class)
@ChildReactorDependencies(decorate = GSFooterComponent.class, value = GSFooterComponentLabel.class)
public abstract class GSComposite extends GSCompositeDiv {
@Flex("1 1 0%")
@Overflow("hidden")
@ParentForEach
@ParentFlexDirection
public static class GSContentComponent extends GSCompositeDiv {
public static class GSContentComponentLabel extends GSLabelDisplayer {
}
}
@Flex("1 1 0%")
@Overflow("hidden")
@ParentFlexDirection
public static class GSHeaderComponent extends GSCompositeDiv {
public static class GSHeaderComponentLabel extends GSLabelDisplayer {
}
}
@Flex("1 1 0%")
@Overflow("hidden")
@ParentFlexDirection
public static class GSFooterComponent extends GSCompositeDiv {
public static class GSFooterComponentLabel extends GSLabelDisplayer {
}
}
}