Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/francy/js/packages/francy/src/render/   (GAP Algebra Version 4.15.1©)  Datei vom 17.3.2023 mit Größe 1 kB image not shown  

Quelle  frame-output.js   Sprache: JAVA

 

import {Decorators, Logger, Renderer} from 'francy-core';

/**
 * The {Message} holds the messages for the current Graphics.
 *
 * @access private
 */

export default class OutputFrame extends Renderer {

  constructor({appendTo, callbackHandler}, context) {
    super({appendTo: appendTo, callbackHandler: callbackHandler}, context);
  }

  @Decorators.Data.requires('output')
  async render() {
    const outputId = `Output-${this.context.instanceId}`;
    this.element = d3.select(`div#${outputId}`);

    // check if the output element is already present
    if (!this.element.node()) {
      // create a html element detached from the DOM!
      Logger.debug(`(${this.context.instanceId}) Creating Output [${outputId}]...`);
      this.element = this.parent.append('div').classed('francy-output', true).attr('id', outputId);
      this.element.append('span').classed('francy-output-header', true).text('GAP Output');
    }

    this.element.append('span').classed('francy-output-value', true).text(this.data.output);

    Logger.debug(`(${this.context.instanceId}) Output updated [${outputId}]...`);

    return this;
  }

}

Messung
CHZG
861009593

¤ Dauer der Verarbeitung: 0.6 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover


Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.