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

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

zebkit.draw.CompositeView (views)

  • 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.

  • 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.