Interface IDocument
.NET interface for TO BE DEFINED FROM USER
public interface IDocument
Properties
DefaultRootElement
Element DefaultRootElement { get; }
Property Value
EndPosition
Position EndPosition { get; }
Property Value
Length
int Length { get; }
Property Value
RootElements
Element[] RootElements { get; }
Property Value
- Element[]
StartPosition
Position StartPosition { get; }
Property Value
Methods
AddDocumentListener(DocumentListener)
void AddDocumentListener(DocumentListener arg0)
Parameters
AddUndoableEditListener(UndoableEditListener)
void AddUndoableEditListener(UndoableEditListener arg0)
Parameters
CreatePosition(int)
Position CreatePosition(int arg0)
Parameters
Returns
Exceptions
GetProperty(object)
object GetProperty(object arg0)
Parameters
Returns
GetText(int, int)
String GetText(int arg0, int arg1)
Parameters
Returns
Exceptions
GetText(int, int, Segment)
void GetText(int arg0, int arg1, Segment arg2)
Parameters
Exceptions
InsertString(int, String, AttributeSet)
void InsertString(int arg0, String arg1, AttributeSet arg2)
Parameters
arg0
intarg1
Stringarg2
AttributeSet
Exceptions
PutProperty(object, object)
void PutProperty(object arg0, object arg1)
Parameters
Remove(int, int)
void Remove(int arg0, int arg1)
Parameters
Exceptions
RemoveDocumentListener(DocumentListener)
void RemoveDocumentListener(DocumentListener arg0)
Parameters
RemoveUndoableEditListener(UndoableEditListener)
void RemoveUndoableEditListener(UndoableEditListener arg0)
Parameters
Render(Runnable)
void Render(Runnable arg0)