Table of Contents

Class DefaultStyledDocument

Namespace
Javax.Swing.Text
Assembly
MASES.JNet.dll
public class DefaultStyledDocument : AbstractDocument, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<AbstractDocument>
DefaultStyledDocument
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

DefaultStyledDocument()

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

public DefaultStyledDocument()

DefaultStyledDocument(Content, StyleContext)

public DefaultStyledDocument(AbstractDocument.Content arg0, StyleContext arg1)

Parameters

arg0 AbstractDocument.Content

AbstractDocument.Content

arg1 StyleContext

StyleContext

DefaultStyledDocument(StyleContext)

public DefaultStyledDocument(StyleContext arg0)

Parameters

arg0 StyleContext

StyleContext

DefaultStyledDocument(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

public DefaultStyledDocument(params object[] args)

Parameters

args object[]

Properties

BUFFER_SIZE_DEFAULT

public static int BUFFER_SIZE_DEFAULT { get; }

Property Value

int

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

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

StyleNames

public Enumeration<object> StyleNames { get; }

Property Value

Enumeration<object>

Methods

AddStyle(String, Style)

public Style AddStyle(String arg0, Style arg1)

Parameters

arg0 String

String

arg1 Style

Style

Returns

Style

Style

GetBackground(AttributeSet)

public Color GetBackground(AttributeSet arg0)

Parameters

arg0 AttributeSet

AttributeSet

Returns

Color

Color

GetCharacterElement(int)

public Element GetCharacterElement(int arg0)

Parameters

arg0 int

int

Returns

Element

Element

GetFont(AttributeSet)

public Font GetFont(AttributeSet arg0)

Parameters

arg0 AttributeSet

AttributeSet

Returns

Font

Font

GetForeground(AttributeSet)

public Color GetForeground(AttributeSet arg0)

Parameters

arg0 AttributeSet

AttributeSet

Returns

Color

Color

GetLogicalStyle(int)

public Style GetLogicalStyle(int arg0)

Parameters

arg0 int

int

Returns

Style

Style

GetStyle(String)

public Style GetStyle(String arg0)

Parameters

arg0 String

String

Returns

Style

Style

RemoveElement(Element)

public void RemoveElement(Element arg0)

Parameters

arg0 Element

Element

RemoveStyle(String)

public void RemoveStyle(String arg0)

Parameters

arg0 String

String

SetCharacterAttributes(int, int, AttributeSet, bool)

public void SetCharacterAttributes(int arg0, int arg1, AttributeSet arg2, bool arg3)

Parameters

arg0 int

int

arg1 int

int

arg2 AttributeSet

AttributeSet

arg3 bool

bool

SetLogicalStyle(int, Style)

public void SetLogicalStyle(int arg0, Style arg1)

Parameters

arg0 int

int

arg1 Style

Style

SetParagraphAttributes(int, int, AttributeSet, bool)

public void SetParagraphAttributes(int arg0, int arg1, AttributeSet arg2, bool arg3)

Parameters

arg0 int

int

arg1 int

int

arg2 AttributeSet

AttributeSet

arg3 bool

bool

Operators

implicit operator StyledDocument(DefaultStyledDocument)

public static implicit operator StyledDocument(DefaultStyledDocument t)

Parameters

t DefaultStyledDocument

Returns

StyledDocument