Package megameklab.ui.util
package megameklab.ui.util
-
ClassDescriptionThis is a base class for some of the transfer handlers used in MML.A 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 ASF.Variant of DropTargetCriticalList for aerospace units that groups weapons into bays.Contains constants and utils for a unified crit cell display across unit types.Crit views implementing this interface can help the user by darkening those locations that cannot receive a mouse-dragged equipment.Thanks to Lost in space of the Solaris Sunk Works Project for the code snippet and idea.Version of JComboBox that simplifies rendering custom data types by taking a toString method in its contractors.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.A ComboBox that provides 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.interfaces.ITechnology>ComboBox for equipment that implement ITechnology.This is an empty JPanel with a preferred width that corresponds to a JTextField with a fixed column number.