| java.lang.Object com.jgoodies.looks.plastic.PlasticUtils
PlasticUtils | final public class PlasticUtils (Code) | | Consists exclusively of static methods that provide convenience behavior.
author: Karsten Lentzsch version: $Revision: 1.3 $ |
Method Summary | |
static void | add3DEffekt(Graphics g, Rectangle r) | 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) | static void | drawButtonBorder(Graphics g, int x, int y, int w, int h, boolean active) | 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) | 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) | 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 returns whether we have a custom hint that forces the 3D mode. | static boolean | forceFlat(JComponent c) Checks and returns whether we have a custom hint that prevents the 3D mode. | static boolean | is3D(String keyPrefix) Checks and returns whether the specified component type has 3D effects. | static boolean | isLeftToRight(Component c) |
drawActiveButtonBorder | static void drawActiveButtonBorder(Graphics g, int x, int y, int w, int h)(Code) | | |
drawButtonBorder | static void drawButtonBorder(Graphics g, int x, int y, int w, int h, boolean active)(Code) | | |
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) | | |
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) | | |
drawPressed3DBorder | static void drawPressed3DBorder(Graphics g, int x, int y, int w, int h)(Code) | | |
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) | | |
force3D | static boolean force3D(JComponent c)(Code) | | Checks and returns whether we have a custom hint that forces the 3D mode.
Parameters: c - the component to inspect true if the given component has a 3D hint set See Also: PlasticUtils.forceFlat(JComponent) |
forceFlat | static boolean forceFlat(JComponent c)(Code) | | Checks and returns whether we have a custom hint that prevents the 3D mode.
Parameters: c - the component to inspect true if the given component has a flat hint set See Also: PlasticUtils.force3D(JComponent) |
|
|