java.lang.Object
technology.sola.ecs.ViewBuilder
The ViewBuilder class exposes methods for creating
View
s.-
Method Details
-
of
- Type Parameters:
C1
- the type of the component- Parameters:
c1Class
- the class for the component- Returns:
- the view
-
of
public <C1 extends Component,C2 extends Component> View2<C1,C2> of(Class<C1> c1Class, Class<C2> c2Class) - Type Parameters:
C1
- the type for the first componentC2
- the type for the second component- Parameters:
c1Class
- the class for the first componentc2Class
- the class for the second component- Returns:
- the view
-
of
public <C1 extends Component,C2 extends Component, View3<C1,C3 extends Component> C2, ofC3> (Class<C1> c1Class, Class<C2> c2Class, Class<C3> c3Class) - Type Parameters:
C1
- the type for the first componentC2
- the type for the second componentC3
- the type for the third component- Parameters:
c1Class
- the class for the first componentc2Class
- the class for the second componentc3Class
- the class for the third component- Returns:
- the view
-
of
public <C1 extends Component,C2 extends Component, View4<C1,C3 extends Component, C4 extends Component> C2, ofC3, C4> (Class<C1> c1Class, Class<C2> c2Class, Class<C3> c3Class, Class<C4> c4Class) - Type Parameters:
C1
- the type for the first componentC2
- the type for the second componentC3
- the type for the third componentC4
- the type for the fourth component- Parameters:
c1Class
- the class for the first componentc2Class
- the class for the second componentc3Class
- the class for the third componentc4Class
- the class for the fourth component- Returns:
- the view
-
of
- Parameters:
componentClasses
- theComponent
classes- Returns:
- the view
-