Package javafx.beans.property

Examples of javafx.beans.property.SimpleStringProperty


  public final SimpleStringProperty workflowname;
  public final SimpleObjectProperty<Date> timestamp;
  public final SimpleStringProperty adapterName;
 
  public AdapterLaunchRowModel(AdapterWfLaunchInfo  adapterWfLaunchInfo){
    workflowname= new SimpleStringProperty(adapterWfLaunchInfo.getWorkflowname());
    timestamp= new SimpleObjectProperty<Date>(adapterWfLaunchInfo.getTimeStamp());
    adapterName= new SimpleStringProperty(adapterWfLaunchInfo.getAdapterName());
  }
View Full Code Here


  public final SimpleStringProperty adapterName;
  public final SimpleStringProperty workflowInstanceIdCaller;
  public final SimpleStringProperty workflowClassCaller;
 
  public AdapterCallRowModel(AdapterCallInfo adapterCall){
    method= new SimpleStringProperty(adapterCall.getMethod());
    parameter= new SimpleStringProperty(adapterCall.getParameter());
    timestamp= new SimpleObjectProperty<Date>(adapterCall.getTimeStamp());
    adapterName= new SimpleStringProperty(adapterCall.getAdapterName());
    workflowInstanceIdCaller = new SimpleStringProperty(adapterCall.getWorkflow().getId());
    workflowClassCaller = new SimpleStringProperty(adapterCall.getWorkflow().getClassname());
  }
View Full Code Here

  public final SimpleStringProperty message;
  public final SimpleObjectProperty<Date> timestamp;
  public final SimpleStringProperty adapterName;
 
  public AdapterNotifyRowModel(AdapterWfNotifyInfo  adapterWfNotifyInfo){
    correlationId= new SimpleStringProperty(adapterWfNotifyInfo.getCorrelationId());
    message= new SimpleStringProperty(adapterWfNotifyInfo.getMessage());
    timestamp= new SimpleObjectProperty<Date>(adapterWfNotifyInfo.getTimeStamp());
    adapterName = new SimpleStringProperty(adapterWfNotifyInfo.getAdapterName());
  }
View Full Code Here

  public final WorkflowVersion version;
  public final SimpleStringProperty totalcount;
  public final WorkflowStateSummary workflowStateSummery;

  public WorkflowSummaryResultModel(WorkflowSummary workflowSummery) {
    this.totalcount = new SimpleStringProperty(""+workflowSummery.getTotalcount());
    this.version = new WorkflowVersion(workflowSummery.getClassDescription());
    this.workflowStateSummery = workflowSummery.getStateSummary();
   
  }
View Full Code Here

          TableColumn<WorkflowSummaryResultModel, String> tableColumn = new TableColumn<WorkflowSummaryResultModel, String>(workflowInstanceState.toString());
          tableColumn.setCellValueFactory(new Callback<CellDataFeatures<WorkflowSummaryResultModel, String>, ObservableValue<String>>() {
              @Override
        public ObservableValue<String> call(
                  CellDataFeatures<WorkflowSummaryResultModel, String> p) {
                return new SimpleStringProperty(
                    String.valueOf(p.getValue().workflowStateSummery.getNumberOfWorkflowInstancesWithState().get(workflowInstanceState)));
              }
            });
          tableColumn.prefWidthProperty().bind(resultTable.widthProperty().subtract(2).multiply(totalSpaceForStateColumns/WorkflowInstanceState.values().length));
      resultTable.getColumns().add(tableColumn);
View Full Code Here

    public final SimpleObjectProperty<Date> finishTime;
    public final SimpleObjectProperty<Date> lastErrorTime;
    public final SimpleStringProperty errorInfos;

  public WorkflowInstanceResultModel(WorkflowInstanceInfo workflowInstanceInfo) {
    this.id = new SimpleStringProperty(workflowInstanceInfo.getId());
    this.state = new SimpleObjectProperty<WorkflowInstanceState>(workflowInstanceInfo.getState());
    this.priority = new SimpleIntegerProperty(workflowInstanceInfo.getPriority());
    this.processorPoolId = new SimpleStringProperty(workflowInstanceInfo.getProcessorPoolId());
    this.timeout = new SimpleObjectProperty<Date>(workflowInstanceInfo.getTimeout());
   
    this.lastActivityTimestamp=new SimpleObjectProperty<Date>(workflowInstanceInfo.getLastActivityTimestamp());
    this.overallLifetimeInMs=new SimpleLongProperty(workflowInstanceInfo.getOverallLifetimeInMs());
      this.startTime=new SimpleObjectProperty<Date>(workflowInstanceInfo.getStartTime());
      this.finishTime=new SimpleObjectProperty<Date>(workflowInstanceInfo.getFinishTime());
      this.lastErrorTime=new SimpleObjectProperty<Date>(workflowInstanceInfo.getLastErrorTime());
      this.errorInfos=new SimpleStringProperty(workflowInstanceInfo.getErrorInfos());
  }
View Full Code Here

        private final SimpleIntegerProperty number;
        private final SimpleStringProperty load;

        private DeviceInfo(Integer number, Double load) {
            this.number = new SimpleIntegerProperty(number);
            this.load = new SimpleStringProperty(String.format("%6.2f", load));
        }
View Full Code Here

        private RequestInfo(Request request) {
            this(request.getArrive(), request.getServe(), request.isServed(), request.getDeviceNumber());
        }

        private RequestInfo(double arrive, double serve, boolean served, int deviceNumber) {
            this.arrive = new SimpleStringProperty(String.format("%6.2f", arrive));
            this.serve = new SimpleStringProperty(String.format("%6.2f", serve));
            this.served = served ? new SimpleStringProperty("Да") : new SimpleStringProperty("Нет");
            this.deviceNumber = new SimpleIntegerProperty(deviceNumber);
        }
View Full Code Here

        indexColumn.setCellFactory(cellFactory);
        TableColumn<Packet, String> lastPayloadTypeColumn = new TableColumn<Packet, String>("报文类型");
//        lastPayloadTypeColumn.setCellValueFactory(new PropertyValueFactory<Packet, String>("lastPayloadType"));
        lastPayloadTypeColumn.setCellValueFactory(new Callback<CellDataFeatures<Packet, String>, ObservableValue<String>>() {
            public ObservableValue<String> call(CellDataFeatures<Packet, String> p) {
                return new SimpleStringProperty(p.getValue().getLastPayload().getProtocolTypeDesc());
            }
        });
        lastPayloadTypeColumn.setMinWidth(300);
        this.getColumns().addAll(indexColumn, lastPayloadTypeColumn);
        this.setItems(data);
View Full Code Here

        properties.put("ledColor", new SimpleObjectProperty<Color>(COLOR));
        return this;
    }

    public final MatrixSegmentBuilder character(final String CHARACTER) {
        properties.put("character", new SimpleStringProperty(CHARACTER));
        return this;
    }
View Full Code Here

TOP

Related Classes of javafx.beans.property.SimpleStringProperty

Copyright © 2018 www.massapicom. 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.