-
Notifications
You must be signed in to change notification settings - Fork 5
/
GSCellDiv.java
66 lines (55 loc) · 2.26 KB
/
GSCellDiv.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
54
55
56
57
58
59
60
61
62
63
64
65
66
package org.genericsystem.reactor.gscomponents2;
import org.genericsystem.reactor.htmltag.HtmlHyperLink;
import org.genericsystem.reactor.annotations.Styles.FlexDirectionStyle;
import org.genericsystem.reactor.annotations.Styles.GenericValueBackgroundColor;
import org.genericsystem.reactor.annotations.Styles.Style;
import org.genericsystem.reactor.gscomponents.FlexDirection;
import org.genericsystem.reactor.gscomponents.GSDiv;
@Style(name = "flex", value = "1")
@Style(name = "overflow", value = "hidden")
public class GSCellDiv extends GSDiv {
@Style(name = "flex", value = "1")
@Style(name = "justify-content", value = "center")
@Style(name = "align-items", value = "center")
@Style(name = "margin-right", value = "1px")
@Style(name = "margin-bottom", value = "1px")
@Style(name = "color", value = "#ffffff")
@Style(name = "background-color", value = "#ea0084")
public static class GSTitleLineCellDiv extends GSDiv {
}
@FlexDirectionStyle(FlexDirection.ROW)
@Style(name = "flex", value = "1")
@Style(name = "margin-right", value = "1px")
@Style(name = "margin-bottom", value = "1px")
@Style(name = "color", value = "#ffffff")
public static class GSSubcellEditorDiv extends GSDiv {
}
@Style(name = "justify-content", value = "center")
@Style(name = "align-items", value = "center")
public static class GSComponentEditorDiv extends GSSubcellEditorDiv {
}
@Style(name = "color", value = "#000000")
@GenericValueBackgroundColor("#e5ed00")
public static class GSSubcellDiv extends GSComponentEditorDiv {
}
@Style(name = "flex", value = "1")
@FlexDirectionStyle(FlexDirection.COLUMN)
@Style(name = "flex-wrap", value = "wrap")
@Style(name = "overflow", value = "auto")
public static class WrappedColumnDiv extends GSDiv {
}
@Style(name = "flex", value = "1 0 auto")
@FlexDirectionStyle(FlexDirection.ROW)
public static class SubcellEditorContainerDiv extends GSDiv {
}
@Style(name = "flex", value = "1")
@Style(name = "justify-content", value = "center")
@Style(name = "align-items", value = "center")
public static class CenteredFlexDiv extends GSDiv {
}
@Style(name = "justify-content", value = "center")
@Style(name = "height", value = "100%")
@Style(name = "text-decoration", value = "none")
public static class GSActionLink extends HtmlHyperLink {
}
}