net.java.sip.communicator.util.swing.border
Class ExtendedEtchedBorder
java.lang.Object
javax.swing.border.AbstractBorder
javax.swing.border.EtchedBorder
net.java.sip.communicator.util.swing.border.ExtendedEtchedBorder
- All Implemented Interfaces:
- Serializable, Border
public class ExtendedEtchedBorder
- extends EtchedBorder
- See Also:
- Serialized Form
|
Constructor Summary |
ExtendedEtchedBorder(int etchType,
int top,
int left,
int bottom,
int right)
Creates an etched border with the specified etch-type and specified
thickness of each border: top, left, bottom, right. |
|
Method Summary |
void |
paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
Paints the border for the specified component with the
specified position and size. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtendedEtchedBorder
public ExtendedEtchedBorder(int etchType,
int top,
int left,
int bottom,
int right)
- Creates an etched border with the specified etch-type and specified
thickness of each border: top, left, bottom, right.
- Parameters:
etchType - the type of etch to be drawn by the bordertop - the thickness of the top borderleft - the thickness of the left borderbottom - the thickness of the bottom borderright - the thickness of the right border
paintBorder
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
- Paints the border for the specified component with the
specified position and size.
- Specified by:
paintBorder in interface Border- Overrides:
paintBorder in class EtchedBorder
- Parameters:
c - the component for which this border is being paintedg - the paint graphicsx - the x position of the painted bordery - the y position of the painted borderwidth - the width of the painted borderheight - the height of the painted border
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.