Package megameklab.ui.util
package megameklab.ui.util
-
ClassDescriptionA base class for creating an equipment database table that shows all equipment available to the unit and by default includes filters such as an "Energy Weapon" toggle.Handles drag-and-drop for aerospace units that use weapon bays.This interface may implemented by all windows that exit the application.The crit slot Transfer Handler for BA and AS.Variant of DropTargetCriticalList for aerospace units that groups weapons into bays.Contains constants and utils for a unified crit cell display across unit types.Version of JComboBox that simplifies rendering custom data types by taking a toString method in its contructors.This list displays a critical slot block for a location in the "Assign Criticals" tab of CV and SV units.Equipment categories used for filtering the equipment database and deciding which filters to show.this model was not being used by anything, so I totally redid so that it can be used as the model for the equipment tab.This is a specific WindowAdapter that acts on a windowClosing event by calling the given AppCloser's exit() method and exits the application if exit() returned true.Combo box that uses the RATGenerator faction data to provide a list of factions appropriate to a unit's intro year and with the era-appropriate name.A text field for integer values that can specify a minimum and maximum value.A Java Swing Border with slightly curved top and bottom lines.Utility class to determine the operating system.The location crit block for ProtoMeksHelper which loops through container components in order to set up springs.A 1.4 file that provides utility methods for creating form- or grid-style layouts with SpringLayout.This JScrollPane is used for the tabs (Structure, Fluff etc) of the various unit UIs.TechComboBox<T extends megamek.common.ITechnology>ComboBox for equipment that implement ITechnology.