CollectionField

public class CollectionField extends BaseField<List<View>, Object> implements CollectionFieldInterface<List<View>, Object>

Field that manipulates multiple individual views together.

Its important to note that the specific fields don’t loose there individuality and the values return will be values for each single view.

Setting will be attempted on each single view if its value is found in the map of values passed in.

Constructors

CollectionField

public CollectionField(String tag)

CollectionField

public CollectionField(String name, boolean isEditable)

Methods

addField

public void addField(String name, View view)

addField

public void addField(FieldInterface field)

addField

public void addField(String name, View view, boolean editable)

getFields

public Map<String, FieldInterface> getFields()

getName

public String getName()

getValue

public Map<String, Object> getValue()

getView

public List<View> getView()

setValue

public void setValue(Object o)