Class ViewMap

All Implemented Interfaces:
ViewFactoryManager, ViewSerializer

public class ViewMap extends AbstractViewMap
A map of views that handles view serialization by assigning an integer id to each view. The id is unique for each view in the map. To guarantee serialization compatibility a view id must remain constant.
  • Constructor Details

    • ViewMap

      public ViewMap()
      Constructor.
    • ViewMap

      public ViewMap(View[] views)
      Utility constructor that creates a map with a number of views. A view gets it's index in the array as id.
      Parameters:
      views - the views to add to the map
  • Method Details