Class ToolkitPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable

public class ToolkitPanel extends ScrollablePanel
A panel that displays the details and management controls for an AbstractToolkit.

It supports extensible UI components via the ToolkitUiRegistry.

Author:
anahata
See Also:
  • Field Details

    • parentPanel

      private final ContextPanel parentPanel
      The parent container panel.
    • nameLabel

      private final JLabel nameLabel
      Label showing the toolkit's name.
    • descLabel

      private final JLabel descLabel
      Label displaying the toolkit's description.
    • enabledCheckbox

      private final JCheckBox enabledCheckbox
      Checkbox toggling active state of this toolkit.
    • maxDepthSpinner

      private final JSpinner maxDepthSpinner
      Spinner defining maximum context pruning depth.
    • rendererContainer

      private final JPanel rendererContainer
      Wrapper container for specialized toolkit UI components.
  • Constructor Details

    • ToolkitPanel

      public ToolkitPanel(ContextPanel parentPanel)
      Constructs a new ToolkitPanel.
      Parameters:
      parentPanel - The parent context panel.
  • Method Details

    • setToolkit

      public void setToolkit(AbstractToolkit<?> tk)
      Updates the panel with the given toolkit's information.
      Parameters:
      tk - The toolkit to display.