Class zebkit.draw.CompositeView
extends <zebkit.draw.View>
<zebkit.draw>

Composite view. The view allows developers to combine number of views and renders its together.

Constructor:
zebkit.draw.CompositeView (views)

Parameters:
  • views <Object> (*..n)

    number of views to be composed.





public <Integer> count ( )

Return number of composed views.


Returns: <Integer>

number of composed view.

public void iterate (f)

Iterate over composed views.


Parameters:
  • f <Function>

    callback that is called for every iterated view. The callback gets a view index and view itself as its argument.


private <Integer> bottom

Bottom padding

private <Integer> left

Left padding

private <Integer> right

Right padding

private <Integer> top

Top padding

protected <Array> views

Composed views array.