Package javafx.scene.control

Examples of javafx.scene.control.TextArea


    stage.setTitle("Hotel_db");
    stage.setMinHeight(500);
    stage.setMinWidth(500);
    stage.setMaximized(true);

    results = new TextArea();
    content = new HBox();

    VBox root = new VBox();
    content.setSpacing(10);
    content.setPadding(new Insets(10, 10, 10, 10));
View Full Code Here


  @Override
  public void create(List<Object> args) {
    this.setHgap(10);
    this.setVgap(10);
   
    TextArea results = (TextArea) args.get(0);
    connect = (Connection) args.get(1);
   
    Label lsearch = new Label("Staff search");
   
    Label lid = new Label("Id: ");
View Full Code Here

  @Override
  public void create(List<Object> args) {
    this.setSpacing(10);
    this.setPadding(new Insets(10, 10, 10, 10));
   
    TextArea results = (TextArea)args.get(0);
    Integer id = (Integer)args.get(1);
    String login = (String)args.get(2);
   
    Label lwelcome = new Label("Welcome, " + login + "!");
   
View Full Code Here

public class LoginPanel extends VBox implements Panel{
  final RoomSearchPanel rsearch = new RoomSearchPanel();

  @Override
  public void create(List<Object> args) {
    final TextArea results = (TextArea) args.get(0);
    final Main main = (Main) args.get(1);
    this.setSpacing(10);
    this.setPadding(new Insets(10, 10, 10, 10));
    TextField login = new TextField();
    login.setMaxWidth(200);
View Full Code Here

  @Override
  public void create(List<Object> args) {
    this.setHgap(10);
    this.setVgap(10);
   
    TextArea results = (TextArea) args.get(0);
    connect = (Connection) args.get(1);
   
    Label lsearch = new Label("Client search");
   
    Label lid = new Label("Id: ");
View Full Code Here

  @Override
  public void create(List<Object> args) {
    this.setSpacing(10);
    this.setPadding(new Insets(10, 10, 10, 10));
   
    TextArea results = (TextArea)args.get(0);
   
    rsearch.create(args);
   
    GridPane rbook = new GridPane();
    rbook.setHgap(10);
View Full Code Here

    SplitPane spCentre = new SplitPane();
    spCentre.getItems().add(classTree);
    spCentre.getItems().add(spMethodInfo);
    spCentre.setDividerPositions(0.33, 0.67);

    textAreaLog = new TextArea();
    textAreaLog.setStyle("-fx-font-family:monospace;-fx-font-size:12px");
    textAreaLog.setPrefHeight(textAreaHeight);

    log("Welcome to JITWatch by Chris Newland (@chriswhocodes on Twitter) and the AdoptOpenJDK project.\n");
View Full Code Here

    hBoxTitle.getChildren().add(btnClose);
    hBoxTitle.getChildren().add(btnRun);

    hBoxTitle.setStyle("-fx-background-color:#dddddd; -fx-padding:4px;");

    taSource = new TextArea();
    String styleSource = "-fx-font-family:monospace; -fx-font-size:12px; -fx-background-color:white;";
    taSource.setStyle(styleSource);

    taSource.textProperty().addListener(new ChangeListener<String>()
    {
      @Override
      public void changed(final ObservableValue<? extends String> observable, final String oldValue, final String newValue)
      {
        setModified(true);
      }
    });

    taSource.focusedProperty().addListener(new ChangeListener<Boolean>()
    {
      @Override
      public void changed(ObservableValue<? extends Boolean> arg0, Boolean oldValue, Boolean newValue)
      {
        if (Boolean.TRUE.equals(newValue))
        {
          setVMLanguage();
        }
      }
    });

    setTextAreaSaveCombo(taSource);

    taLineNumbers = new TextArea();
    String styleLineNumber = "-fx-padding:0; -fx-font-family:monospace; -fx-font-size:12px; -fx-background-color:#eeeeee;";
    taLineNumbers.setStyle(styleLineNumber);
    taLineNumbers.setEditable(false);
    taLineNumbers.setWrapText(true);
View Full Code Here

    splitEditorPanes.setOrientation(Orientation.HORIZONTAL);

    SplitPane splitVertical = new SplitPane();
    splitVertical.setOrientation(Orientation.VERTICAL);

    taLog = new TextArea();

    String style = "-fx-font-family:monospace; -fx-font-size:12px; -fx-background-color:white;";

    taLog.setStyle(style);
View Full Code Here

{
  private TextArea textArea;

  public SuggestionTableCell()
  {
    textArea = new TextArea();
    textArea.setWrapText(true);
    textArea.setEditable(false);

    setGraphic(textArea);
  }
View Full Code Here

TOP

Related Classes of javafx.scene.control.TextArea

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.