public class CIFDocument extends MaskDocument
AbstractDocument.AbstractElement, AbstractDocument.AttributeContext, AbstractDocument.BranchElement, AbstractDocument.Content, AbstractDocument.DefaultDocumentEvent, AbstractDocument.ElementEdit, AbstractDocument.LeafElementexactMatch, masklineLimitAttribute, tabSizeAttributeBAD_LOCATION, BidiElementName, ContentElementName, ElementNameAttribute, listenerList, ParagraphElementName, SectionElementNameStreamDescriptionProperty, TitleProperty| Constructor and Description |
|---|
CIFDocument()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static char |
calculateLetter(int number) |
static char |
calculateNumber(int number) |
void |
insertString(int offset,
String stringValue,
AttributeSet attributes)
Text insertion with input validations
|
static boolean |
isCIFWellFormed(String CIF)
CIF VALIDATION.
|
compareToMask, getValue, isFixedChar, isRight, setExactMatch, setValuecreateDefaultRoot, getDefaultRootElement, getParagraphElement, 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 CIFDocument()
public void insertString(int offset,
String stringValue,
AttributeSet attributes)
insertString in interface DocumentinsertString in class MaskDocumentpublic static char calculateLetter(int number)
public static char calculateNumber(int number)
public static boolean isCIFWellFormed(String CIF)
CIF - Copyright © 2016 Imatia Innovation S.L.. All rights reserved.