Example usage for javax.swing.text PlainDocument subclass-usage

List of usage examples for javax.swing.text PlainDocument subclass-usage

Introduction

In this page you can find the example usage for javax.swing.text PlainDocument subclass-usage.

Usage

From source file controller.model.ControllerPsUsuarios.java

/**
 *
 * @author Juan Camilo Giron
 */
public class ControllerPsUsuarios extends PlainDocument {

From source file org.intermine.common.swing.text.RestrictedInputDocument.java

/**
 * Document implementation that limits the characters that can be added to a
 * predefined set. The document optionally allows letters to have their case
 * changed if only one case is permitted and the letter is of the other case.
 */
public class RestrictedInputDocument extends PlainDocument {

From source file DoubleDocument.java

/**
 * Helper class. Only allows an Double value in the document.
 *
 * @author <a href="mailto:vhardy@apache.org">Vincent Hardy</a>
 * @version $Id: DoubleDocument.java 504084 2007-02-06 11:24:46Z dvholten $
 */

From source file ro.nextreports.designer.ui.sqleditor.syntax.SyntaxDocument.java

/**
 * @author Decebal Suiu
 */
public class SyntaxDocument extends PlainDocument {

    private static final Log LOG = LogFactory.getLog(SyntaxDocument.class);

From source file LengthLimitingDocument.java

/**
 * This Document restricts the size of the contained plain text to the given number of
 * characters.
 *
 * @author Thomas Morgner
 */

From source file BoundedTextField.java

class BoundedPlainDocument extends PlainDocument {
    public BoundedPlainDocument() {
        // Default constructor - must use setMaxLength later
        this.maxLength = 0;
    }

From source file NumericTextField.java

class NumericPlainDocument extends PlainDocument {
    public NumericPlainDocument() {
        setFormat(null);
    }

    public NumericPlainDocument(DecimalFormat format) {

From source file FormattedTextFieldExample.java

class BoundedPlainDocument extends PlainDocument {
    public BoundedPlainDocument() {
        // Default constructor - must use setMaxLength later
        this.maxLength = 0;
    }

From source file MainProgram.MainProgram.java

class JTextFieldLimit extends PlainDocument {

    private final int limit;

    JTextFieldLimit(int limit) {
        super();