Package mekhq.gui.baseComponents
package mekhq.gui.baseComponents
-
ClassDescriptionThis is the base class for dialogs in MegaMek.This is the default Panel.This is the default ScrollPane.This is the default SplitPane.This is the default TabbedPane.This is the Base Dialog for a dialog with buttons where the Ok button requires data validation in MegaMek.This is the default Scrollable Panel implementation, designed to be used as a basic implementation of
AbstractScrollablePanelfor inline scrollable panels that can then be used within a scroll pane.Command button with a finite corner frame that expands on hover.Theme-aware colors forFramedCommandButton.Colors for all command-button interaction states.Colors for one command-button interaction state.A compact, reusable gauge that draws a continuous horizontal track and places one or more labeled markers on it.A single labeled point on the track.How aGradientMarkerBar.Markeris drawn.JScrollableMenu is an extension of JMenu that expands the add functionality so that it adds child menus only if they are not empty, and then adds a scroller to them if they are of the specified size or larger.JScrollablePanel is an extension of JPanel that implements scrollable, so that it can be properly used within a JScrollPane.JScrollablePopupMenu is an extension of JPopupMenu that expands the add functionality so that it adds child menus only if they are not empty, and then adds a scroller to them if they are of the specified size or larger.Displays an image that fills the available vertical space up to a specified maximum height, while preserving its original aspect ratio.A customJPanelthat enforces minimum and maximum width constraints and respects the GUI scale setting.A compact, reusable gauge that draws a row of equally-sized colored segments.A single segment of the bar.This is a generic model that sorts objects extending E based on the provided comparator, or using Java's natural sort (which is NOT the same as aNaturalOrderComparator) if a comparator is not provided.This class extends a basic JLabel to handle the characteristics of a sourceable value, namely adding the sourced information as a tooltip.