com.alee.laf.separator
Class WebSeparatorUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.SeparatorUI
javax.swing.plaf.basic.BasicSeparatorUI
com.alee.laf.separator.WebSeparatorUI
- Direct Known Subclasses:
- WebToolBarSeparatorUI
public class WebSeparatorUI
- extends javax.swing.plaf.basic.BasicSeparatorUI
Custom UI for JSeparator component.
- Author:
- Mikle Garin
Fields inherited from class javax.swing.plaf.basic.BasicSeparatorUI |
highlight, shadow |
Methods inherited from class javax.swing.plaf.basic.BasicSeparatorUI |
getMaximumSize, getMinimumSize, installDefaults, installListeners, uninstallDefaults, uninstallListeners |
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebSeparatorUI
public WebSeparatorUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUI
in class javax.swing.plaf.basic.BasicSeparatorUI
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUI
in class javax.swing.plaf.basic.BasicSeparatorUI
getSeparatorColor
public java.awt.Color getSeparatorColor()
setSeparatorColor
public void setSeparatorColor(java.awt.Color separatorColor)
getSeparatorUpperColor
public java.awt.Color getSeparatorUpperColor()
setSeparatorUpperColor
public void setSeparatorUpperColor(java.awt.Color separatorUpperColor)
getSeparatorLightColor
public java.awt.Color getSeparatorLightColor()
setSeparatorLightColor
public void setSeparatorLightColor(java.awt.Color separatorLightColor)
getSeparatorLightUpperColor
public java.awt.Color getSeparatorLightUpperColor()
setSeparatorLightUpperColor
public void setSeparatorLightUpperColor(java.awt.Color separatorLightUpperColor)
isReversedColors
public boolean isReversedColors()
setReversedColors
public void setReversedColors(boolean reversedColors)
isDrawLeadingLine
public boolean isDrawLeadingLine()
setDrawLeadingLine
public void setDrawLeadingLine(boolean drawLeadingLine)
isDrawTrailingLine
public boolean isDrawTrailingLine()
setDrawTrailingLine
public void setDrawTrailingLine(boolean drawTrailingLine)
getMargin
public java.awt.Insets getMargin()
setMargin
public void setMargin(java.awt.Insets margin)
paint
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
- Overrides:
paint
in class javax.swing.plaf.basic.BasicSeparatorUI
getPreferredSize
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
- Overrides:
getPreferredSize
in class javax.swing.plaf.basic.BasicSeparatorUI