Programming with JViews Maps > Introducing the Main Classes > Map Layers and Map Styles > Composite Layers

The IlvMapCompositeStyle Class

The IlvMapCompositeStyle class does not define any additional attributes. Its attribute list grows with its child list.

When adding a child style in a composite style, all the attributes of that child are added (if they did not exist) into the parent style. Those values can then be inherited for each child style - allowing the attributes for all children to be changed in one single place.

You can change the inheritance setting of each attribute by calling the setInherited method.