Package megamek.client.ui.util


package megamek.client.ui.util
  • Class
    Description
     
     
    This is a specialized label that acts as a replacement for a button.
    Class used in processing KeyEvents in MegamekController.
    This component draws a dashed horizontal line, similarly to a JSeparator.
     
    This is a specialized JTextField that is meant to be used as a pure display, i.e.
    This class handles logic for displaying various kinds of damage and destruction decals
    This builder class is used to assign fonts and font styles to JComponents in the Swing GUI using FlatLaf's typography system.
    This class provides methods for retrieving fluff images, for use in MM, MML and MHQ; also for record sheets (where the fallback image "hud.png" is used).
    This singleton class reads in the available fonts when first called, including those in SuiteConstants.FONT_DIRECTORY.
    Class to encapsulate a map that maps old image paths to the subsequent location in an image atlas.
    Class to map a file path to a location within an image atlas file.
    Class to encapsulate a list of image atlas records for the purposes of serialization.
    An ImageCache that keeps a Hashtable of mapped keys and values.
    Extension of java.awt.image.AreaAveragingScaleFilter.
    A text field for integer values that can specify a minimum and maximum value.
    Utility class for creating JTextArea instances with a maximum character limit.
    This interface may be implemented by classes that receive keybind key presses, such as the BoardView or PhaseDisplays to simplify registering those keybinds.
    This enum is a collection of commands that can be bound to a particular key.
    This class can be used to simplify creating a Java Swing Action if it only requires a name and its action handling can be given as a method reference.
     
    This class implements a KeyEventDispatcher, which handles all generated KeyEvents.
    This is an interface for a parameter-less method without a return value.
    A class that provides scrolling capabilities to a long menu dropdown or popup menu.
     
    Deprecated.
    This should be removed and replaced with an AffineTransformation Filter instead.
    A JPopupMenu that automatically scales with MegaMek's GUI Scaling value obtained from GUIPreferences.getGUIScale()
    A 1.4 file that provides utility methods for creating form- or grid-style layouts with SpringLayout.
    This class calculates and stores points of polygon shaped as straight arrow.
    This is a helper class to ease the process of drawing Strings in Java Graphics2D.
     
    This class takes a time limit, which is to be set in Basic Options and counts down to zero When zero is reached, the ready() method of the given AbstractPhaseDisplay is called to end the users current turn.
     
    A panel for the content of a subsection of the dialog.
    A JPanel that does not stretch horizontally beyond its preferred width.
    A JPanel that does not stretch vertically beyond its preferred height.
    A specialized panel for the header of a section.
    A panel for a subsection of the dialog, e.g.
    A JButton with a specialized tooltip display.
    A MMComboBox with a specialized tooltip display.
    A JLabel with a specialized tooltip display.
    A JList with a specialized tooltip display.
    A MMToggleButton with a specialized tooltip display.
    A JPanel with a specialized tooltip display.
    A JSlider with a specialized tooltip display.
    A JTextField with a specialized tooltip display.
    This is a specialized JPanel for use with a button bar at the bottom of a dialog for when it's possible that the button bar has to wrap (is wider than the dialog and needs to use two or more rows for the buttons).
    Deprecated, for removal: This API element is subject to removal in a future version.
    Enum of valid formatting styles, to use with MekView objects - HTML: contains HTML markup - Discord: Contains Discord markup and formatting - None: plain text