Package mdlaf.components.tabbedpane
Class MaterialTabbedPaneUI.ArrowButtonTabbedPane.ArrowButtonTabbedPaneUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.ButtonUI
-
- javax.swing.plaf.basic.BasicButtonUI
-
- mdlaf.components.button.MaterialButtonUI
-
- mdlaf.components.tabbedpane.MaterialTabbedPaneUI.ArrowButtonTabbedPane.ArrowButtonTabbedPaneUI
-
- Enclosing class:
- MaterialTabbedPaneUI.ArrowButtonTabbedPane
protected class MaterialTabbedPaneUI.ArrowButtonTabbedPane.ArrowButtonTabbedPaneUI extends MaterialButtonUI
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class mdlaf.components.button.MaterialButtonUI
MaterialButtonUI.MaterialListenerButtonEvent
-
-
Field Summary
Fields Modifier and Type Field Description protected intdirection-
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 ArrowButtonTabbedPaneUI(int direction)
-
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 BasicButtonUIprotected voidpaintBackground(java.awt.Graphics g, javax.swing.JComponent c)This method paint background, inside it will paint the border to buttons.protected voidpaintFocus(java.awt.Graphics g, javax.swing.AbstractButton b, java.awt.Rectangle viewRect, java.awt.Rectangle textRect, java.awt.Rectangle iconRect)protected voidpaintFocusRing(java.awt.Graphics g, javax.swing.JButton b)-
Methods inherited from class mdlaf.components.button.MaterialButtonUI
createButtonListener, createUI, installDefaults, installListeners, isDefaultButton, isToolBarButton, paint, paintBorderButton, paintButtonPressed, 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
-
paintBackground
protected void paintBackground(java.awt.Graphics g, javax.swing.JComponent c)Description copied from class:MaterialButtonUIThis method paint background, inside it will paint the border to buttons.param g Graphics Object, with this object is possible paint the component JButton param c Component Object, represent the button, if possible use this object or the propriety called button inside this class
- Overrides:
paintBackgroundin classMaterialButtonUI
-
paintFocus
protected void paintFocus(java.awt.Graphics g, javax.swing.AbstractButton b, java.awt.Rectangle viewRect, java.awt.Rectangle textRect, java.awt.Rectangle iconRect)- Overrides:
paintFocusin classMaterialButtonUI
-
paintFocusRing
protected void paintFocusRing(java.awt.Graphics g, javax.swing.JButton b)- Overrides:
paintFocusRingin classMaterialButtonUI
-
-