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 booleanprivate static final intprotected Colorprotected intprivate final booleanFields 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) private FlatToolBarUIprotected voidprotected voidprotected voidvoidprivate booleanvoidpaint(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
-
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:
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
-
isVertical
-
getToolBarUI
-