Class UiButton

All Implemented Interfaces:
ImageObserver, ItemSelectable, MenuContainer, Serializable, Accessible, SwingConstants

public class UiButton extends JButton
Rounded Swing button with native action, mnemonic, focus and default-button semantics.
See Also:
  • Constructor Details

    • UiButton

      public UiButton(String text)
    • UiButton

      public UiButton(String text, UiTheme theme, boolean primary)
  • Method Details

    • updateUI

      public void updateUI()
      Preserve the library painter across Swing look-and-feel updates.
      Overrides:
      updateUI in class JButton
    • setTheme

      public final void setTheme(UiTheme theme)