Package sc.layer

Class LayerOrderIndex

  • All Implemented Interfaces:

    public class LayerOrderIndex
    extends java.lang.Object
    One instance per LayeredSystem, used for storing the set of layers that could be loaded into this system as inactiveLayers. This keeps track of the global ordering of the layers, specifically so we can order types in the modify type index when we restore the type index, before we've created the inactiveLayers instance.
    See Also:
    Serialized Form
    • Constructor Detail

      • LayerOrderIndex

        public LayerOrderIndex()
    • Method Detail

      • getLayerPosition

        public int getLayerPosition​(java.lang.String layerName)
      • excludesLayer

        public boolean excludesLayer​(java.lang.String layerName)
      • removeExcludedLayer

        public void removeExcludedLayer​(java.lang.String layerName)
      • refreshAll

        public boolean refreshAll​(LayeredSystem sys,
                                  boolean reset)
      • refreshOrder

        public void refreshOrder()
      • saveToDir

        public void saveToDir​(java.lang.String dirName)