Class PilotOptionsPanel

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

public class PilotOptionsPanel extends JPanel implements DialogOptionListener
The pilot options ("Special Pilot Abilities") portion of the pilot tab in CustomMekDialog, styled after QuirksPanel: one titled panel per option group, responsive multi-column layout, alphabetically sorted rows, and selected options highlighted.

On top of the live options, the panel shows the CamOps SPAs MegaMek does not implement as grayed-out, searchable placeholder rows, marks partially implemented SPAs with a " (P)" name suffix, and carries each ability's status, book reference, and missing-rules text in its tooltip - all driven by SpaCatalog. A filter field narrows all groups by name and effect text; filtering only changes which rows are laid out and never rebuilds the row components, so in-progress edits survive.

This panel owns presentation only. Cross-option rules (implant exclusivity, equipment sync) stay with the dialog, which receives every DialogOptionListener event; per-option extras (choice values, inline prosthetic controls) are injected through the PilotOptionsPanel.OptionRowConfigurator the dialog passes in.

See Also: