-
Notifications
You must be signed in to change notification settings - Fork 5
/
Style.java
94 lines (73 loc) · 2.29 KB
/
Style.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
package org.genericsystem.reactor.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.genericsystem.reactor.annotations.Style.Styles;
import org.genericsystem.reactor.gscomponents.FlexDirection;
import org.genericsystem.reactor.gscomponents.GSTagImpl;
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
@Repeatable(Styles.class)
public @interface Style {
Class<? extends GSTagImpl>[] path() default {};
String name();
String value();
int[] pos() default {};
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
public @interface Styles {
Style[] value();
}
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
@Repeatable(FlexDirections.class)
public @interface FlexDirectionStyle {
Class<? extends GSTagImpl>[] path() default {};
FlexDirection value();
int[] pos() default {};
}
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
public @interface FlexDirections {
FlexDirectionStyle[] value();
}
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
@Repeatable(KeepFlexDirections.class)
public @interface KeepFlexDirection {
Class<? extends GSTagImpl>[] path() default {};
int[] pos() default {};
}
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
public @interface KeepFlexDirections {
KeepFlexDirection[] value();
}
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
@Repeatable(ReverseFlexDirections.class)
public @interface ReverseFlexDirection {
Class<? extends GSTagImpl>[] path() default {};
int[] pos() default {};
}
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
public @interface ReverseFlexDirections {
ReverseFlexDirection[] value();
}
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
@Repeatable(GenericValueBackgroundColors.class)
public @interface GenericValueBackgroundColor {
Class<? extends GSTagImpl>[] path() default {};
String value();
int[] pos() default {};
}
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
public @interface GenericValueBackgroundColors {
GenericValueBackgroundColor[] value();
}
}