public void setLayers() { setLayers(allLayers);
public void setLayers(Layer[] layers) { allLayers = layers;  if (Debug.debugging("layerhandler")) { Debug.output("LayerHandler.setLayers: " + layers); }  if (listeners != null) { Debug.message("layerhandler","firing LayerEvent.ALL on LayerListeners"); listeners.fireLayer(LayerEvent.ALL, allLayers); Debug.message("layerhandler","firing LayerEvent.REPLACE on LayerListeners"); listeners.fireLayer(LayerEvent.REPLACE, getMapLayers()); } else { Debug.message("layerhandler","LayerListeners object is null"); }
    public void setLayers() {	setLayers(allLayers);    }