com.threerings.opengl.gui.text
Class LengthLimitedDocument
java.lang.Object
com.threerings.opengl.gui.text.Document
com.threerings.opengl.gui.text.LengthLimitedDocument
public class LengthLimitedDocument
- extends Document
A document for use with a TextField that limits the input to a
maximum length.
|
Constructor Summary |
LengthLimitedDocument(int maxLength)
Creates a document that will limit its maximum length to the specified
value. |
| Methods inherited from class com.threerings.opengl.gui.text.Document |
addListener, addUndoableEditListener, getLength, getText, getText, getWordExtents, indexOfWordEnd, insert, lastIndexOfWordStart, remove, removeListener, removeUndoableEditListener, replace, setText |
LengthLimitedDocument
public LengthLimitedDocument(int maxLength)
- Creates a document that will limit its maximum length to the specified
value.
Copyright © 2011. All Rights Reserved.