class NewGroupDialog.JTextFieldLimit extends PlainDocument
Constructor and Description |
---|
JTextFieldLimit(int limit) |
JTextFieldLimit(int limit,
boolean upper) |
Modifier and Type | Method and Description |
---|---|
void |
insertString(int offset,
String str,
AttributeSet attr) |
createDefaultRoot, getDefaultRootElement, getParagraphElement, insertUpdate, removeUpdate
addDocumentListener, addUndoableEditListener, createBranchElement, createLeafElement, createPosition, dump, fireChangedUpdate, fireInsertUpdate, fireRemoveUpdate, fireUndoableEditUpdate, getAsynchronousLoadPriority, getAttributeContext, getBidiRootElement, getContent, getCurrentWriter, getDocumentFilter, getDocumentListeners, getDocumentProperties, getEndPosition, getLength, getListeners, getProperty, getRootElements, getStartPosition, getText, getText, getUndoableEditListeners, postRemoveUpdate, putProperty, readLock, readUnlock, remove, removeDocumentListener, removeUndoableEditListener, render, replace, setAsynchronousLoadPriority, setDocumentFilter, setDocumentProperties, writeLock, writeUnlock
JTextFieldLimit(int limit)
JTextFieldLimit(int limit, boolean upper)
public void insertString(int offset, String str, AttributeSet attr) throws BadLocationException
insertString
in interface Document
insertString
in class PlainDocument
BadLocationException
Copyright ? 2017. All Rights Reserved.