Examples of Skin


Examples of DisplayProject.XPStyle.Skin

                  break;
                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

Examples of com.badlogic.gdx.scenes.scene2d.ui.Skin

    super.render();
  }
 
  public Skin getSkin() {
        if(skin == null ) {
            skin = new Skin(Gdx.files.internal("ui/uiskin.json"));
        }
        return skin;
   
View Full Code Here

Examples of com.l2fprod.gui.plaf.skin.Skin

* @author Christopher Butler
*/
public class SkinLFResolver extends RefResolver {

    public String getRef(String plaf) {
        Skin skin = SkinLookAndFeel.getSkin();
        String skinName = skin==null? null: skin.getClass().getName();

        // redirect to the mapping for the skin, instead of the plaf itself
        String view = PlafMappingFactory.getPlafReference(skinName);
        return view==null? getDefaultRef(): view;
    }
View Full Code Here

Examples of com.ribomation.droidAtScreen.Skin

    return frame;
  }


  private void applySkin() {
    Skin skin = null;
    try {
      skin = SkinUtil.loadSkin(device.getName().toLowerCase());
        } catch (Exception ignore) {
    }
    if (skin != null) {
View Full Code Here

Examples of com.sun.java.swing.plaf.windows.XPStyle.Skin

            size = new Dimension(6, 6);
            XPStyle xp = XPStyle.getXP();
            if (xp != null) {
                boolean vertical = ((JSeparator)c).getOrientation() == SwingConstants.VERTICAL;
                Part part = vertical ? Part.TP_SEPARATOR : Part.TP_SEPARATORVERT;
                Skin skin = xp.getSkin(c, part);
                size.width = skin.getWidth();
                size.height = skin.getHeight();
            }

            if (((JSeparator)c).getOrientation() == SwingConstants.VERTICAL) {
                size.height = 0;
            } else {
View Full Code Here

Examples of com.tapestry5book.tlog.core.entities.Skin

        return assetSource.getUnlocalizedAsset(preview.getPath());
    }

    @CommitAfter
    void onActivateSkin(String name, String version) {
        blog.setSkin(new Skin(name, version));

        skinActivateMessage = messages.format("skin-aktivated", name, version);
    }
View Full Code Here

Examples of giggler.ui.swt.skin.impl.Skin

    private void createCombos(Composite composite, int style) {
       
        String items[] = new String[] {"Enabled", "Hovered", "Armed", "Disabled"};
       
        Combo combo = null;
        Skin skin = null;
       
        combo = createCombo(composite, style);
        combo.setItems(items);
        combo.select(0);
        skin = SkinFactory.apply(combo);
View Full Code Here

Examples of helma.framework.core.Skin

     * Set the skin currently being rendered, returning the previously active skin.
     * @param skin the new active skin
     * @return the previously active skin
     */
    public Skin switchActiveSkin(Skin skin) {
        Skin previousSkin = activeSkin;
        activeSkin = skin;
        return previousSkin;
    }
View Full Code Here

Examples of javafx.scene.control.Skin

    }
   
    // scan children
    if (n instanceof Control) {
      Control lControl = (Control)n;
      Skin lSkin = lControl.getSkin();
      stringBuilder.append(" skin=" + (lSkin == null ? "null" : lSkin.getClass().getSimpleName()) );
      if (lSkin instanceof SkinBase) {
        SkinBase lSkinBase = (SkinBase)lSkin;
        for (Object lChild : lSkinBase.getChildren()) {
          printHierarchy(stringBuilder, (Node)lChild, offset + 1);
        }
View Full Code Here

Examples of net.helipilot50.stocktrade.displayproject.XPStyle.Skin

                  break;
                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.