com.gargoylesoftware.base.util
private static class DocumentUtil.LengthLimitedDocument extends DocumentUtil.PassthroughDocument
| Field Summary | |
|---|---|
| int | maxLength_ |
| Constructor Summary | |
|---|---|
| LengthLimitedDocument(Document document, int maxLength)
Create an instance | |
| Method Summary | |
|---|---|
| void | insertString(int offset, String string, AttributeSet attributeSet) |
Parameters: document The document to wrap maxLength The maximum number of characters that can be entered into this document
UNKNOWN: Document.insertString(int,String,AttributeSet)