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.focusedForeground Color optional, Button.hoverBackground Color optional, Button.hoverForeground Color optional, Button.pressedBackground Color optional, Button.pressedForeground Color optional, Button.selectedBackground Color, Button.selectedForeground Color, Button.disabledBackground Color optional, Button.disabledText Color, Button.disabledSelectedBackground Color, Button.disabledSelectedForeground Color optional, 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.focusedForeground Color optional, Button.default.hoverBackground Color optional, Button.default.hoverForeground Color optional, Button.default.pressedBackground Color optional, Button.default.pressedForeground 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.hoverForeground Color optional, Button.toolbar.pressedBackground Color, Button.toolbar.pressedForeground Color optional, Button.toolbar.selectedBackground Color, Button.toolbar.selectedForeground Color optional, Button.toolbar.disabledSelectedBackground Color optional, Button.toolbar.disabledSelectedForeground Color optional