Class FlatSeparatorUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.SeparatorUI
javax.swing.plaf.basic.BasicSeparatorUI
com.formdev.flatlaf.ui.FlatSeparatorUI
- All Implemented Interfaces:
FlatStylingSupport.StyleableUI, PropertyChangeListener, EventListener
- Direct Known Subclasses:
FlatPopupMenuSeparatorUI
public class FlatSeparatorUI
extends BasicSeparatorUI
implements FlatStylingSupport.StyleableUI, PropertyChangeListener
Provides the Flat LaF UI delegate for
JSeparator.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprotected intprivate final booleanprotected intprotected intFields inherited from class BasicSeparatorUI
highlight, shadow -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyStyle(JSeparator s, Object style) protected ObjectapplyStyleProperty(JSeparator s, String key, Object value) static ComponentUIprotected StringgetStyleableValue(JComponent c, String key) (package private) Stringprotected voidprotected voidprotected voidvoidvoidpaint(Graphics g, JComponent c) voidprotected voidprotected voidMethods inherited from class BasicSeparatorUI
getMaximumSize, getMinimumSize, uninstallUIMethods inherited from class ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update
-
Field Details
-
height
protected int height -
stripeWidth
protected int stripeWidth -
stripeIndent
protected int stripeIndent -
defaults_initialized
private boolean defaults_initialized -
oldStyleValues
-
-
Constructor Details
-
FlatSeparatorUI
protected FlatSeparatorUI(boolean shared) - Since:
- 2
-
-
Method Details
-
createUI
-
getPropertyPrefix
-
installUI
- Overrides:
installUIin classBasicSeparatorUI
-
installDefaults
- Overrides:
installDefaultsin classBasicSeparatorUI
-
uninstallDefaults
- Overrides:
uninstallDefaultsin classBasicSeparatorUI
-
installListeners
- Overrides:
installListenersin classBasicSeparatorUI
-
uninstallListeners
- Overrides:
uninstallListenersin classBasicSeparatorUI
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener- Since:
- 2.0.1
-
installStyle
- Since:
- 2
-
getStyleType
String getStyleType()- Since:
- 2
-
applyStyle
- Since:
- 2
-
applyStyleProperty
- Since:
- 2
-
getStyleableInfos
- Specified by:
getStyleableInfosin interfaceFlatStylingSupport.StyleableUI- Since:
- 2
-
getStyleableValue
- Specified by:
getStyleableValuein interfaceFlatStylingSupport.StyleableUI- Since:
- 2.5
-
paint
- Overrides:
paintin classBasicSeparatorUI
-
getPreferredSize
- Overrides:
getPreferredSizein classBasicSeparatorUI
-