Class SimpleGeometry<G>

java.lang.Object
io.jmix.mapsflowui.kit.component.model.MapObservableObject
io.jmix.mapsflowui.kit.component.model.geometry.SimpleGeometry<G>
Type Parameters:
G - type of geometry
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LineStringGeometry, MultiLineStringGeometry, MultiPointGeometry, MultiPolygonGeometry, PointGeometry, PolygonGeometry

public abstract class SimpleGeometry<G> extends MapObservableObject
Base class for geometries.
See Also:
  • Field Details

    • geometry

      protected G geometry
  • Constructor Details

    • SimpleGeometry

      public SimpleGeometry(G geometry)
  • Method Details

    • get

      public G get()
      Returns:
      geometry instance
    • set

      public void set(G geometry)
      Sets geometry.
      Parameters:
      geometry - geometry to set