Class NumberDocument
java.lang.Object
javax.swing.text.AbstractDocument
javax.swing.text.PlainDocument
com.inductiveautomation.factorypmi.designer.property.editors.bb.NumberDocument
- All Implemented Interfaces:
- Serializable,- Document
A text document which will reject any characters that are not digits.
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class javax.swing.text.AbstractDocumentAbstractDocument.AbstractElement, AbstractDocument.AttributeContext, AbstractDocument.BranchElement, AbstractDocument.Content, AbstractDocument.DefaultDocumentEvent, AbstractDocument.ElementEdit, AbstractDocument.LeafElement
- 
Field SummaryFields inherited from class javax.swing.text.PlainDocumentlineLimitAttribute, tabSizeAttributeFields inherited from class javax.swing.text.AbstractDocumentBAD_LOCATION, BidiElementName, ContentElementName, ElementNameAttribute, listenerList, ParagraphElementName, SectionElementNameFields inherited from interface javax.swing.text.DocumentStreamDescriptionProperty, TitleProperty
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class javax.swing.text.PlainDocumentcreateDefaultRoot, getDefaultRootElement, getParagraphElement, insertUpdate, removeUpdateMethods inherited from class javax.swing.text.AbstractDocumentaddDocumentListener, 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
- 
Constructor Details- 
NumberDocumentpublic NumberDocument()
 
- 
- 
Method Details- 
insertString- Specified by:
- insertStringin interface- Document
- Overrides:
- insertStringin class- PlainDocument
- Throws:
- BadLocationException
 
 
-