public static class FacadeTextBuffer.Basic extends TextBufferDecorator implements FacadeTextBuffer
FacadeTextBuffer.Basic, FacadeTextBuffer.Guarded_forwarder, _tbuffer_rbufferEOL_CR, EOL_CRLF, EOL_LF, EOL_MACINTOSH, EOL_UNIX, EOL_WINDOWS, READ_ONLY, WRITABLELOCK_STATUS_NONE, LOCK_STATUS_READ, LOCK_STATUS_UNSUPPORTED, LOCK_STATUS_WRITE| Modifier and Type | Method and Description |
|---|---|
void |
addTextBufferListener(TextBufferListener listener)
Registers the given observer to begin receiving notifications
when changes are made to the text buffer either by an insert or
remove.
|
void |
dispose(boolean autoClosed) |
void |
removeTextBufferListener(TextBufferListener listener)
Unregisters the given observer from the notification list so
that it will no longer receive change updates.
|
void |
throwIfExpired() |
addOffsetMark, addOffsetMark, addWriteLockRequestListener, append, beginEdit, clearModified, endEdit, getChangeId, getEOLType, getLineMap, getPlatformEOLType, getTextBuffer, insert, insert, isModified, isReadOnly, read, remove, removeOffsetMark, removeToEnd, removeWriteLockRequestListener, setEOLType, setReadOnly, setTextBuffer, tryWriteLock, write, write, writeLock, writeLock, writeLockInterruptibly, writeUnlockgetChar, getChars, getLength, getLockStatus, getString, getText, readLock, readLockInterruptibly, readUnlock, tryReadLockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddOffsetMark, addOffsetMark, addWriteLockRequestListener, append, beginEdit, clearModified, endEdit, getChangeId, getEOLType, getLineMap, getPlatformEOLType, insert, insert, isModified, isReadOnly, read, remove, removeOffsetMark, removeToEnd, removeWriteLockRequestListener, setEOLType, setReadOnly, tryWriteLock, write, write, writeLock, writeLock, writeLockInterruptibly, writeUnlockgetChar, getChars, getLength, getLockStatus, getString, getText, readLock, readLockInterruptibly, readUnlock, tryReadLockpublic void dispose(boolean autoClosed)
dispose in interface FacadeTextBufferpublic void throwIfExpired()
throwIfExpired in interface FacadeTextBufferpublic void addTextBufferListener(TextBufferListener listener)
TextBufferDecoratoraddTextBufferListener in interface TextBufferaddTextBufferListener in class TextBufferDecoratorlistener - the observer to registerReadTextBuffer.readLock()public void removeTextBufferListener(TextBufferListener listener)
TextBufferDecoratorremoveTextBufferListener in interface TextBufferremoveTextBufferListener in class TextBufferDecoratorlistener - the observer to unregister