javax.swing.plaf.metal
Class MetalSeparatorUI
java.lang.Object
|
+--javax.swing.plaf.ComponentUI
|
+--javax.swing.plaf.SeparatorUI
|
+--javax.swing.plaf.basic.BasicSeparatorUI
|
+--javax.swing.plaf.metal.MetalSeparatorUI
- Direct Known Subclasses:
- MetalPopupMenuSeparatorUI
- public class MetalSeparatorUI
- extends BasicSeparatorUI
A Metal L&F implementation of SeparatorUI. This implementation
is a "combined" view/controller.
Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is appropriate
for short term storage or RMI between applications running the same
version of Swing. A future release of Swing will provide support for
long term persistence.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
MetalSeparatorUI
public MetalSeparatorUI()
createUI
public static ComponentUI createUI(JComponent c)
installDefaults
protected void installDefaults(JSeparator s)
- Overrides:
- installDefaults in class BasicSeparatorUI
paint
public void paint(Graphics g,
JComponent c)
- Overrides:
- paint in class BasicSeparatorUI
getPreferredSize
public Dimension getPreferredSize(JComponent c)
- Overrides:
- getPreferredSize in class BasicSeparatorUI
Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.