Examples of paintSkin()


Examples of com.sun.java.swing.plaf.windows.XPStyle.Skin.paintSkin()

            Part part = vertical ? Part.TKP_TRACKVERT : Part.TKP_TRACK;
            Skin skin = xp.getSkin(slider, part);

            if (vertical) {
                int x = (trackRect.width - skin.getWidth()) / 2;
                skin.paintSkin(g, trackRect.x + x, trackRect.y,
                               skin.getWidth(), trackRect.height, null);
            } else {
                int y = (trackRect.height - skin.getHeight()) / 2;
                skin.paintSkin(g, trackRect.x, trackRect.y + y,
                               trackRect.width, skin.getHeight(), null);
View Full Code Here

Examples of com.sun.java.swing.plaf.windows.XPStyle.Skin.paintSkin()

                int x = (trackRect.width - skin.getWidth()) / 2;
                skin.paintSkin(g, trackRect.x + x, trackRect.y,
                               skin.getWidth(), trackRect.height, null);
            } else {
                int y = (trackRect.height - skin.getHeight()) / 2;
                skin.paintSkin(g, trackRect.x, trackRect.y + y,
                               trackRect.width, skin.getHeight(), null);
            }
        } else {
            super.paintTrack(g);
        }
View Full Code Here

Examples of net.helipilot50.stocktrade.displayproject.XPStyle.Skin.paintSkin()

                default:
                  part = Part.WP_CLOSEBUTTON;
                  break;
                }
                Skin skin = xp.getSkin(this, part);
                skin.paintSkin(g, 0, 0, getWidth(), getHeight(), State.DISABLED);
              }
              else if (style == VISTA) {
                // This needs to be improved to actually paint proper Vista icons.  However, this is difficult
                // as Vista Aero package makes the buttons semi transparent.  CraigM:26/05/2008.
                target.paintIcon(this, g, 0, 0);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.