Table of Contents

Interface IDocument

Namespace
Javax.Swing.Text
Assembly
MASES.JNet.dll

.NET interface for TO BE DEFINED FROM USER

public interface IDocument

Properties

DefaultRootElement

Element DefaultRootElement { get; }

Property Value

Element

EndPosition

Position EndPosition { get; }

Property Value

Position

Length

int Length { get; }

Property Value

int

RootElements

Element[] RootElements { get; }

Property Value

Element[]

StartPosition

Position StartPosition { get; }

Property Value

Position

Methods

AddDocumentListener(DocumentListener)

void AddDocumentListener(DocumentListener arg0)

Parameters

arg0 DocumentListener

DocumentListener

AddUndoableEditListener(UndoableEditListener)

void AddUndoableEditListener(UndoableEditListener arg0)

Parameters

arg0 UndoableEditListener

UndoableEditListener

CreatePosition(int)

Position CreatePosition(int arg0)

Parameters

arg0 int

int

Returns

Position

Position

Exceptions

BadLocationException

GetProperty(object)

object GetProperty(object arg0)

Parameters

arg0 object

object

Returns

object

object

GetText(int, int)

String GetText(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

String

String

Exceptions

BadLocationException

GetText(int, int, Segment)

void GetText(int arg0, int arg1, Segment arg2)

Parameters

arg0 int

int

arg1 int

int

arg2 Segment

Segment

Exceptions

BadLocationException

InsertString(int, String, AttributeSet)

void InsertString(int arg0, String arg1, AttributeSet arg2)

Parameters

arg0 int

int

arg1 String

String

arg2 AttributeSet

AttributeSet

Exceptions

BadLocationException

PutProperty(object, object)

void PutProperty(object arg0, object arg1)

Parameters

arg0 object

object

arg1 object

object

Remove(int, int)

void Remove(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Exceptions

BadLocationException

RemoveDocumentListener(DocumentListener)

void RemoveDocumentListener(DocumentListener arg0)

Parameters

arg0 DocumentListener

DocumentListener

RemoveUndoableEditListener(UndoableEditListener)

void RemoveUndoableEditListener(UndoableEditListener arg0)

Parameters

arg0 UndoableEditListener

UndoableEditListener

Render(Runnable)

void Render(Runnable arg0)

Parameters

arg0 Runnable

Runnable