com.wordpress.tipsforjava.swing.text
[Java] Class ProtectedDocument.ProtectedDocumentFilter
java.lang.Object
javax.swing.text.DocumentFilter
com.wordpress.tipsforjava.swing.text.ProtectedDocument.ProtectedDocumentFilter
class ProtectedDocument.ProtectedDocumentFilter
extends DocumentFilter
|
Method Summary |
void
|
insertString(FilterBypass fb, int offset, String str, AttributeSet a)
|
private boolean
|
isInsertProtected(int start)
|
private boolean
|
isRemoveProtected(int start, int length)
|
void
|
remove(DocumentFilter.FilterBypass fb, int offset, int length)
|
void
|
replace(FilterBypass fb, int offset, int length, String str, AttributeSet a)
|
|
Methods inherited from class DocumentFilter
|
| replace, remove, insertString, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
ProtectedDocument.ProtectedDocumentFilter
ProtectedDocument.ProtectedDocumentFilter()
-
insertString
public void insertString(FilterBypass fb, int offset, String str, AttributeSet a)
-
isInsertProtected
private boolean isInsertProtected(int start)
-
isRemoveProtected
private boolean isRemoveProtected(int start, int length)
-
remove
public void remove(DocumentFilter.FilterBypass fb, int offset, int length)
-
replace
public void replace(FilterBypass fb, int offset, int length, String str, AttributeSet a)
-
Groovy Documentation