| java.lang.Object com.pagosoft.plaf.PgsUtils
PgsUtils | public class PgsUtils (Code) | | |
Inner Class :public static class ShadowedIcon implements Icon | |
Method Summary | |
public static void | drawButtonBorder(Graphics g, int x, int y, int w, int h, Stroke st, Color c) | public static void | drawButtonBorder(Graphics g, int x, int y, int w, int h, Color c) | public static void | drawButtonBorder(Graphics g, int x, int y, int w, int h, int c1, int c2, Color c) | public static void | drawButtonBorder(Graphics g, int x, int y, int w, int h) | public static void | drawDefaultButtonBorder(Graphics g, int x, int y, int w, int h, boolean isRollover) | public static void | drawDisabledBorder(Graphics g, int x, int y, int w, int h) | public static void | drawGradient(Graphics g, int width, int height, Color from, Color to) | public static void | drawGradient(Graphics g, int x, int y, int width, int height, Color from, Color to) | public static void | drawGradient(Graphics g, JComponent c, String prefix) | public static void | drawGradient(Graphics g, JComponent c, String prefix1, String prefix2) | public static void | drawGradient(Graphics g, JComponent c) | public static void | drawHorizontalBumps(Graphics g, int x, int y, int width) | public static void | drawRolloverButtonBorder(Graphics g, int x, int y, int w, int h) | public static void | drawRoundRect(Graphics g, int x, int y, int w, int h) | public static void | drawRoundRect(Graphics g, int x, int y, int w, int h, int c1, int c2) | public static void | drawVerticalBumps(Graphics g, int x, int y, int height) | public static void | drawVistaBackground(Graphics g, Component b, String prefix) | public static void | drawVistaBackground(Graphics g, Component b, Color start, Color mid, Color end) | public static void | drawVistaBackground(Graphics g, int x, int y, int width, int height, Color start, Color mid, Color end) | public static void | fixHtmlDisplay(JComponent component) This method fixes the display of HTML enabled components (like JEditorPanes
and JTextPanes). | public static Icon | getDisabledButtonIcon(Image image) | public static GradientPaint | getGradientPaint(int x, int y, int width, int height, Color from, Color to) | public static Icon | getToolBarIcon(Image i) | public static boolean | hasFocus(Component component) | public static void | installAntialiasing(Graphics g) | public static boolean | isFlat(JComponent b) | public static boolean | isFlat(String id) | public static boolean | isLeftToRight(Component c) | protected static void | paintMenuItemBackground(Graphics g, AbstractButton menuItem, Color bgColor, String prefix) | public static void | regenerateBorderStroke() | public static void | uninstallAntialiasing(Graphics g) |
rolloverBorderStroke | public static Stroke rolloverBorderStroke(Code) | | |
drawButtonBorder | public static void drawButtonBorder(Graphics g, int x, int y, int w, int h, Color c)(Code) | | |
drawButtonBorder | public static void drawButtonBorder(Graphics g, int x, int y, int w, int h, int c1, int c2, Color c)(Code) | | |
drawButtonBorder | public static void drawButtonBorder(Graphics g, int x, int y, int w, int h)(Code) | | |
drawDefaultButtonBorder | public static void drawDefaultButtonBorder(Graphics g, int x, int y, int w, int h, boolean isRollover)(Code) | | |
drawDisabledBorder | public static void drawDisabledBorder(Graphics g, int x, int y, int w, int h)(Code) | | |
drawGradient | public static void drawGradient(Graphics g, int x, int y, int width, int height, Color from, Color to)(Code) | | |
drawHorizontalBumps | public static void drawHorizontalBumps(Graphics g, int x, int y, int width)(Code) | | |
drawRolloverButtonBorder | public static void drawRolloverButtonBorder(Graphics g, int x, int y, int w, int h)(Code) | | |
drawRoundRect | public static void drawRoundRect(Graphics g, int x, int y, int w, int h)(Code) | | |
drawRoundRect | public static void drawRoundRect(Graphics g, int x, int y, int w, int h, int c1, int c2)(Code) | | |
drawVerticalBumps | public static void drawVerticalBumps(Graphics g, int x, int y, int height)(Code) | | |
drawVistaBackground | public static void drawVistaBackground(Graphics g, int x, int y, int width, int height, Color start, Color mid, Color end)(Code) | | |
fixHtmlDisplay | public static void fixHtmlDisplay(JComponent component)(Code) | | This method fixes the display of HTML enabled components (like JEditorPanes
and JTextPanes).
|
getDisabledButtonIcon | public static Icon getDisabledButtonIcon(Image image)(Code) | | |
installAntialiasing | public static void installAntialiasing(Graphics g)(Code) | | |
regenerateBorderStroke | public static void regenerateBorderStroke()(Code) | | |
uninstallAntialiasing | public static void uninstallAntialiasing(Graphics g)(Code) | | |
|
|