Package g3.project.ui

Class Editor

  • All Implemented Interfaces:
    javafx.event.EventTarget

    public final class Editor
    extends javafx.stage.Stage
    Author:
    Group 3
    • Constructor Summary

      Constructors 
      Constructor Description
      Editor​(javafx.stage.Stage ownerWindow, java.lang.String text, java.lang.String lang, java.lang.String elID, java.util.function.BiConsumer<java.lang.String,​java.lang.String> saveConsumer)
      Create a new Console.
    • Method Summary

      • Methods inherited from class javafx.stage.Stage

        alwaysOnTopProperty, close, fullScreenExitHintProperty, fullScreenExitKeyProperty, fullScreenProperty, getFullScreenExitHint, getFullScreenExitKeyCombination, getIcons, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getModality, getOwner, getStyle, getTitle, iconifiedProperty, initModality, initOwner, initStyle, isAlwaysOnTop, isFullScreen, isIconified, isMaximized, isResizable, maxHeightProperty, maximizedProperty, maxWidthProperty, minHeightProperty, minWidthProperty, resizableProperty, setAlwaysOnTop, setFullScreen, setFullScreenExitHint, setFullScreenExitKeyCombination, setIconified, setMaxHeight, setMaximized, setMaxWidth, setMinHeight, setMinWidth, setResizable, setScene, setTitle, show, showAndWait, titleProperty, toBack, toFront
      • Methods inherited from class javafx.stage.Window

        addEventFilter, addEventHandler, buildEventDispatchChain, centerOnScreen, eventDispatcherProperty, fireEvent, focusedProperty, forceIntegerRenderScaleProperty, getEventDispatcher, getHeight, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOpacity, getOutputScaleX, getOutputScaleY, getProperties, getRenderScaleX, getRenderScaleY, getScene, getUserData, getWidth, getWindows, getX, getY, hasProperties, heightProperty, hide, isFocused, isForceIntegerRenderScale, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, opacityProperty, outputScaleXProperty, outputScaleYProperty, removeEventFilter, removeEventHandler, renderScaleXProperty, renderScaleYProperty, requestFocus, sceneProperty, setEventDispatcher, setEventHandler, setForceIntegerRenderScale, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setOpacity, setRenderScaleX, setRenderScaleY, setUserData, setWidth, setX, setY, showingProperty, sizeToScene, widthProperty, xProperty, yProperty
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Editor

        public Editor​(javafx.stage.Stage ownerWindow,
                      java.lang.String text,
                      java.lang.String lang,
                      java.lang.String elID,
                      java.util.function.BiConsumer<java.lang.String,​java.lang.String> saveConsumer)
        Create a new Console.
        Parameters:
        ownerWindow - Window that owns this.
        text - Text to be edited.
        saveConsumer - Consumer that takes the language name and edited text on save.
        elID - Element ID.
        lang - Language.