| java.lang.Object org.underworldlabs.swing.plaf.smoothgradient.SmoothGradientUtils
SmoothGradientUtils | final public class SmoothGradientUtils (Code) | | author: Takis Diakoumis version: $Revision: 1.4 $ |
Method Summary | |
public static void | add3DEffekt(Graphics g, Rectangle r) | public static void | addLight3DEffekt(Graphics g, Rectangle r, boolean isHorizontal) | public static void | addLight3DEffekt(Graphics g, Rectangle r) | static void | drawActiveButtonBorder(Graphics g, int x, int y, int w, int h) Copied from MetalUtils . | static void | drawButtonBorder(Graphics g, int x, int y, int w, int h, boolean active) Copied from MetalUtils . | static void | drawDark3DBorder(Graphics g, int x, int y, int w, int h) | static void | drawDefaultButtonBorder(Graphics g, int x, int y, int w, int h, boolean active) Modified edges. | static void | drawDefaultButtonPressedBorder(Graphics g, int x, int y, int w, int h) | static void | drawDisabledBorder(Graphics g, int x, int y, int w, int h) | static void | drawFlush3DBorder(Graphics g, int x, int y, int w, int h) | static void | drawPressed3DBorder(Graphics g, int x, int y, int w, int h) Copied from MetalUtils . | static void | drawThinFlush3DBorder(Graphics g, int x, int y, int w, int h) | static void | drawThinPressed3DBorder(Graphics g, int x, int y, int w, int h) | static boolean | force3D(JComponent c) Checks and answers if we have a custom hint that forces the 3D mode. | static boolean | forceFlat(JComponent c) Checks and answers if we have a custom hint that forces the 3D mode. | public static int | getInt(Object key, int defaultValue) | static boolean | is3D(String key) Checks and answers if the specified component type has 3D effects. | public static boolean | isLeftToRight(Component c) |
drawActiveButtonBorder | static void drawActiveButtonBorder(Graphics g, int x, int y, int w, int h)(Code) | | Copied from MetalUtils .
|
drawButtonBorder | static void drawButtonBorder(Graphics g, int x, int y, int w, int h, boolean active)(Code) | | Copied from MetalUtils .
|
drawDark3DBorder | static void drawDark3DBorder(Graphics g, int x, int y, int w, int h)(Code) | | |
drawDefaultButtonBorder | static void drawDefaultButtonBorder(Graphics g, int x, int y, int w, int h, boolean active)(Code) | | Modified edges.
|
drawDefaultButtonPressedBorder | static void drawDefaultButtonPressedBorder(Graphics g, int x, int y, int w, int h)(Code) | | |
drawDisabledBorder | static void drawDisabledBorder(Graphics g, int x, int y, int w, int h)(Code) | | |
drawFlush3DBorder | static void drawFlush3DBorder(Graphics g, int x, int y, int w, int h)(Code) | | Unlike MetalUtils we first draw with highlight then dark shadow
|
drawPressed3DBorder | static void drawPressed3DBorder(Graphics g, int x, int y, int w, int h)(Code) | | Copied from MetalUtils .
|
drawThinFlush3DBorder | static void drawThinFlush3DBorder(Graphics g, int x, int y, int w, int h)(Code) | | |
drawThinPressed3DBorder | static void drawThinPressed3DBorder(Graphics g, int x, int y, int w, int h)(Code) | | |
getInt | public static int getInt(Object key, int defaultValue)(Code) | | |
is3D | static boolean is3D(String key)(Code) | | Checks and answers if the specified component type has 3D effects.
|
|
|