Class ASAdvancedSearchPanel

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
megamek.client.ui.dialogs.advancedsearch.ASAdvancedSearchPanel
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ASAdvancedSearchPanel extends JPanel
This panel shows advanced search filters for AlphaStrike values.
See Also:
  • Constructor Details

    • ASAdvancedSearchPanel

      public ASAdvancedSearchPanel()
  • Method Details

    • matches

      public boolean matches(MekSummary mekSummary)
      Returns:
      True when the given MekSummary matches the active search filters or true when no filters are active.
    • clearValues

      public void clearValues()
      Deactivates all AS search filters so that no units will be filtered out.
    • saveValues

      public void saveValues()
      Saves the current field settings and contents to restore them when user-canceled.
    • resetValues

      public void resetValues()
      Restore the saved field settings and contents.
    • isActive

      public boolean isActive()
      Returns:
      True when any of the search filters is activated so that units might be filtered out.