Examples of STAGE


Examples of org.joshy.gfx.stage.Stage

        return "png";
    }


    public void execute() {
        final Stage stage = Stage.createStage();
        GridBox grid = new GridBox()
                .createColumn(20, GridBox.Align.Right)
                .createColumn(100, GridBox.Align.Left)
                ;
        final Checkbox backgroundCheckbox = new Checkbox("include background");
        grid.addControl(backgroundCheckbox);
        backgroundCheckbox.setSelected(includeBackground);
        grid.nextRow();
        final Checkbox documentBounds = new Checkbox("full document bounds");
        documentBounds.setSelected(includeDocumentBounds);
        grid.addControl(documentBounds);
        grid.nextRow();
        Button cancelButton = new Button("cancel");
        cancelButton.onClicked(new Callback<ActionEvent>() {
            public void call(ActionEvent actionEvent) throws Exception {
                stage.hide();
            }
        });
        grid.addControl(cancelButton);
        Button continueButton = new Button("continue");
        continueButton.onClicked(new Callback<ActionEvent>() {
            public void call(ActionEvent actionEvent) throws Exception {
                stage.hide();
                includeBackground = backgroundCheckbox.isSelected();
                includeDocumentBounds = documentBounds.isSelected();
                SavePNGAction.super.execute();
            }
        });
        grid.addControl(continueButton);
        stage.setContent(grid);
    }
View Full Code Here

Examples of org.openxri.pipeline.Stage

      private static final long serialVersionUID = -6171507661587195670L;

      @Override
      protected void populateItem(ListItem item) {

        Stage stage = (Stage) item.getModelObject();

        item.add(new Label("name", stage.getClass().getName()));
        item.add(new PropertiesPanel("properties", new Model(stage.getProperties())));
      }
    });
  }
View Full Code Here

Examples of sk.linhard.openair.eventmodel.Stage

   * @return Time of the next display change (time when it will be necessary to
   *  redisplay the screen again, with different information)
   * @throws ClientException
   */
  public DateTime display(DateTime aTime, StageProgramItem anItem) throws ClientException {
    Stage s = anItem.isShowChanges() ?
      getCore().getEvent().findStage(anItem.getStage()):
      getCore().getEventNewVersion().findStage(anItem.getStage());
    if (s == null) {
      throw ClientExceptionFactory.createCannotFindStage(anItem.getStage());
    }
View Full Code Here

Examples of turtle.Stage

   * <!-- end-user-doc -->
   * @generated
   */
  @Override
  public String getText(Object object) {
    Stage stage = (Stage)object;
    return getString("_UI_Stage_type") + " " + stage.getWidth();
  }
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.