Class ViewState

java.lang.Object
com.kheops.jmap.client.views.ViewState
All Implemented Interfaces:
Serializable

public class ViewState extends Object implements Serializable
The ViewState class contains properties that define the state of a View object (its scale, its extent, etc.). Note that it also contains the view LayerManager instance as well as the view K2DTransform instance.
See Also:
  • Constructor Details

    • ViewState

      public ViewState()
  • Method Details

    • getState

      public static ViewState getState(ViewRenderer viewRenderer)
      Creates a new ViewState initialized with the specified ViewRenderer instance.
      Parameters:
      viewRenderer - the source ViewRenderer instance.
      Returns:
      a new ViewState initialized with the specified ViewRenderer instance.