org.formaria.util
Class GraphicUtils

java.lang.Object
  extended by org.formaria.util.GraphicUtils

public class GraphicUtils
extends java.lang.Object

Description: A collection of utility functions v


Constructor Summary
GraphicUtils()
           
 
Method Summary
static void draw3dObject(java.awt.Graphics g, boolean focused, int left, int top, int width, int height, java.awt.Color bkClr, java.awt.Color shadowClr, java.awt.Color frameClr, java.awt.Color shadow3dClr, java.awt.Color highlight3dClr)
          Draws a 3d object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphicUtils

public GraphicUtils()
Method Detail

draw3dObject

public static void draw3dObject(java.awt.Graphics g,
                                boolean focused,
                                int left,
                                int top,
                                int width,
                                int height,
                                java.awt.Color bkClr,
                                java.awt.Color shadowClr,
                                java.awt.Color frameClr,
                                java.awt.Color shadow3dClr,
                                java.awt.Color highlight3dClr)
Draws a 3d object.

Parameters:
g - the graphics context
focused - true if the object is drawn in a pressed state
left - the left coordinate
top - the top coordinate
width - the width
height - the height
bkClr - the background color
shadowClr - the shadow color
frameClr - the frame color
shadow3dClr - the 3d shadow color
highlight3dClr - the 3d highlight