Class LayerManager.LayerRemoveEvent

    • Method Detail

      • getRemovedLayer

        public Layer getRemovedLayer()
        Gets the layer that is about to be removed.
        Returns:
        The layer.
      • isLastLayer

        public boolean isLastLayer()
        Check if the layer that was removed is the last layer in the list.
        Returns:
        true if this was the last layer.
        Since:
        10432
      • scheduleRemoval

        public void scheduleRemoval​(java.util.Collection<? extends Layer> layers)
        Schedule the removal of other layers after this layer has been deleted.

        Duplicate removal requests are ignored.

        Parameters:
        layers - The layers to remove.
        Since:
        10507
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object