Class FlatButtonUI

  • All Implemented Interfaces:
    FlatStylingSupport.StyleableUI
    Direct Known Subclasses:
    FlatToggleButtonUI

    public class FlatButtonUI
    extends BasicButtonUI
    implements FlatStylingSupport.StyleableUI
    Provides the Flat LaF UI delegate for JButton.
    UiDefault:
    Button.font Font, Button.background Color, Button.foreground Color, Button.border Border, Button.margin Insets, Button.rollover boolean , Button.minimumWidth int, Button.iconTextGap int, Button.startBackground Color optional; if set, a gradient paint is used and Button.background is ignored, Button.endBackground Color optional; if set, a gradient paint is used, Button.focusedBackground Color optional, Button.hoverBackground Color optional, Button.pressedBackground Color optional, Button.selectedBackground Color, Button.selectedForeground Color, Button.disabledBackground Color optional, Button.disabledText Color, Button.disabledSelectedBackground Color, Button.default.background Color, Button.default.startBackground Color optional; if set, a gradient paint is used and Button.default.background is ignored, Button.default.endBackground Color optional; if set, a gradient paint is used, Button.default.foreground Color, Button.default.focusedBackground Color optional, Button.default.hoverBackground Color optional, Button.default.pressedBackground Color optional, Button.default.boldText boolean, Button.paintShadow boolean default is false, Button.shadowWidth int default is 2, Button.shadowColor Color optional, Button.default.shadowColor Color optional, Button.toolbar.spacingInsets Insets, Button.toolbar.hoverBackground Color, Button.toolbar.pressedBackground Color, Button.toolbar.selectedBackground Color