List of usage examples for javax.swing JTextField subclass-usage
From source file Java2sAutoTextField.java
public class Java2sAutoTextField extends JTextField { class AutoDocument extends PlainDocument { public void replace(int i, int j, String s, AttributeSet attributeset) throws BadLocationException { super.remove(i, j);
From source file org.openmicroscopy.shoola.util.ui.NumericalTextField.java
/**
* A text field containing only numerical value.
*
* @author Jean-Marie Burel
* <a href="mailto:j.burel@dundee.ac.uk">j.burel@dundee.ac.uk</a>
* @author Donald MacDonald
From source file org.openconcerto.erp.core.common.ui.DeviseField.java
/** * Field permettant de stocker les devises au format 2 chiffres apres la virgule sous forme de long * dans la base, utiliser un champ de type BigInt signed sous mysql bigInt unsigned --> * java.math.BigInteger bigInt signed --> java.lang.Long */ public class DeviseField extends JTextField implements EmptyObject, MutableRowItemView, Documented {
From source file FormattedTextFieldExample.java
class FormattedTextField extends JTextField { public FormattedTextField() { this(null, null, 0, null); } public FormattedTextField(String text, FormatSpec spec) {
From source file edu.ku.brc.af.ui.forms.validation.ValFormattedTextFieldSingle.java
/**
* A Single JTextField that provides for "formatted" input. The format "mask" is define in XML
* via the UIFieldFormatterMgr class. This is idea for text fields that have a standard size and a specific format (i.e. Dates)
* The mask enables the "fields" and separators to be specifically defined.
*
* Note: This has a single text Field and is usually only used for Dates.
From source file Main.java
class EmailEditor extends JTextField implements CellEditor { String value = ""; Vector listeners = new Vector(); // Mimic all the constructors people expect with text fields.
From source file EmailTree.java
class EmailEditor extends JTextField implements CellEditor { String value = ""; Vector listeners = new Vector(); // Mimic all the constructors people expect with text fields.
From source file org.lnicholls.galleon.gui.HMEConfigurationPanel.java
class PropertyText extends JTextField implements KeyListener, FocusListener { PropertyText(PropertyEditor pe) { super(pe.getAsText());
From source file pkgrenamer.Main.java
class IntTextField extends JTextField { InputContext mInputContext; IntTextField(int size) { super("", size); mInputContext = InputContext.getInstance();
From source file MainProgram.MainProgram.java
class NumericTextField extends JTextField { @Override protected Document createDefaultModel() { return new NumericDocument(); }