Class LayerList

  • All Implemented Interfaces:
    java.lang.Iterable<Layer>

    public class LayerList
    extends java.lang.Object
    implements java.lang.Iterable<Layer>
    • Constructor Detail

      • LayerList

        public LayerList()
      • LayerList

        public LayerList​(LayerList layerList)
      • LayerList

        public LayerList​(java.lang.Iterable<? extends Layer> layers)
    • Method Detail

      • count

        public int count()
      • getLayer

        public Layer getLayer​(int index)
      • setLayer

        public Layer setLayer​(int index,
                              Layer layer)
      • indexOfLayer

        public int indexOfLayer​(Layer layer)
      • indexOfLayerNamed

        public int indexOfLayerNamed​(java.lang.String name)
      • indexOfLayerWithProperty

        public int indexOfLayerWithProperty​(java.lang.Object key,
                                            java.lang.Object value)
      • addLayer

        public void addLayer​(Layer layer)
      • addLayer

        public void addLayer​(int index,
                             Layer layer)
      • addAllLayers

        public void addAllLayers​(LayerList list)
      • addAllLayers

        public void addAllLayers​(java.lang.Iterable<? extends Layer> iterable)
      • removeLayer

        public boolean removeLayer​(Layer layer)
      • removeLayer

        public Layer removeLayer​(int index)
      • removeAllLayers

        public boolean removeAllLayers​(java.lang.Iterable<? extends Layer> layers)
      • clearLayers

        public void clearLayers()
      • iterator

        @NonNull
        public java.util.Iterator<Layer> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<Layer>