de.javagl.swogl.scene
Interface LightSetupListener


public interface LightSetupListener

Interface for all classes that want to be informed when a LightSetup changed


Method Summary
 void lightSetupChanged(LightSetup lightSetup, java.util.List<Light> addedLights, java.util.List<Light> removedLights)
          Will be called when the given LightSetup changed.
 

Method Detail

lightSetupChanged

void lightSetupChanged(LightSetup lightSetup,
                       java.util.List<Light> addedLights,
                       java.util.List<Light> removedLights)
Will be called when the given LightSetup changed. The given lists may be empty, in case that a property of the LightSetup (like the ambient light color) has changed

Parameters:
lightSetup - The light setup
addedLights - An unmodifiable list of the lights that have been added
removedLights - An unmodifiable list of the lights that have been removed