Class LayerPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class LayerPanel extends JPanel
Represents a UI panel for managing individual layers in the surface mask editor.

This panel provides controls for toggling the visibility of a layer, selecting it, and removing it from the SurfaceMaskLayers manager. The panel includes: - A visual representation of the layer. - A button to show/hide the layer. - A button to delete the layer.

See Also:
  • Constructor Details

    • LayerPanel

      public LayerPanel(JPanel container, Layer layer, SurfaceMaskLayers layerManager, SurfaceMaskPanel surfaceMaskPanel, ActionListener actionListener)
      Creates new form of LayerPanel
      Parameters:
      container - The parent container that holds this panel.
      layer - The Layer associated with this panel.
      layerManager - The SurfaceMaskLayers manager handling multiple layers.
      surfaceMaskPanel - The panel responsible for rendering the surface masks.
      actionListener - The listener for handling actions related to layers.