Class AbstractPanel<T extends Setting<R>,R>

Type Parameters:
T - The type of Setting that this panel represents. It must extend Setting and its value type must be R.
R - The type of the value held by the Setting (T).
All Implemented Interfaces:
EventListener, SettingPanel, ImageObserver, MenuContainer, Serializable, Accessible
Direct Known Subclasses:
BooleanValueSPanel, ButtonGroupSPanel, EnterValueSPanel, NumberValueSPanel, PopoutSPanel

public class AbstractPanel<T extends Setting<R>,R> extends JPanel implements SettingPanel
Abstract base class for UI panels that represent and allow modification of a specific Setting. This class provides a common structure for panels that display and interact with a setting, ensuring that the panel is linked to its corresponding setting object.
Author:
Lehlogonolo Poole
See Also:
  • Field Details

    • setting

      protected final T extends Setting<R> setting
      The Setting object that this panel represents and interacts with.
  • Constructor Details

    • AbstractPanel

      public AbstractPanel(T setting)
  • Method Details