public abstract class FieldDocModel
extends javax.swing.text.PlainDocument
javax.swing.text.AbstractDocument.AbstractElement, javax.swing.text.AbstractDocument.AttributeContext, javax.swing.text.AbstractDocument.BranchElement, javax.swing.text.AbstractDocument.Content, javax.swing.text.AbstractDocument.DefaultDocumentEvent, javax.swing.text.AbstractDocument.ElementEdit, javax.swing.text.AbstractDocument.LeafElement| Constructor and Description |
|---|
FieldDocModel() |
FieldDocModel(int width) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isAllowedCharacter(char code)
To be overridden by subclasses
|
protected boolean |
isAllowedString(java.lang.String str) |
protected boolean |
isValidInput(java.lang.String str) |
boolean |
isValidLength() |
void |
setCheckedWidth(int w) |
void |
setInputChecked(boolean b) |
void |
setWidthChecked(boolean b) |
createDefaultRoot, getDefaultRootElement, getParagraphElement, insertString, insertUpdate, removeUpdateaddDocumentListener, 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, writeUnlockpublic FieldDocModel()
public FieldDocModel(int width)
public void setCheckedWidth(int w)
public void setWidthChecked(boolean b)
public void setInputChecked(boolean b)
protected boolean isAllowedString(java.lang.String str)
protected boolean isAllowedCharacter(char code)
protected boolean isValidInput(java.lang.String str)
public boolean isValidLength()
Copyright © 2014 EsprIT-Systems. All Rights Reserved.