javax.swing.plaf
Class BorderUIResource
java.lang.Object
|
+--javax.swing.plaf.BorderUIResource
- public class BorderUIResource
- extends Object
- implements Border, UIResource, Serializable
- See Also:
- Serialized Form
Constructor Summary |
BorderUIResource(Border delegate)
Creates a UIResource border object which wraps
an existing Border instance. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
BorderUIResource
public BorderUIResource(Border delegate)
- Creates a UIResource border object which wraps
an existing Border instance.
- Parameters:
delegate
- the border being wrapped
getEtchedBorderUIResource
public static Border getEtchedBorderUIResource()
getLoweredBevelBorderUIResource
public static Border getLoweredBevelBorderUIResource()
getRaisedBevelBorderUIResource
public static Border getRaisedBevelBorderUIResource()
getBlackLineBorderUIResource
public static Border getBlackLineBorderUIResource()
paintBorder
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
- Specified by:
- paintBorder in interface Border
getBorderInsets
public Insets getBorderInsets(Component c)
- Specified by:
- getBorderInsets in interface Border
isBorderOpaque
public boolean isBorderOpaque()
- Specified by:
- isBorderOpaque in interface Border
Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.