Example usage for javafx.scene.control TextField cut

List of usage examples for javafx.scene.control TextField cut

Introduction

In this page you can find the example usage for javafx.scene.control TextField cut.

Prototype

public void cut() 

Source Link

Document

Transfers the currently selected range in the text to the clipboard, removing the current selection.

Usage

From source file:com.bekwam.mavenpomupdater.MenuBarDelegate.java

public void cut() {
    if (log.isDebugEnabled()) {
        log.debug("[CUT]");
    }//from w  w  w . ja  va  2 s  .c  o  m

    TextField focusedTF = getFocusedTextField();

    focusedTF.cut();
}