SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.gui.lookandfeel
Class SIPCommLFUtils

java.lang.Object
  extended by net.java.sip.communicator.impl.gui.lookandfeel.SIPCommLFUtils

public class SIPCommLFUtils
extends Object

The SIPCommLFUtils is an utility class helping in drawing some

Author:
Yana Stamcheva

Constructor Summary
SIPCommLFUtils()
           
 
Method Summary
(package private) static void drawBoldRoundBorder(Graphics g, int x, int y, int w, int h, int r1, int r2)
          Draws the "Bold Round Disabled Border" which is used throughout the SIPComm L&F.
(package private) static void drawRoundBorder(Graphics g, int x, int y, int w, int h, int r1, int r2)
          Draws the "Round Border" which is used throughout the SIPComm L&F
(package private) static void drawRoundDisabledBorder(Graphics g, int x, int y, int w, int h, int r1, int r2)
          Draws the "Round Disabled Border" which is used throughout the SIPComm L&F.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SIPCommLFUtils

public SIPCommLFUtils()
Method Detail

drawRoundBorder

static void drawRoundBorder(Graphics g,
                            int x,
                            int y,
                            int w,
                            int h,
                            int r1,
                            int r2)
Draws the "Round Border" which is used throughout the SIPComm L&F

Parameters:
g - the Graphics object used for painting
x - the x coordinate to start the border
y - the y coordinate to start the border
w - the width of the border
h - the height of the border
r1 - the arc width
r2 - the arc height

drawRoundDisabledBorder

static void drawRoundDisabledBorder(Graphics g,
                                    int x,
                                    int y,
                                    int w,
                                    int h,
                                    int r1,
                                    int r2)
Draws the "Round Disabled Border" which is used throughout the SIPComm L&F.

Parameters:
g - the Graphics object used for painting
x - the x coordinate to start the border
y - the y coordinate to start the border
w - the width of the border
h - the height of the border
r1 - the arc width
r2 - the arc height

drawBoldRoundBorder

static void drawBoldRoundBorder(Graphics g,
                                int x,
                                int y,
                                int w,
                                int h,
                                int r1,
                                int r2)
Draws the "Bold Round Disabled Border" which is used throughout the SIPComm L&F.

Parameters:
g - the Graphics object used for painting
x - the x coordinate to start the border
y - the y coordinate to start the border
w - the width of the border
h - the height of the border
r1 - the arc width
r2 - the arc height

SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.