Package mdlaf.components.button
Class MaterialButtonsComponentsUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.ButtonUI
-
- javax.swing.plaf.basic.BasicButtonUI
-
- mdlaf.components.button.MaterialButtonUI
-
- mdlaf.components.button.MaterialButtonsComponentsUI
-
- Direct Known Subclasses:
MaterialComboBoxUI.ArrowButtonComboBox.ArrowButtonComboboxBoxUI,MaterialSpinnerUI.ArrowButtonSpinner.SpinnerButtonUI
public class MaterialButtonsComponentsUI extends MaterialButtonUI
This component is a helper component to make a button that is without border in any case this type of component it is useful in the library because help us to refactoring the code in only one class and have the power to make the change in one place.The component that use this helper component are - JSpinner - JComboBox - TitlePane buttons - other minors component around the library.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class mdlaf.components.button.MaterialButtonUI
MaterialButtonUI.MaterialListenerButtonEvent
-
-
Field Summary
-
Fields inherited from class mdlaf.components.button.MaterialButtonUI
arch, background, borderColor, borderEnabled, button, buttonBorderToAll, buttonToolBarInit, colorMouseHoverDefaultButton, colorMouseHoverNormalButton, defaultBackground, defaultButton, defaultForeground, disabledBackground, disabledForeground, enableButton, foreground, mouseHover, mouseHoverEnabled, mouseHoverRunning
-
-
Constructor Summary
Constructors Constructor Description MaterialButtonsComponentsUI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinstallUI(javax.swing.JComponent c)Inside the installUI method are init only proprieties used inside this component the background or foreground ara managed to BasicButtonUI, @see BasicButtonUI-
Methods inherited from class mdlaf.components.button.MaterialButtonUI
createButtonListener, createUI, installDefaults, installListeners, isDefaultButton, isToolBarButton, paint, paintBackground, paintBorderButton, paintButtonPressed, paintFocus, paintFocusRing, paintText, setColorMouseHoverDefaultButton, setColorMouseHoverNormalButton, uninstallListeners, uninstallUI
-
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installKeyboardActions, paintIcon, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions
-
-
-
-
Method Detail
-
installUI
public void installUI(javax.swing.JComponent c)
Description copied from class:MaterialButtonUIInside the installUI method are init only proprieties used inside this component the background or foreground ara managed to BasicButtonUI, @see BasicButtonUI- Overrides:
installUIin classMaterialButtonUI
-
-