bb.gui
Class TextFieldSecure.DocumentSecure
java.lang.Object
javax.swing.text.AbstractDocument
javax.swing.text.PlainDocument
bb.gui.DocumentLimitedLength
bb.gui.TextFieldSecure.DocumentSecure
- All Implemented Interfaces:
- Serializable, Document
- Enclosing class:
- TextFieldSecure
private static class TextFieldSecure.DocumentSecure
- extends DocumentLimitedLength
Subclass of DocumentLimitedLength
which is designed for high security.
This class always uses a TextFieldSecure.ContentSecure
instance to hold its data, for the reasons described there.
It also offers a zeroOutContent
method which hooks into the corresponding ContentSecure method.
Methods inherited from class javax.swing.text.AbstractDocument |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
TextFieldSecure.DocumentSecure
private TextFieldSecure.DocumentSecure(int numberCharsMax)
- Constructor.
getContentSecure
private TextFieldSecure.ContentSecure getContentSecure()
zeroOutContent
private void zeroOutContent()
- Calls
getContentSecure
.zeroOutContent()
.