BasicPopupMenuSeparatorUI
, BasicToolBarSeparatorUI
, MetalSeparatorUI
public class BasicSeparatorUI extends SeparatorUI
Modifier and Type | Field | Description |
---|---|---|
protected Color |
highlight |
The color of the highlighting. |
protected Color |
shadow |
The color of the shadow. |
Constructor | Description |
---|---|
BasicSeparatorUI() |
Constructs a BasicSeparatorUI . |
Modifier and Type | Method | Description |
---|---|---|
static ComponentUI |
createUI |
Returns a new instance of BasicSeparatorUI . |
protected void |
installDefaults |
Installs default properties. |
protected void |
installListeners |
Registers listeners. |
protected void |
uninstallDefaults |
Uninstalls default properties. |
protected void |
uninstallListeners |
Unregisters listeners. |
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
protected Color shadow
protected Color highlight
public BasicSeparatorUI()
BasicSeparatorUI
.public static ComponentUI createUI(JComponent c)
BasicSeparatorUI
.c
- a componentBasicSeparatorUI
protected void installDefaults(JSeparator s)
s
- an instance of JSeparator
protected void uninstallDefaults(JSeparator s)
s
- an instance of JSeparator
protected void installListeners(JSeparator s)
s
- an instance of JSeparator
protected void uninstallListeners(JSeparator s)
s
- an instance of JSeparator
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/plaf/basic/BasicSeparatorUI.html