Examples of draw()


Examples of com.smartgwt.client.widgets.layout.VLayout.draw()

    Tab tab4 = new Tab("Custom Ribbon Style");
    tab4.setPane(getExample4());
    tabs.addTab(tab4);

    main.addMember(tabs);
    main.draw();
  }

  private Canvas getExample1() {
    VLayout layout = new VLayout(5);
    layout.setPadding(5);
View Full Code Here

Examples of com.smartgwt.client.widgets.menu.Menu.draw()

        public void onMouseDown(MouseDownEvent event) {
          GWT.log(event.getX() + "", null);
          contextMenu.setLeft(event.getX());
          contextMenu.setTop(event.getY());
          contextMenu.setVisibility(Visibility.VISIBLE);
          contextMenu.draw();
        }
      });
      checkbox.addRightButtonHandler(new RightMouseDownHandler() {

        public void onRightMouseDown(RightMouseDownEvent event) {
View Full Code Here

Examples of com.smartgwt.client.widgets.tile.TileLayout.draw()

    tile.addTile(new AttachmentTest("bbb.txt"));
    tile.addTile(new AttachmentTest("adfasdfasdfas_afasdfasdf.txt"));
    tile.addTile(new AttachmentTest("fffffffff.txt"));
    tile.addTile(new AttachmentTest("d.txt"));

    tile.draw();
  }

  private void testMessageReadingPaneHeader() {
    MessageReadingPaneHeader header = new MessageReadingPaneHeader();
    header.setWidth100();
View Full Code Here

Examples of com.sun.opengl.util.j2d.TextRenderer.draw()

    endPrimitives();
    TextRenderer textRenderer = resourceManager.getTextRenderer(font);
    textRenderer.begin3DRendering();
    applyColor();
    setTextTransformation();
    textRenderer.draw(text, 0, 0);
    textRenderer.end3DRendering();
    setTransform();
  }
  public void getTextBounds(String text, Rectangle2D bounds) {
    if (text == null) throw new IllegalArgumentException("text must not be null");
View Full Code Here

Examples of com.sun.star.awt.XGraphics.draw()

          {
            // System.out.println( "Step2" );
            XDisplayBitmap xDisplayBitmap = xDevice.createDisplayBitmap( xBitmap );
     
            com.sun.star.awt.Size aSize = xBitmap.getSize();
            xGraphics.draw( xDisplayBitmap, 0, 0, aSize.Width, aSize.Height,
                          aRect.X, aRect.Y, aRect.Width, aRect.Height );
          }

          // System.out.println( "Step3" );
          // xGraphics.drawRect( aRect.X - 1, aRect.Y - 1, aRect.Width + 2, aRect.Height + 2 );
View Full Code Here

Examples of com.thecrouchmode.graphics.Model.draw()

          shader.setUniform("shiny", cube.shinyness);
          shader.setUniform("flip", 1);
          shader.setUniform("texSampler", 0);
          shader.setUniform("matSampler", 1);
         
          cube.draw();
         
         
         
          long posttime = System.currentTimeMillis();
          long delta = posttime - time;
View Full Code Here

Examples of com.xebia.lottery.domain.aggregates.Lottery.draw()

        super(DrawLotteryCommand.class);
    }

    public void handleMessage(DrawLotteryCommand message) {
        Lottery lottery = repository.getByVersionedId(Lottery.class, message.getLotteryId());
        lottery.draw();
    }

}
View Full Code Here

Examples of components.robot.Robot.draw()

      // Se dibujan los robots
      for (int i=0; i<Simulation.getCurrent().getRobotArray().size(); i++)
      {
        Robot robot = (Robot) Simulation.getCurrent().getRobotArray().get(i);
        if ( robot.isVisible()  &&  robot.getStatus() == Defines.STATE_ROBOT_CALIBRATED )
          robot.draw( evt.gc );
      }     

      if ( currentStep == Defines.GPS_TUNER_SET_ICONS  ||  currentStep == Defines.GPS_TUNER_SET_WALLS  ||
          (currentStep == Defines.GPS_TUNER_SET_ROBOTS  &&  Simulation.getCurrent().getType() == Defines.REAL_SIMULATION) )
      {
View Full Code Here

Examples of d3d11.core.ID3D11DeviceContext.Draw()

            immediateContext.Unmap(constBuffer, 0);
            immediateContext.VSSetConstantBuffers(0, 1, pointerToPointer(pointerTo(constBuffer)));
           
            // Set primitive topology and draw
            immediateContext.IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST);
            immediateContext.Draw(3, 0);
           
            // Present to screen
            swapChain.Present(0, 0);
          }
        });
View Full Code Here

Examples of de.eydamos.guiadvanced.util.Rectangle.draw()

            Rectangle rectangle = new Rectangle(2, 2);
            rectangle.setBackground(buttonTextures);
            rectangle.setBackgroundSize(2, 2);
            // draw upper left corner
            rectangle.setBackgroundPosition(0, 46 + offset * 20);
            rectangle.draw(xPosition, yPosition);
            // draw upper right corner
            rectangle.setBackgroundPosition(198, 46 + offset * 20);
            rectangle.draw(xPosition + width - 2, yPosition);
            // draw lower left corner
            rectangle.setBackgroundPosition(0, 64 + offset * 20);
 
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.