Class LightIntensityPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class LightIntensityPane extends JPanel
Panel to display Light Intensity options. Code originally within LightTableAction.
See Also:
  • Constructor Details

    • LightIntensityPane

      public LightIntensityPane(boolean vertical)
      Create a new Light Intensity Panel.
      Parameters:
      vertical - true for vertical, false for horizontal display.
  • Method Details

    • setToLight

      public void setToLight(Light light)
      Set the panel to match a Light.
      Parameters:
      light - the Light to set Panel for.
    • setLightFromPane

      public void setLightFromPane(VariableLight light)
      Set a Light to match the Panel.
      Parameters:
      light - The Light to edit details for.