Rebar.setBands

Overview | Methods | This Package | All Packages

Rebar.setBands

Adds a set of bands to the rebar control.

Syntax

public void setBands( RebarBand[] bands )

Parameters

bands

A zero-based array of RebarBand objects that represent the bands you want to add to the rebar control.

Remarks

This method removes all existing bands from the rebar control before inserting the new bands. To add a control to the rebar band, use the RebarBand.setChildControl method. To add a single band to the rebar control, use the addBand method. To add a control and rebar band at the same time, use the add method.

See Also   getBands