All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class fr.l2f.gui.Relief

java.lang.Object
   |
   +----fr.l2f.gui.Relief

public class Relief
extends Object

Variable Index

 o bcoef
 o brighter
 o darker
 o dcoef
 o FLAT
 o grayed
 o GROOVE
 o HORIZONTAL
 o RAISED
 o RIDGE
 o SUNKEN
 o THICKNESS
 o VERTICAL

Constructor Index

 o Relief()

Method Index

 o clearRect(Graphics, int, int, int, int, int, int, Color)
 o drawOval(Graphics, int, int, int, int, int, int)
Draws a 3D Oval, as requested by size, type and thickness.
 o drawRect(Graphics, int, int, int, int, int, int)
Draws a 3D rectangle, as requested by size, type and thickness.
 o drawRoundRect(Graphics, int, int, int, int, int, int, int, int)
Draws a 3D round rectangle, as requested by size, type and thickness.
 o drawShadow(Graphics, int, int, int, int)
 o drawText(Graphics, GraphicFont, String, int, int, Color, Color, Color)
 o drawText(Graphics, GraphicFont, String, int, int, int)
 o drawText(Graphics, String, int, int, Color, Color, Color)
 o drawText(Graphics, String, int, int, int)
Draws a 3D Text
 o fillDegrade(Graphics, Color, Color, int, int, int, int, int, int)

Variables

 o bcoef
 protected static double bcoef
 o dcoef
 protected static double dcoef
 o FLAT
 public static final int FLAT
 o SUNKEN
 public static final int SUNKEN
 o RAISED
 public static final int RAISED
 o GROOVE
 public static final int GROOVE
 o RIDGE
 public static final int RIDGE
 o HORIZONTAL
 public static final int HORIZONTAL
 o VERTICAL
 public static final int VERTICAL
 o THICKNESS
 public static final int THICKNESS
 o brighter
 public static final Color brighter
 o darker
 public static final Color darker
 o grayed
 public static final Color grayed

Constructors

 o Relief
 public Relief()

Methods

 o fillDegrade
 public static void fillDegrade(Graphics gr,
                                Color start,
                                Color end,
                                int x,
                                int y,
                                int w,
                                int h,
                                int n,
                                int direction)
 o drawText
 public static void drawText(Graphics g,
                             String s,
                             int x,
                             int y,
                             int relief)
Draws a 3D Text

 o drawText
 public static void drawText(Graphics g,
                             GraphicFont grFont,
                             String s,
                             int x,
                             int y,
                             int relief)
 o drawText
 public static void drawText(Graphics g,
                             String s,
                             int x,
                             int y,
                             Color c1,
                             Color c2,
                             Color c3)
 o drawText
 public static void drawText(Graphics g,
                             GraphicFont grFont,
                             String s,
                             int x,
                             int y,
                             Color c1,
                             Color c2,
                             Color c3)
 o drawShadow
 public static void drawShadow(Graphics g,
                               int x,
                               int y,
                               int w,
                               int h)
 o clearRect
 public static void clearRect(Graphics g,
                              int x,
                              int y,
                              int w,
                              int h,
                              int relief,
                              int thickness,
                              Color c)
 o drawRect
 public static void drawRect(Graphics g,
                             int x,
                             int y,
                             int w,
                             int h,
                             int relief,
                             int thickness)
Draws a 3D rectangle, as requested by size, type and thickness.

 o drawRoundRect
 public static void drawRoundRect(Graphics g,
                                  int x,
                                  int y,
                                  int w,
                                  int h,
                                  int arcW,
                                  int arcH,
                                  int relief,
                                  int thickness)
Draws a 3D round rectangle, as requested by size, type and thickness.

 o drawOval
 public static void drawOval(Graphics g,
                             int x,
                             int y,
                             int w,
                             int h,
                             int relief,
                             int thickness)
Draws a 3D Oval, as requested by size, type and thickness.


All Packages  Class Hierarchy  This Package  Previous  Next  Index