Package com.formdev.flatlaf.ui
Class FlatSeparatorUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.SeparatorUI
-
- javax.swing.plaf.basic.BasicSeparatorUI
-
- com.formdev.flatlaf.ui.FlatSeparatorUI
-
- Direct Known Subclasses:
FlatPopupMenuSeparatorUI
public class FlatSeparatorUI extends javax.swing.plaf.basic.BasicSeparatorUI
Provides the Flat LaF UI delegate forJSeparator
.- UiDefault:
- Separator.background Color unused, Separator.foreground Color , Separator.height int height (or width) of the component; may be larger than stripe, Separator.stripeWidth int width of the stripe, Separator.stripeIndent int indent of stripe from top (or left); allows positioning of stripe within component
-
-
Field Summary
Fields Modifier and Type Field Description protected int
height
protected int
stripeIndent
protected int
stripeWidth
-
Constructor Summary
Constructors Constructor Description FlatSeparatorUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static javax.swing.plaf.ComponentUI
createUI(javax.swing.JComponent c)
java.awt.Dimension
getPreferredSize(javax.swing.JComponent c)
protected java.lang.String
getPropertyPrefix()
protected void
installDefaults(javax.swing.JSeparator s)
void
paint(java.awt.Graphics g, javax.swing.JComponent c)
protected void
uninstallDefaults(javax.swing.JSeparator s)
-
Methods inherited from class javax.swing.plaf.basic.BasicSeparatorUI
getMaximumSize, getMinimumSize, installListeners, installUI, uninstallListeners, uninstallUI
-
-
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
-
installDefaults
protected void installDefaults(javax.swing.JSeparator s)
- Overrides:
installDefaults
in classjavax.swing.plaf.basic.BasicSeparatorUI
-
uninstallDefaults
protected void uninstallDefaults(javax.swing.JSeparator s)
- Overrides:
uninstallDefaults
in classjavax.swing.plaf.basic.BasicSeparatorUI
-
getPropertyPrefix
protected java.lang.String getPropertyPrefix()
-
paint
public void paint(java.awt.Graphics g, javax.swing.JComponent c)
- Overrides:
paint
in classjavax.swing.plaf.basic.BasicSeparatorUI
-
getPreferredSize
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
- Overrides:
getPreferredSize
in classjavax.swing.plaf.basic.BasicSeparatorUI
-
-