Package megamek.client.ui.buttons


package megamek.client.ui.buttons
  • Classes
    Class
    Description
    A JButton that will react to ESC key presses when in a focused window.
     
    A JButton that has a minimum width which scales with the GUI scale.
    MMButton is an extension of JButton that overrides the constructors for JButton, albeit with the addition of the name of the button as the first value for all constructors, and adds two new constructors to create standardized JButtons with all the required information.
    A JToggleButton that shows a check mark and cross mark to make its selection status clearer.
    A JToggleButton that works as an on/off switch and always tells the reader where things stand: it names the state it is in while untouched ("ON" or "OFF"), and the change it will make once it has been toggled away from its initial state ("Turning ON" or "Turning OFF") - so a reader can tell a thing that is on from a thing that is about to be turned on.