Example usage for javafx.scene.control Control setTooltip

List of usage examples for javafx.scene.control Control setTooltip

Introduction

In this page you can find the example usage for javafx.scene.control Control setTooltip.

Prototype

public final void setTooltip(Tooltip value) 

Source Link

Usage

From source file:de.micromata.mgc.javafx.launcher.gui.AbstractConfigTabController.java

protected void addTooltip(Control node, String field) {
    String cmd = getModel().findCommentForProperty(field);
    if (StringUtils.isBlank(cmd) == true) {
        return;//from  w w  w . j  a va2 s  .c  om
    }
    node.setTooltip(new Tooltip(cmd));
}