javax > javax.swing > javax.swing.text > javax.swing.text.document >

Interface: javax.swing.text.Document
    javax.swing.text.Document


public interface Document


FIELDS:
static final String StreamDescriptionProperty : stream
static final String TitleProperty : title

CONSTRUCTORS:

METHODS:
void addDocumentListener(DocumentListener listener)

void addUndoableEditListener(UndoableEditListener listener)

Position createPosition(int offs)
Throws: BadLocationException

Element getDefaultRootElement()

Position getEndPosition()

int getLength()

Object getProperty(Object key)

Element[] getRootElements()

Position getStartPosition()

String getText(int offset, int length)
Throws: BadLocationException

void getText(int offset, int length, Segment txt)
Throws: BadLocationException

void insertString(int offset, String str, AttributeSet a)
Throws: BadLocationException

void putProperty(Object key, Object value)

void remove(int offs, int len)
Throws: BadLocationException

void removeDocumentListener(DocumentListener listener)

void removeUndoableEditListener(UndoableEditListener listener)

void render(Runnable r)


INHERITED METHODS:

SUBINTERFACES:
StyledDocument,





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net