Package com.formdev.flatlaf.ui
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
.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private static final int
protected Color
protected int
private final boolean
Fields inherited from class javax.swing.plaf.basic.BasicSeparatorUI
highlight, shadow
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyStyle
(Object style) protected Object
applyStyleProperty
(String key, Object value) static ComponentUI
getStyleableValue
(JComponent c, String key) private FlatToolBarUI
protected void
protected void
protected void
void
private boolean
void
paint
(Graphics g, JComponent c) void
protected void
protected void
Methods inherited from class javax.swing.plaf.basic.BasicSeparatorUI
getMinimumSize, uninstallUI
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update
-
Field Details
-
LINE_WIDTH
private static final int LINE_WIDTH- See Also:
-
separatorWidth
protected int separatorWidth -
separatorColor
-
defaults_initialized
private boolean defaults_initialized -
oldStyleValues
-
-
Constructor Details
-
FlatToolBarSeparatorUI
protected FlatToolBarSeparatorUI(boolean shared) - Since:
- 2
-
-
Method Details
-
createUI
-
installUI
- Overrides:
installUI
in classBasicSeparatorUI
-
installDefaults
- Overrides:
installDefaults
in classBasicToolBarSeparatorUI
-
uninstallDefaults
- Overrides:
uninstallDefaults
in classBasicSeparatorUI
-
installListeners
- Overrides:
installListeners
in classBasicSeparatorUI
-
uninstallListeners
- Overrides:
uninstallListeners
in classBasicSeparatorUI
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
- Since:
- 2.0.1
-
installStyle
- Since:
- 2
-
applyStyle
- Since:
- 2
-
applyStyleProperty
- Since:
- 2
-
getStyleableInfos
- Specified by:
getStyleableInfos
in interfaceFlatStylingSupport.StyleableUI
- Since:
- 2
-
getStyleableValue
- Specified by:
getStyleableValue
in interfaceFlatStylingSupport.StyleableUI
- Since:
- 2.5
-
getPreferredSize
- Overrides:
getPreferredSize
in classBasicToolBarSeparatorUI
-
getMaximumSize
- Overrides:
getMaximumSize
in classBasicSeparatorUI
-
paint
- Overrides:
paint
in classBasicToolBarSeparatorUI
-
isVertical
-
getToolBarUI
-