Examples of textProperty()


Examples of javafx.scene.control.Label.textProperty()

    }

    private Node createTitleNode() {
        Label label = new AutoHidableLabel();
        label.getStyleClass().add("form-title");
        label.textProperty().bind(fxForm.titleProperty());
        return label;
    }

    protected GridPane gridPane;
    protected int row = 0;
View Full Code Here

Examples of javafx.scene.control.Label.textProperty()

    protected FXFormNode createFXFormNode(Element element, FactoryProvider factoryProvider, String suffixId) {
        Callback<Void, FXFormNode> factory = factoryProvider.getFactory(element);
        if (factory == null) {
            logger.log(Level.WARNING, "No factory found for " + element + ", using " + factoryProvider + "\nCheck your factory provider.");
            Label label = new Label();
            return new FXFormNodeWrapper(label, label.textProperty());
        }
        FXFormNode fxFormNode = factory.call(null);
        fxFormNode.getNode().setId(element.getName() + suffixId);
        return fxFormNode;
    }
View Full Code Here

Examples of javafx.scene.control.Label.textProperty()


    private Node createTitleNode() {
        Label label = new AutoHidableLabel();
        label.getStyleClass().add("form-title");
        label.textProperty().bind(fxForm.titleProperty());
        return label;
    }

    @Override
    public String toString() {
View Full Code Here

Examples of javafx.scene.control.Label.textProperty()

    final Slider rSlider = new Slider(50, 150, 86);
    rSlider.disableProperty().bind(activateCB.selectedProperty().not());
    radius.bind(rSlider.valueProperty());
    Label rL = new Label();
    rL.textProperty().bind(new StringBinding() {
      {
        bind(rSlider.valueProperty());
      }

      @Override
View Full Code Here

Examples of javafx.scene.control.Label.textProperty()

    final Slider fmSlider = new Slider(3, 10, 5.5);
    fmSlider.disableProperty().bind(activateCB.selectedProperty().not());
    frameWidth.bind(fmSlider.valueProperty());
    Label fmL = new Label();
    fmL.textProperty().bind(new StringBinding() {
      {
        bind(fmSlider.valueProperty());
      }

      @Override
View Full Code Here

Examples of javafx.scene.control.PasswordField.textProperty()

              || (text.matches(restictTo) && (getText() == null || getText()
                  .length() < maxChars));
        }
      };
      // POJO binding magic...
      personPA.bindBidirectional(path, tf.textProperty());
      ctrl = tf;
    } else {
      final TextField tf = controlType == PasswordField.class ? new PasswordField() {
        @Override
        public void replaceText(int start, int end, String text) {
View Full Code Here

Examples of javafx.scene.control.PasswordField.textProperty()

                  || (text.matches(restictTo) && (getText() == null || getText()
                      .length() < maxChars));
            }
          };
      // POJO binding magic...
      personPA.bindBidirectional(path, tf.textProperty());
      ctrl = tf;
    }
    box.getChildren()
        .addAll(new Label(
            path
View Full Code Here

Examples of javafx.scene.control.Tab.textProperty()

                            FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("DebugView.fxml"));
                            TabPane debugView = fxmlLoader.load();
                            debugController = fxmlLoader.getController();
                            final Tab tab = new Tab(xmppSession.getDomain());
                            tab.setContent(debugView);
                            tab.textProperty().bind(title);
                            connectionListenerMap.put(tab, connectionListener);

                            final AnimationTimer animationTimer = new AnimationTimer() {
                                @Override
                                public void handle(long now) {
View Full Code Here

Examples of javafx.scene.control.TextArea.textProperty()

    public void start(Stage primaryStage) {
        TextArea textArea = new TextArea();
        WebView webView = new WebView();
        WebEngine engine = webView.getEngine();

        EventStreams.valuesOf(textArea.textProperty())
                .successionEnds(Duration.ofMillis(500))
                .subscribe(html -> engine.loadContent(html));

        SplitPane root = new SplitPane();
        root.getItems().addAll(textArea, webView);
View Full Code Here

Examples of javafx.scene.control.TextArea.textProperty()

*/
public class TextAreaFactory implements Callback<Void, FXFormNode> {

    public FXFormNode call(Void aVoid) {
        TextArea textArea = new TextArea();
        return new FXFormNodeWrapper(textArea, textArea.textProperty());
    }

}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.