Class FlatToolBarSeparatorUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.SeparatorUI
javax.swing.plaf.basic.BasicSeparatorUI
javax.swing.plaf.basic.BasicToolBarSeparatorUI
com.formdev.flatlaf.ui.FlatToolBarSeparatorUI
- All Implemented Interfaces:
FlatStylingSupport.StyleableUI, PropertyChangeListener, EventListener
public class FlatToolBarSeparatorUI
extends BasicToolBarSeparatorUI
implements FlatStylingSupport.StyleableUI, PropertyChangeListener
Provides the Flat LaF UI delegate for
JToolBar.Separator.
- UiDefault:
- ToolBar.separatorWidth int, ToolBar.separatorColor Color
-
Field Summary
FieldsFields inherited from class BasicSeparatorUI
highlight, shadow -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyStyle(Object style) protected ObjectapplyStyleProperty(String key, Object value) static ComponentUIgetStyleableValue(JComponent c, String key) protected voidprotected voidprotected voidvoidvoidpaint(Graphics g, JComponent c) voidprotected voidprotected voidMethods inherited from class BasicSeparatorUI
getMinimumSize, uninstallUIMethods inherited from class ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update
-
Field Details
-
separatorWidth
protected int separatorWidth -
separatorColor
-
-
Constructor Details
-
FlatToolBarSeparatorUI
protected FlatToolBarSeparatorUI(boolean shared) - Since:
- 2
-
-
Method Details
-
createUI
-
installUI
- Overrides:
installUIin classBasicSeparatorUI
-
installDefaults
- Overrides:
installDefaultsin classBasicToolBarSeparatorUI
-
uninstallDefaults
- Overrides:
uninstallDefaultsin classBasicSeparatorUI
-
installListeners
- Overrides:
installListenersin classBasicSeparatorUI
-
uninstallListeners
- Overrides:
uninstallListenersin classBasicSeparatorUI
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener- Since:
- 2.0.1
-
installStyle
- Since:
- 2
-
applyStyle
- Since:
- 2
-
applyStyleProperty
-
getStyleableInfos
- Specified by:
getStyleableInfosin interfaceFlatStylingSupport.StyleableUI- Since:
- 2
-
getStyleableValue
- Specified by:
getStyleableValuein interfaceFlatStylingSupport.StyleableUI- Since:
- 2.5
-
getPreferredSize
- Overrides:
getPreferredSizein classBasicToolBarSeparatorUI
-
getMaximumSize
- Overrides:
getMaximumSizein classBasicSeparatorUI
-
paint
- Overrides:
paintin classBasicToolBarSeparatorUI
-