Table of Contents

Class JTextPane

Namespace
Javax.Swing
Assembly
MASES.JNet.dll
public class JTextPane : JEditorPane, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
JTextPane
Implements
Inherited Members
Extension Methods

Constructors

JTextPane()

public JTextPane()

JTextPane(StyledDocument)

public JTextPane(StyledDocument arg0)

Parameters

arg0 StyledDocument

StyledDocument

JTextPane(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public JTextPane(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

CharacterAttributes

public AttributeSet CharacterAttributes { get; }

Property Value

AttributeSet

InputAttributes

public MutableAttributeSet InputAttributes { get; }

Property Value

MutableAttributeSet

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

LogicalStyle

public Style LogicalStyle { get; set; }

Property Value

Style

ParagraphAttributes

public AttributeSet ParagraphAttributes { get; }

Property Value

AttributeSet

StyledDocument

public StyledDocument StyledDocument { get; set; }

Property Value

StyledDocument

Methods

AddStyle(String, Style)

public Style AddStyle(String arg0, Style arg1)

Parameters

arg0 String

String

arg1 Style

Style

Returns

Style

Style

CreatePoolableInstance()

HPA initializer for JTextPane()

public static JTextPane CreatePoolableInstance()

Returns

JTextPane

CreatePoolableInstance(StyledDocument)

HPA initializer for JTextPane(Javax.Swing.Text.StyledDocument arg0)

public static JTextPane CreatePoolableInstance(StyledDocument arg0)

Parameters

arg0 StyledDocument

Returns

JTextPane

GetStyle(String)

public Style GetStyle(String arg0)

Parameters

arg0 String

String

Returns

Style

Style

InsertComponent(Component)

public void InsertComponent(Component arg0)

Parameters

arg0 Component

Component

InsertIcon(Icon)

public void InsertIcon(Icon arg0)

Parameters

arg0 Icon

Icon

RemoveStyle(String)

public void RemoveStyle(String arg0)

Parameters

arg0 String

String

SetCharacterAttributes(AttributeSet, bool)

public void SetCharacterAttributes(AttributeSet arg0, bool arg1)

Parameters

arg0 AttributeSet

AttributeSet

arg1 bool

bool

SetParagraphAttributes(AttributeSet, bool)

public void SetParagraphAttributes(AttributeSet arg0, bool arg1)

Parameters

arg0 AttributeSet

AttributeSet

arg1 bool

bool