Package jltk.gui

Class Label


  • public class Label
    extends Labeled
    Label is used to show some text. events: none
    Version:
    18.05.2022
    Author:
    ms
    • Field Detail

      • fxLabel

        protected javafx.scene.control.Label fxLabel
    • Constructor Detail

      • Label

        public Label​(double pLeft,
                     double pTop,
                     double pWidth,
                     double pHeight,
                     String pText)
        Creates the label on the specified postion.
        Parameters:
        pLeft - The horizontal coordinate
        pTop - The vertical coordinate
        pWidth - The width of the label
        pHeight - The height of the label
        pText - The text of the label
      • Label

        public Label​(Window pWindow,
                     double pLeft,
                     double pTop,
                     double pWidth,
                     double pHeight,
                     String pText)
        Creates the label
        Parameters:
        pLeft - The horizontal coordinate
        pTop - The vertical coordinate
        pWidth - The width of the label
        pHeight - The height of the label
        pWindow - The window, the label should be placed
        pText - The label of the label