Examples of Background


Examples of org.apache.poi.hslf.model.Background

    public void test44296  () throws Exception {
        SlideShow ppt = new SlideShow(_slTests.openResourceAsStream("44296.ppt"));

        Slide slide = ppt.getSlides()[0];

        Background b = slide.getBackground();
        Fill f = b.getFill();
        assertEquals(Fill.FILL_PICTURE, f.getFillType());

        PictureData pict = f.getPictureData();
        assertNotNull(pict);
        assertEquals(Picture.JPEG, pict.getType());
View Full Code Here

Examples of org.apache.poi.hslf.model.Background

    public void test44296  () throws Exception {
        SlideShow ppt = new SlideShow(_slTests.openResourceAsStream("44296.ppt"));

        Slide slide = ppt.getSlides()[0];

        Background b = slide.getBackground();
        Fill f = b.getFill();
        assertEquals(Fill.FILL_PICTURE, f.getFillType());

        PictureData pict = f.getPictureData();
        assertNotNull(pict);
        assertEquals(Picture.JPEG, pict.getType());
View Full Code Here

Examples of org.eurekastreams.server.domain.Background

    @Test
    public void testInsert()
    {
        final long personId = 142L;
        Person person = jpaPersonMapper.findById(personId);
        Background background = new Background(person);
        jpaBackgroundMapper.insert(background);
        long backgroundId = background.getId();
        jpaBackgroundMapper.getEntityManager().clear();

        assertTrue("Inserting a Background did not get a positive id.", jpaBackgroundMapper.findById(backgroundId)
                .getId() > 0);
    }
View Full Code Here

Examples of org.openhab.binding.epsonprojector.internal.EpsonProjectorDevice.Background

        return new DecimalType(autoKeystone);
      case ASPECT_RATIO:
        AspectRatio aspectRatio = remoteController.getAspectRatio();
        return new StringType(aspectRatio.toString());
      case BACKGROUND:
        Background background = remoteController.getBackground();
        return new StringType(background.toString());
      case BRIGHTNESS:
        int brightness = remoteController.getBrightness();
        return new DecimalType(brightness);
      case COLOR:
        Color color = remoteController.getColor();
View Full Code Here

Examples of pdp.scrabble.Background

    super(Main_old.PROGRAM_NAME + " " + Main_old.PROGRAM_VERSION);
    this.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
    this.setLayout(new BorderLayout());
    this.setResizable(false);

    this.background = new Background();
    this.add(this.background);
    this.pack();
    this.progress = new InfiniteProgressPanel();
    this.setGlassPane(this.progress);
View Full Code Here

Examples of puppyeyes.engine.Background

        }};
       
       

        // Create background
        Background overworld = new Background() {{
            addFrame(new Sprite("Resources/Backgrounds/Kokiri Forest/bg.png"));
            addFrame(new Sprite("Resources/Sprites/Overlays/grass.png"));
            properties.setCollisionMask("Resources/Backgrounds/Kokiri Forest/mask.png");
            draw.setVisible(true);
            draw.setLayer(GlobalVariables.groundLayer);
            properties.setSolid(true);
        }};
        starterLevel.addBackground(overworld);



        // Create shadows
        Background overlay = new Background() {{
            //addFrame(new Sprite("Resources/Backgrounds/Kokiri Forest/shadow.png"));
            //addFrame(new Sprite("Resources/Backgrounds/Kokiri Forest/fg.png"));
            draw.setVisible(true);
            draw.setLayer(GlobalVariables.overlayLayer);
        }};
View Full Code Here

Examples of ru.autosome.commons.backgroundModel.mono.Background

    List<Double> tokens = InputExtensions.listOfDoubleTokens(s);
    if (tokens.size() == 16) {
      return new DiBackground(ArrayExtensions.toPrimitiveArray(tokens));
    } else if (tokens.size() == 4) {
      BackgroundModel monoBackground = new Background(tokens);
      return DiBackground.fromMonoBackground( monoBackground );
    } else if (tokens.size() == 1) {
      return DiBackground.fromGCContent(tokens.get(0));
    } else {
      throw new IllegalArgumentException("Background string `" + s + "` not recognized.\n" +
View Full Code Here

Examples of ru.vagrant_ai.questionmarkgame.obj.Background

    monster = new MonsterHandler(); //not a single monster, but a class controlling randomly generated monsters
    monster_controller = new MonsterWaveController();
    dispenser = new Dispenser();
    elements = new Elements();
    border = new Rectangle(-5,-5,Game.app_x+5,ground_level+47); //Bullet rectangle border
    background = new Background();
    scene_handler = new SceneHandler();
    sound_handler = new Sound();
   
    if (!Game.util_instantswitch)
      scene_handler.activateScene(SCENE.INTRO);
View Full Code Here

Examples of tripleplay.ui.Background

        protected Element<?> newSection (String text, Layout.Constraint constraint, int bgColor,
            int flags) {
            Element<?> e;
            if (useGroups) {
                Background colorBg = Background.solid(bgColor);
                SizableGroup g = new SizableGroup(new FlowLayout());
                g.addStyles(Style.BACKGROUND.is(colorBg));

                if ((flags & 1) != 0) g.add(getSizer(g, "W+", 10, 0), getSizer(g, "W-", -10, 0));
                if ((flags & 2) != 0) g.add(getSizer(g, "H+", 0, 10), getSizer(g, "H-", 0, -10));
                e = g.setConstraint(constraint);

            } else {
                Background colorBg = Background.solid(bgColor).inset(5);
                e = new Label(text).addStyles(Style.BACKGROUND.is(colorBg)).
                    setConstraint(constraint);
            }
            edges.put(text, e);
            return e;
View Full Code Here

Examples of tripleplay.ui.Background

    @Override public void wasAdded () {
        super.wasAdded();
        _root = iface.createRoot(AxisLayout.vertical().gap(0).offStretch(), stylesheet(), layer);
        _root.addStyles(Style.BACKGROUND.is(background()), Style.VALIGN.top);
        _root.setSize(width(), height());
        Background bg = Background.solid(0xFFCC99FF).inset(0, 0, 5, 0);
        _root.add(new Group(AxisLayout.horizontal(), Style.HALIGN.left, Style.BACKGROUND.is(bg)).add(
                      this.back = new Button("Back"),
                      new Label(title()).addStyles(Style.FONT.is(TITLE_FONT), Style.HALIGN.center).
                      setConstraint(AxisLayout.stretched())));
        if (subtitle() != null) _root.add(new Label(subtitle()));
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.