Table of Contents

Class AbstractDocument

Namespace
Javax.Swing.Text
Assembly
MASES.JNet.dll
public class AbstractDocument : JVMBridgeBase<AbstractDocument>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<AbstractDocument>
AbstractDocument
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<AbstractDocument>.IsAssignableFrom(IJavaType)
JVMBridgeBase<AbstractDocument>.IsAssignableFrom<T>()
JVMBridgeBase<AbstractDocument>.Execute<T>(params T[])
JVMBridgeBase<AbstractDocument>.DynBridgeClazz
JVMBridgeBase<AbstractDocument>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

AbstractDocument()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("AbstractDocument class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AbstractDocument()

AbstractDocument(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("AbstractDocument class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AbstractDocument(params object[] args)

Parameters

args object[]

Properties

AsynchronousLoadPriority

public int AsynchronousLoadPriority { get; set; }

Property Value

int

BidiElementName

public static String BidiElementName { get; }

Property Value

String

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

ContentElementName

public static String ContentElementName { get; }

Property Value

String

DefaultRootElement

public Element DefaultRootElement { get; }

Property Value

Element

DocumentFilter

public DocumentFilter DocumentFilter { get; set; }

Property Value

DocumentFilter

DocumentListeners

public DocumentListener[] DocumentListeners { get; }

Property Value

DocumentListener[]

DocumentProperties

public Dictionary<object, object> DocumentProperties { get; set; }

Property Value

Dictionary<object, object>

ElementNameAttribute

public static String ElementNameAttribute { get; }

Property Value

String

EndPosition

public Position EndPosition { get; }

Property Value

Position

GetBidiRootElement

public Element GetBidiRootElement { get; }

Property Value

Element

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Length

public int Length { get; }

Property Value

int

ParagraphElementName

public static String ParagraphElementName { get; }

Property Value

String

RootElements

public Element[] RootElements { get; }

Property Value

Element[]

SectionElementName

public static String SectionElementName { get; }

Property Value

String

StartPosition

public Position StartPosition { get; }

Property Value

Position

UndoableEditListeners

public UndoableEditListener[] UndoableEditListeners { get; }

Property Value

UndoableEditListener[]

Methods

AddDocumentListener(DocumentListener)

public void AddDocumentListener(DocumentListener arg0)

Parameters

arg0 DocumentListener

DocumentListener

AddUndoableEditListener(UndoableEditListener)

public void AddUndoableEditListener(UndoableEditListener arg0)

Parameters

arg0 UndoableEditListener

UndoableEditListener

CreatePosition(int)

public Position CreatePosition(int arg0)

Parameters

arg0 int

int

Returns

Position

Position

Exceptions

BadLocationException

Dump(PrintStream)

public void Dump(PrintStream arg0)

Parameters

arg0 PrintStream

PrintStream

GetListeners<T>(Class)

public T[] GetListeners<T>(Class arg0) where T : IEventListener, new()

Parameters

arg0 Class

Class

Returns

T[]

T

Type Parameters

T

IEventListener

GetParagraphElement(int)

public Element GetParagraphElement(int arg0)

Parameters

arg0 int

int

Returns

Element

Element

GetProperty(object)

public object GetProperty(object arg0)

Parameters

arg0 object

object

Returns

object

object

GetText(int, int)

public String GetText(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Returns

String

String

Exceptions

BadLocationException

GetText(int, int, Segment)

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

Parameters

arg0 int

int

arg1 int

int

arg2 Segment

Segment

Exceptions

BadLocationException

InsertString(int, String, AttributeSet)

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

Parameters

arg0 int

int

arg1 String

String

arg2 AttributeSet

AttributeSet

Exceptions

BadLocationException

PutProperty(object, object)

public void PutProperty(object arg0, object arg1)

Parameters

arg0 object

object

arg1 object

object

ReadLock()

public void ReadLock()

ReadUnlock()

public void ReadUnlock()

Remove(int, int)

public void Remove(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Exceptions

BadLocationException

RemoveDocumentListener(DocumentListener)

public void RemoveDocumentListener(DocumentListener arg0)

Parameters

arg0 DocumentListener

DocumentListener

RemoveUndoableEditListener(UndoableEditListener)

public void RemoveUndoableEditListener(UndoableEditListener arg0)

Parameters

arg0 UndoableEditListener

UndoableEditListener

Render(Runnable)

public void Render(Runnable arg0)

Parameters

arg0 Runnable

Runnable

Replace(int, int, String, AttributeSet)

public void Replace(int arg0, int arg1, String arg2, AttributeSet arg3)

Parameters

arg0 int

int

arg1 int

int

arg2 String

String

arg3 AttributeSet

AttributeSet

Exceptions

BadLocationException

Operators

implicit operator Serializable(AbstractDocument)

Converter from AbstractDocument to Serializable

public static implicit operator Serializable(AbstractDocument t)

Parameters

t AbstractDocument

Returns

Serializable

implicit operator Document(AbstractDocument)

Converter from AbstractDocument to Document

public static implicit operator Document(AbstractDocument t)

Parameters

t AbstractDocument

Returns

Document